I know this is like opening Pandora's box, but can someone recommend a good resource for learning Java? If you could include reasons why you recommend the book, it would be extremely helpful. Also, any resources I should avoid like the plague? (Again, can you include some reasons why?)
Thanx!




16 comments
I would like to suggest "On to Java" (ISBN-10: 0201725932) which is a great resource.
Have fun! :)
http://www.amazon.com/Thinking-Java-4th-Bruce-Ecke...
(Gets four stars on 289 reviews!!!)
Also checkout the auhtors website were you can download previous editions of the book:
http://www.mindview.net/
I've yet to read it, but I'd go with his opinion any day. I don't know how much of the basics it covers either, but you can read up about it at http://www.amazon.com/Effective-Java-Programming-L...
I agree with the Head First Java, but I also recommend Head First Servlets & JSP, by the same people. If you're going to be primarily doing server-side web applications with Java, much of the Head First Java book will be irrelevant while nearly ALL of Head First Servlets will be relevant.
FWIW When I was learning java, the primary resource I used was http://www.mindprod.com/jgloss/jgloss.html. It's a veritable treasure trove of information about the language.
I also learned an awful lot when I started working on the CFEclipse project. The nice part about that was I could trace through the code to try to understand it and fix small niggling bugs. The CFEclipse developers are more than happy to give anybody a leg up if they're trying to get to grips with the code.
The final thing I would suggest is looking into some of the embedded things people have done with Java in ColdFusion. It's almost always easier to learn something new when it's presented in the context of something you already understand.
HTH
Hewitt's book, Java for Coldfusion developers.
It's an excellent introduction to java and would
help you get us to speed on the other books
It's a good read and a great way to learn Java, especially if you do the excercises and stuff.
& Thinking in Java
Think that's pretty much it :p