[jboss-user] [EJB 3.0] - Re: Stateless and JNDI once again

peper do-not-reply at jboss.com
Tue May 15 04:57:12 EDT 2007


Sure, I've got.

Testing :
Object projectFacade = context.lookup("ProjectFacadeBean/local");

return ( projectFacade.toString() + "    " + (projectFacade instanceof facade.ProjectFacadeLocal) + (projectFacade instanceof facade.ProjectFacade) + (projectFacade instanceof ProjectFacadeBean) + "   " + projectFacade.getClass());


Returned : 

ProjectFacadeBean    falsefalsefalse   class $Proxy76


whlie JNDI console said that : 

ProjectFacadeBean (class: org.jnp.interfaces.NamingContext)
  |   +- local (proxy: $Proxy76 implements interface facade.ProjectFacadeLocal.....


I really don't understand it, and really need help.

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

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



More information about the jboss-user mailing list