How do I add a url to be looked up via jndi to jboss?
I've seen lots of documentation on how to add a datasource but how do I add a url.
In other words, I wish to do a jndi lookup inside a bean which will return a url defined globally (on the jboss server) as with a datasource lookup.
This is to acquire property files and such like.
Thanks.
bind() method in JNDI API