CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: Is it good?

  1. #1
    Join Date
    Apr 2003
    Posts
    6

    Is it good?

    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 ?

  2. #2
    Join Date
    Dec 2002
    Posts
    126
    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).

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured