[jboss-user] [EJB 3.0] - Re: java:com/env not working?

waynebaylor do-not-reply at jboss.com
Sat Dec 1 21:20:11 EST 2007


yep, but you have to put it there first :) you can use ejb-jar.xml and jboss.xml to accomplish this. 

ejb-jar.xml defines the lookup string (the bold part): java:comp/env/ejb/MyBean

jboss.xml will map this lookup string the global jndi name of the bean.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4109592#4109592

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4109592



More information about the jboss-user mailing list