I have created an Effective Java - 1 Companion (ready reckoner, if you will) at: GlassFish Wiki.
I will be enhancing it in the days to come and invite you to participate in related Wiki to improve the correctness of the text.
Ryan de Laplante asked me to blog about this intricate issue of passwords for GlassFish administration.
In GlassFish V1 and V2, a JMX Connector Server is always available out of the box.
I have created these two screen-casts explaining this feature.
Please watch/listen to them at:
You will need QuickTime Player installed.
I use NetBeans. I like it. I encourage people to use it.
But I am not happy about their handling of "Open Project ..." Dialog.
Java provides a way to add a shutdown hook that will be called during the VM's exit sequence and semantics of that are clearly defined in the Javadoc here.
The Javadoc clearly instructs If the virtual machine aborts then no guarantee can be made about whether or not any shutdown ho
It is suggested that the preferrred way of creating the
information for a Java package, such that the javadoc tool recognizes it as such, while creating
the javadoc documentation.
I decided to take this advice and immediately landed into problem of inconsistency with it.
We have been requested to use static imports sparingly. I like that advice. Use your judgment to actually use this support.
But frankly, articles, presentations I have seen use the stdout, the "out" field of java.lang.System as imported statically.