km's blog
Effective Java - 1 Companion ...
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.
I h
GlassFish Passwords ...
Ryan de Laplante asked me to blog about this intricate issue of passwords for GlassFish administration.
How to Use JMX to Monitor JVM under GlassFish V1, V2 ...
In GlassFish V1 and V2, a JMX Connector Server is always available out of the box.
GlassFish V2: On-the-fly upgrade of a developer domain ...
I have created these two screen-casts explaining this feature.
Please watch/listen to them at:
You will need QuickTime Player installed.
Java.net, community, GlassFish, OpenSearch Search Engines, Firefox ...
A while ago, I blogged about OpenSearch plugin for Firefox-like browsers. I got interested in it and then the java.net Guru Kohsuke gave me some nice ideas about making it more generic.
NetBeans Open Project Dialog Woes ...
I use NetBeans. I like it. I encourage people to use it.
But I am not happy about their handling of "Open Project ..." Dialog.
GlassFish Issue Tracker and OpenSearch Document ...
OpenSearch is a nice specification and Firefox 2.0 has a support for it.
GlassFish is an open source project I work on. I wrote a simple GlassFish Issue Tracker Search Plugin for Firefox.
kill and kill -9
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
Should package-info.java be renamed?
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.
Static Imports -- not a clean job?
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.





