Hi All,
My client application (a simple java class) is trying to access a deployed
ejb.
The code am using is -
Object ref = jndiContext.lookup("MenuDisplayBean"); // This is
the same name as given in the deployment descriptor for the bean.
// Get a reference from this to the Bean's Home interface
MenuDisplayHome home = (MenuDisplayHome)
javax.rmi.PortableRemoteObject.narrow(ref, MenuDisplayHome.class);
The following error is shown -
java.lang.NoClassDefFoundError: javax/rmi/PortableRemoteObject
The same error is shown when I tried to run the sample example provided by
the JBoss.
Any kind of suggestion is welcome.
Thanks,
Anoop.
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user