From: darranl <nu...@jb...> - 2004-09-14 19:36:50
|
The interface that is used will depend on the home interface that is looked up. If the home interface that you lookup is the remote home interface you will use the remote interface to the bean. If the home interface that you lookup is the local interface you will use the local interface of the bean. You can test the interfaces to see if the are EJBHome / EJBLocalHome instances or EJBOBject or EJBLocalObject but the client should know which one it is using as for remote interfaces it will need to use PortableRemoteObject.narrow on the looked up interface (Although not required for JBoss PortableRemoteObject.narrow is required for J2EE apps if they are to be portable) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848212#3848212 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848212 |