Looking for a Java Reference

perigrin on 2004-08-05T19:30:43

I've come back from OSCON (pictures) to start my last project for the year here at work. Half of it is mod_perl which is nice safe territory for me, the other half is a Java applet for the front end.

It's been some time since I've done *anything* in java, and I haven't done anything this ambitious ever. Does anybody know a good reference for someone who totally grok's Perl's OO and Package mechanisims into the proper mindset that produces decent (for whatever value of decent) Java?


Perl reference

Usher-Banipal on 2004-08-06T01:09:37

Good Day from the Twin Cities!

I've often found Bruce Eckel's "Thinking In Java: The Definitive Introduction to Object-Oriented Programming in the Language of the World-Wide Web" stuff to be closest in understanding to OO Perl. I think that is because he started doing his "Thinking . . ." series with C++! The Third Edition (December, 2002) is available in paperback but as I recall he's got previous editions available on his web site.

I'm right in the middle of reviewing his "Java Issues & Directions" (2 hours of streaming RealMedia)

Re:Perl reference

perigrin on 2004-08-06T22:16:40

The third edition is now available on his website, and has been installed on my Palm.

I'll give it a look see, but the last thing I want now is yet another high level intro to OO. I've always groked OO, to the point where I find it hard to understand non OO code. And the beginning seemed to be more of the same.

Nutshell

Matts on 2004-08-06T07:47:45

Just pick up a copy of Java in a Nutshell. It's incredibly terse, but that's all you'll need.

Re:Nutshell

perigrin on 2004-08-06T22:13:16

Which one? I just bought two (Java in a Nutshell, and Foundation Classes in a Nutshell) to cover *just* my applets (one new, two inherited).

Mostly I'm looking for something like Damian's OO Book, or Effective Perl. I'd like to figure out how to do things that are simple in Perl, even if they're not quite as simple in Java. Like dynmaically building objects in a method.