[jboss-dev-forums] [Design of POJO Server] - Re: [jboss-metadata] EJB mappedName as a Base?

ALRubinger do-not-reply at jboss.com
Mon Jul 14 22:30:28 EDT 2008


"scott.stark at jboss.org" wrote : I think it should be the base jndi name, the equivalent of the jboss.xml jndi-name. 

jboss.xml jndi-name isn't a base..?

If the mappedName is a base name, then we can't bind anything directly to it.  It'd be misleading for a bean provider to say "mappedName=MyBean" and then have to access "MyBean/remote".  So mappedName should be similar to our @RemoteBinding handling, no?

Carlo and I discussed this earlier, where mapped-name/jndi-name directly specify remote business binding, and all others use the default base. So given "mapped-name=MyBean" and a BasicJndiBindingPolicy:

Default Remote Business Interface: "MyBean"
Remote Home: "ear/jar/ejb-name/home"
Remote Specific Business Interface: "ear/jar/ejb-name/remote-interfaceName"

S,
ALR

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

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



More information about the jboss-dev-forums mailing list