Hi Forum, I am new to Jboss and J2EE so please ignore my ignorance. I have a EAR file containing EJB having a remote interface.Now i have to call this remote interface from another WAR file(this WAR is not contained in the EAR contaning EJB).Both EAR and WAR are deployed on the same JBoss Server.
I have tried to call using the JNDI lookup like FiboHome home = (FiboHome) PortableRemoteObject.narrow(ctx.lookup("java:/comp/env/ejb/Fibo"),FiboHome.class); but while calling Remote Method system is throwing exception javax.naming.NameNotFoundException: ejb not bound Is this the right way to call Remote Interface from outside EAR? If Yes,what's wrong if no ,What is the right Way ? Thanks in Advance -Newbie View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3953862#3953862 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3953862 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user