Hi,
How to bind programmatically to jndi on jboss 7.1
Context.bind throws exception. What are the other ways to do it?
AFAIK programatically (directly through InitialContext) it is not possible, the JNDI is read-only. You can use management APIs to bind stuff into the Naming subsystem.