File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Swing / AWT / SWT and the fly likes Java vs. Visual Basic Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Java vs. Visual Basic" Watch "Java vs. Visual Basic" New topic
Author

Java vs. Visual Basic

Holger Haag
Greenhorn

Joined: Nov 12, 2001
Posts: 5
I'm new in this forum, so I apologize if this is the wrong place to ask. My background is couple of years programming in MS Visual Foxpro and two years of Java development. For a project I'm comparing a VB GUI against a Java/Swing GUI.
I'm thinking about a Client/Server application (the server written in Java/EJB/JSP) and any kind of client.
So the client can be written in Java, Visual Basic or any other Programming Environment.
I don't care if the client is platform specific or which language it is written in.
That is because the core app is the server side, which remains the same for all sites,
but the GUI is highly customized for special environments and will probably not be reused.
So the GUI could be written in Visual Basic, maybe with less time effort (this is an assumption) and
using VB programmers with VB being easier to train than Java/Swing (this is an assumption,
but at least Swing can be awfully complicated sometimes)
Let's take my scenario (this is not an assumption):
- Server-side implemented in EJB/JSP
- Client GUI:
- three sub modules
- one sub module is a tabbed pane with three tabs, two containing a Table each and one containing another tabbed pane
- the two other sub modules are wizards with about 6 masks
- client GUI can be single threaded
--> not too complicated but tricky sometimes, e.g. the Table should behave like an Excel table (easier to do in VB)
- The client talks to the server using EJB (java client) or XML/structured text delivered by JSP (non-java client)
- Computation performed on client (Plus/Minus/Multipication etc) is pretty low
- some native DLLs have to be invoked (can be done somehow in Java, but muuuuch easier in VB).
Following speed considerations:
- development time
- speed: networking (client/server communication): with Java Client RMI/IIOP with serialization is used, with VB probably some sort of HTTP request to JSP page
- speed: invocation of client DLL (VB probably faster)
- GUI response time (e.g. switching between tabs)
- computations
any comments are highly appreciated
holger
Guennadiy VANIN
Ranch Hand

Joined: Aug 30, 2001
Posts: 898
Holgerhaag,
IMHO, I think you are much more reasonable person than anyone seeing just black&white. I think you are overqualified for this site. But you are risking to be called a jerk here
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15300
    
    6

IMHO - If the same GUI app is not going to be placed on multiple platforms, then do it in something other than JAVA. I believe Java SWING is still too slow especially for your specific needs.

------------------
Happy Coding,
Gregg Bolinger


GenRocket - Experts at Building Test Data
Nathan Pruett
Bartender

Joined: Oct 18, 2000
Posts: 4121

Sounds like you need to use VB... for three reasons:

  • You need to call native DLLs...
  • You don't need it to be portable...
  • You need to use Excel tables...


  • As for the other reasons for using VB or against using Java... hecklers...

    -Nate

    P.S. - "holgerhaag" - Please read the JavaRanch Official User-Name Policy and re-register with a name that follows the guidelines ( i.e. names in the form "first name" + space + "last name"... )

-Nate
Write once, run anywhere, because there's nowhere to hide! - /. A.C.
Holger Haag
Greenhorn

Joined: Nov 12, 2001
Posts: 5
Sorry,
Holger = first name
Haag = last name
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Java vs. Visual Basic