tags:

views:

336

answers:

4

I work on a medium sized development team that maintains a 8+ years old web application written in Java 1.4.

For new development I always try to convince people to adhere to newer standards and best practices, That goes from simple things like using new naming standards like HtmlImplementation over HTMLImplementation, to things like why it's better to code against an interface versus coding against concrete classes, favor immutability or object composition a over class inheritance.

I have found this rather generic link in Stackoverflow, which is not Java-oriented nor complete.

I always try to explain the rationale behind my arguments, and always suggest people buy the latest edition of Effective Java, but it's not every developer that takes my word without questioning (which is a good thing).

When that happens, they often ask me for pointers where they could read further about that specific good practice and sometimes I fail to quickly find pointers about that.

Do you have any links to online material I could gather in a "collection" of Best Practices reference, in a way I can always look that up and suggest the "further reading" to my teammates?

+2  A: 

I really don't think there's anything in the same league as Effective Java. The cost of buying a book is much smaller than the developer time spent reading it (or other material anyway) - so I would strongly recommend going for EJ rather than trying to find anything similar.

There may be an online version of Effective Java - I'm not sure.

I know this probably isn't the advice you wanted to get, but I'm that passionate about the quality of Effective Java :)

Jon Skeet
Jon, that makes two of us! I wish I could transmit that passion to other developers. Some of them bought the book, as I told, but others just seem to resist until they see the real benefit of applying those techniques. That's one of the reasons behind that question: to gather a convincing list :)
kolrie
+1  A: 

I use Sun's Java BluePrints as a source of best practices. The code samples serve as a "do it like this" standards document. The naming conventions and project conventions are must-reads.

There's some design-pattern stuff there, also, but more importantly, it's a complete "do it like this" set of examples.

S.Lott
Yes, I have seen BluePrint pages before, but that's more "patterns"-oriented, right? Still a valid entry ;)
kolrie
+2  A: 

Java Practices is a great site that I refer to often. It's been favorably compared to Joshua Bloch's Effective Java in the past, and I tend to agree.

Bill the Lizard
+2  A: 

Check out these links :

One book (that concentrates mostly on tools worth considering):

Touko
Man, that first site is awesome. Thanks a lot for that!
kolrie