Click to See Complete Forum and Search --> : Is it good?


mudvayne
April 13th, 2003, 11:31 AM
Hi all,recently I got a project which is about a bank's checks interchange system, the function including print some tables by printer, read data from RS-232,and connect to a database,but not LAN ,only on a PC ,so I would like to write this project in Java,I wanna ask is it good or c++ is better? I know Java has printing functions and Java comm api can do the jobs,I just feel kind of confused, is it ok that Java to complete such a big ,complicated project ?

Linenoise
April 27th, 2003, 11:38 PM
It depends on platform you'll be running on. Regardless of what some people will lead you to think, I do not think that Java (or C++ or .Net, or or or) is THE language to use. On one hand, Java is able to run on multiple hardware/OS platforms with a single code base. On the flip side, C++ will generally be faster, since it's not an interpreted language.

Given no other information and assuming that you only run under 1 OS/CPU platform, I would go with C++. Why? Simply because you have fewer 3rd party things running underneath you. The Java engine can change, and I've seen several Java apps that break when someone installs Netscape (which uses Sun's Java, not Microsoft's).

Of course.. if you know Java better, then do it that way. You have a better chance of meeting your deadline. Also, don't forget to think about any 3rd party code you may want to use. If you decide you need to use someone else's code, then your decision could be based on pricing (you might get a Java version for free, but a C++ version from a different vendor could cost you).