"yanlong11" wrote :
| after removing binding, jndi view gives following:
| +- testBean (class: org.jnp.interfaces.NamingContext)
| | +- remote (proxy: $Proxy129 implements interface beans.test,interface
org.jboss.ejb3.JBossProxy)
|
|
If you have removed the @RemoteBinding annotation from your code and this is
what the JNDIView shows, then use the following lookup string in your jsp:
Object obj = ctx.lookup("testBean/remote");
| testBean bean = (testBean)obj;
| out.print(bean.hello());
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4120419#4120419
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4120419
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user