[jboss-dev-forums] [Design of EJB 3.0] - Re: WS EJB invocation

scott.stark@jboss.org do-not-reply at jboss.com
Wed Apr 30 16:46:59 EDT 2008


"heiko.braun at jboss.com" wrote : 
  | Currently we use the MC kernel todo a lookup by name, which uses the legacy ObjectName. 
  | 
Ok, are we comfortable as that as the lookup mechanism? We can make sure its available on the JBossEnterpriseBeanMetaData.

"heiko.braun at jboss.com" wrote : 
  | anonymous wrote : 
  |   | DeploymentScope.getEjbContainer(String ejbLink, Class businessIntf, String vfsContext) works for the ejb-name.
  |   | 
  | 
  | Does this mean I can simply use the ejb-name for ejb-link and thus resolve the corresponding container? If that's the case, then I am all set.
That is what could be used now, but the problem with resolving the name is that its not unique. If for a given ejb deployment, you use its local ejb-names this will just work.

What I also proposed was ensuring the container name was made available on the JBossEnterpriseBeanMetaData, and DeploymentScope would support lookup of the EJBContainer by that name.


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

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



More information about the jboss-dev-forums mailing list