[jboss-dev-forums] [Design of EJB 3.0] - Re: Default JNDI naming scheme in EJB3.0 and possible confli

jaikiran do-not-reply at jboss.com
Sat Oct 18 08:33:09 EDT 2008


Thinking more about this, the conflict can arise even when there are 2 beans with the same classname (but different package names) in the same jar. 

Ex:

MyApp.ear/Single.jar

package org.myapp.business;
  | 
  | @Stateless
  | public class ManagerBean implements org.myapp.business.Manager {
  | 
  | }


package org.myapp.persistence;
  | 
  | @Stateless
  | public class ManagerBean implements org.myapp.persistence.Manager {
  | 
  | }



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

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



More information about the jboss-dev-forums mailing list