| Author |
Need ur suggestion: Comparison b/w VC++ and Java Interface Designing
|
matif923
Greenhorn
Joined: Mar 29, 2002
Posts: 2
|
|
AOA all, I need some ideas and opinions from all of u. Basically i am working on C++ application having C++ lib and Interface as well develop on VC++. Now we want to make this application platform independent as some of our users might have Unix and others. So could all of u please give me idea if i develop interface in Java and using C++ libraries, wat will be effect on performance and how enough Java interface designing is for desktop application as compare to VC++ interface designing. I need ur suggestion as soon as possible. Thanx for ur ideas and help. Best Regards Atif
|
 |
Thomas Smets
Ranch Hand
Joined: Dec 11, 2001
Posts: 111
|
|
Usually the so-called performance issues do not exist as such in Java. It would at worst for a properly designed app as sowly as a VB app 2 years ago ! Now the worst can be done for our app to be unable to run properly ! what you should considere is the usual tips & tricks. To name a few : Late initializationRemove unecessary references Object re-useAvoid product (make your own Custom Component, instead)Use proper Event handlingReduce as much as possible too generic code (you asked for speed not for proper design --> interfaces are slow)Avoid very large screens (like Tabbed panes) You can also use the following references Java Performance & Scalability - Volume 1 by Dov BULKA, ISBN 0-201-70429-3 @ Addison - WesleyJava Performance Tuning by Jack SHIRAZI0-596-00015-4, @ O'Reilly Hope this helps a bit. Maybe comin with more specific question I will be able to able more ? thomas,
|
Thomas Smets
Just another developper
|
 |
Nathan Pruett
Bartender
Joined: Oct 18, 2000
Posts: 4121
|
|
matif923, Please re-register with a user name that follows the JavaRanch User Name Guidelines. User names are required to be in the format "First Name" + space + "Last Name". Thanks, -Nate
|
-Nate
Write once, run anywhere, because there's nowhere to hide! - /. A.C.
|
 |
Nathan Pruett
Bartender
Joined: Oct 18, 2000
Posts: 4121
|
|
To interface between Java and C++, you'll need to read up on JNI (Java Native Interface) to make calls directly between Java and native code. You'll have to compile one version of your C++ code for each OS you plan to distribute it on. On the other hand, you could make a distributed app and have a Java client talking to a C++ server through CORBA... -Nate
|
 |
 |
|
|
subject: Need ur suggestion: Comparison b/w VC++ and Java Interface Designing
|
|
|