code to list GlassFish Server JDBC Resources
I am using Eclipse (Kepler SR2) and GlashFish Server 4.
I can lookup a known object using InitalContext lookup
Context ic = new InitialContext();
Context e = (Context) ic.lookup(
Now, how can I programmatically fetch the list of objects that I can lookup on?
I want to list all JDBC Resources using java code