[jboss-dev-forums] [Design of EJB 3.0] - Re: Kill Default Remote Binding if 1+ @RemoteBinding is spec
jaikiran
do-not-reply at jboss.com
Fri Oct 24 03:31:40 EDT 2008
"jaikiran" wrote :
| From what i had seen this far, if @RemoteBinding was specified, the the default binding would not be done. Let me give this a try again and see if i am mistaken.
|
For this bean:
|
| @Stateless
| @Remote (UserManagerRemote.class)
| @RemoteBinding (jndiBinding = "RemoteUserManagerBean")
| public class UserManagerBean implements UserManagerLocal, UserManagerRemote {
deployed in ZEJB3Persistence.ear, this is what i see in JNDIView
+- ZEJB3Persistence (class: org.jnp.interfaces.NamingContext)
| | +- UserManagerBean (class: org.jnp.interfaces.NamingContext)
| | | +- local-org.myapp.ejb.UserManagerLocal (class: Proxy for: org.myapp.ejb.UserManagerLocal)
| | | +- remote-org.myapp.ejb.UserManagerRemote (class: Proxy for: org.myapp.ejb.UserManagerRemote)
| +- RemoteUserManagerBean (class: Proxy for: org.myapp.ejb.UserManagerRemote)
So i don't see that when the @RemoteBinding is specified, the Default binding too is done. I am on JBoss-5 CR2. I haven't tested this on Trunk.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4184376#4184376
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4184376
More information about the jboss-dev-forums
mailing list