5 Replies Latest reply: Sep 14, 2007 7:18 PM by Len Takeuchi RSS

binding to local name space at startup

Len Takeuchi Newbie

Hi,

I want to bind an object to local namespace at startup, similar to how datasources are bound to local namespace by specifying them in *ds.xml files. I know that it is possible to bind to the global namespace using JNDIBindingServiceMgr (in jboss-service.xml). Is it possible to bind to a local name in jboss-service.xml using some full path? For example, I want to be able to lookup java:jdbc/XXX in local namespace, is there some jndi-name I can specify in jboss-service.xml to bind to this? If not, can I achieve this through using a startup class or some other means?

Regards,
Len