I know that Java is an internet language. But can it be used to write standalone programs like C/C++? What are the advantages of Java over C/C++? Is it suitable to write enterprise level standalone database applications or only for Web databases?
"As long as there are tests, there will be prayer in public <br />schools."
A good (and long) report about the speed issue: Evaluating Java for Game Development There is even a quote in it from John Carmack (ID Software) which says a lot about the usability of Java for commercial apps: "We are still working with significant chunks of an existing code base. If I did want to go off and start fresh, I would likely try doing almost everything in Java."
My company develops a set of client and server apps. They were all written in C. We now support something like 20 flavors of various Operating Systems... Windows, Mac, Sun, etc. Oh, and we support 2 generations back. it's very difficult to check in a bug fix to 20 versions x 3 generations. we are now developing a Java client that will run against on all these OS. One code base that does everything. someday, we'll re-write the servers too (if we can get enough staff). And these products have nothing to do with the Web. They're basically a kind of inventory management system.
There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors