[jboss-dev-forums] [Design of EJB 3.0] - java:comp.ejb3 versus java:comp
wolfc
do-not-reply at jboss.com
Wed Dec 20 10:37:58 EST 2006
Specs require us to have java:comp as our enc name. But currently EJB3 binds all entries under java:comp.ejb3. How are we going to fix this?
In org.jboss.naming.NamingService org.jboss.naming.ENCFactory is bound under java:comp. This is a per classloader enc ObjectFactory.
In org.jboss.ejb3.EJB3Deployer org.jboss.ejb3.ThreadLocalENCFactory is bound under java:comp.ejb3. This is a per thread enc ObjectFactory.
I was thinking about creating a new ObjectFactory which delegates to either one of them and binding it in the EJB3Deployer, but that's probably nasty.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995322#3995322
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995322
More information about the jboss-dev-forums
mailing list