A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
The Java EE 7 Tutorial Volume 1 or Volume 2
this week in the
jQuery UI in Action
EJB and other Java EE Technologies
How to get jndi lookup names programmatically
Joined: Apr 27, 2006
Nov 29, 2007 01:19:00
jndi how can I get the jndi hierarchy objects that the jndi repository contains
Joined: Apr 14, 2004
Nov 29, 2007 02:34:00
You will have to walk through the JNDI tree from the root context. Have a look at the methods available to you from java.naming.Context.
Alternatively, since this is JBoss, you can call the MBean it supplies to provide its own JNDI view - the service is JNDIView I think.
[ November 29, 2007: Message edited by: Paul Sturrock ]
rocket mass heater
subject: How to get jndi lookup names programmatically
JNDI for database
JNDI in tomcat
mysql in embedded tomcat - JNDI?
JNDI not creating for EJB Local interfaces example
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014