When did Java become such a widely used language?
It didn't. In industry I know a lot of firms looked at it quite a lot, then one or many of these happened:
- The cost was too high in this market
- Java was too flakey, slow, or simply the wrong language for the job
- The "Java" programmers were incompetant
- The "portable" Java code was locked to one development IDE / proprietary codebase
- The GUI is still a real bitch to program
- The JDBC drivers were flakey
I concur with angeldelamort - it's a good language for learning OO, and reasonable for JSPs, Servlets, etc... (things like PHP are generally far more performant, if "harder" to do).
We looked at it here for a while, but it just doesn't lend itself to the kind of bulk processing we do (we load and crunch tens of
millions of records per day - only a
serious Java machine will cope with that). My biggest gripe with it is the interface. Load an Oracle application, for example and the GUI performance is crappy, scrollbars don't work properly, the mouse wheel doesn't function, and it looks like crap (IMHO). And that's using the JVM it wants to use, on a powerful machine.
Java's always seemed to be one of those "nice idea"s that doesn't seem to quite come off well. Time will tell if it survives (though actually MS have moved towards a virtual-machine interpreted intermediary language with .NET).
(Oh yeah, and it doesn't support multiple inheritance, which nobody else seems to care abut, but I do - interfaces don't cut it for the stuff I get up to in C++).
Cheers,
Ref.