Discussion Locked

Program in Visual J++ or Visual Basic?

0 helpful
8 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
What type of application and environment is Visual Java ++ best used for? What type of application and environment is Visual Basic best used for? Both in relation to accessing MS Access, MS SQL Server, or Sybase Adaptive Server Anywhere databases in a Networked environment. There will be possible internet access to databases in the future.

8 replies

by michealirwin

I'm afraid that this may not be any help, but ...

VJ++ appears to be "going away", as MS introduce C#. VB6 is, if the opinions of VB programmers is to be listened to, morphing into something more like C++ !

Maybe you would consider adding Delphi to your list. It can produce apps that are as fast or faster than VB ones, pretty much as down-to-the-metal as C++, and has a variety of ways of getting at databases.

by janis

Helped in deciding if we should use J++ or VB6 in any future programming projects.

by albert franco ii

Java in general is used on the server side and for producing applets which are sent by a server to a client for execution on the client side. Done correctly applets are platform independant. That is they will run on Windows, Mac, Unix, etc.

Visual Basic is a client side language. I don't know of any serious programmer that would put a VB application on the server. It is also MS Windows specific. VB is also based on an interpreted language which means that each line of source code is translated into what the computer can understand at the moment it is used. This is slow. Recent versions of VB have used tricks to move away from interpretation and towards compiled (pre-translated) applications. But MS, known for their twisting of definitions, has only partially eliminated the interpretation steps.

Java on the server is compiled, and therfor pretty fast. Java on the client is interpreted and slower.

As mentioned in a previous answer Delphi is an excellent alternative. It is a highly integrated mix of programming language and visual programming environment. It is truly object oriented and completely compiled. It has a learning curve comparable to VB but with the horsepower of C++. You can connect to the Dbs you mentione through BDE, ADO, OBDC, and several 3rd party components.
Delphi has a sister named Kylix which allows your code to work with some modification on linux machines, too.

One other factor to consider is the future. MS seems to be moving us in the direction of subscription or leased software with their XP and .net initiative (C# or C-Sharp). This means that in the future your software will only work as long as you keep paying. While they play this down and are very vague when responding to questions.But it is within possibility that in order to deploy applications made with .net products both you and your client will need to have up-to-date subscriptions...

Al Franco, II
A

by albert franco ii

As far as I know you can not run a VB& program without the runtime. Because it is TOKENIZED not compiled. There are still parts which are interpreted at runtime. MS loves to twist definitions to fit their needs. And many don't know the difference.
And there are lot's of people that consider themselves serious programmers. Take a look at this article for example:
http://click.techrepublic.com/Click?q=49-ZMlcIEpvenCTKzBHc4RgcFHv. It tells of the problems of a company who hired someone who surely presented themself as serious.

A journeyman is known by his tools...

Al Franco, II
APF Creations
Pamplon, Spain

by janis

I really wanted to know if J++ was used more for internet/intranet programming versus VB6 which can not handle internet/intranet as nicely. It still helped me to know alittle more about their differences.

by amwalsh

Just want to correct a few things from another response. VB 6 is compiled, NOT an interpreted language. Earlier versions were interpreted. It does use a runtime library for many functions as do most languages. I am a serious programmer and I do use VB for server side components with no problems. With VB there is a huge resource of third party components that can save a lot of time coding. I'm not saying VB is the best choice for server side developement, but it is used. It is, in my opinion, the best tool for client applications. Another alternative on the server is ASP.

by janis

Helped me a little. Not exactly what I was looking for in an answer because it was taking issue with someone elses answer.

This discussion is closed to new replies.