• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Java vs. Visual Basic

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Ranch Hand
Posts: 898
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Ranch Hand
Posts: 15304
6
Mac OS X IntelliJ IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Bartender
Posts: 4121
IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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"... )
 
Holger Haag
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Sorry,
Holger = first name
Haag = last name
reply
    Bookmark Topic Watch Topic
  • New Topic