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

2007-12-02 Thread emsa
Thanks, but is this not possible to accomplish this with annotations? Currently my beans ends up in my-ear/MyBean/local (or remote) with the default behavior with simple annotations. If I want (the local) beans in java:comp/env as well I need ejb-jar.xml as well as jboss.xml? I cannot really

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

2007-12-01 Thread waynebaylor
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.jbos