Skip to main content

code to list GlassFish Server JDBC Resources

Please note these forums are being decommissioned and use the new and improved forums at
No replies
Joined: 2014-03-21

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

-srinivas y.