File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes EJB and other Java EE Technologies and the fly likes access romote ejb Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "access romote ejb" Watch "access romote ejb" New topic

access romote ejb

nesta fdb

Joined: May 18, 2003
Posts: 6
I deployed ejb.jar in contain a and web.war in container b, but it can't not run well. The error is "can not find remote interface 'UserLogin' Class.
Thanks in advance.
part of jsp code:
Hashtable props = new Hashtable();
props.put(Context.URL_PKG_PREFIXES, "org.jboss.naming rg.jnp.interfaces");
props.put(InitialContext.PROVIDER_URL, "");
InitialContext ctx = new InitialContext(props);
Object objref = ctx.lookup("UserLoginBean");
homeuserlogin = (UserLoginHome)
objref, UserLoginHome.class);
I agree. Here's the link:
subject: access romote ejb
It's not a secret anymore!