wood burning stoves 2.0*
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


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "access romote ejb" Watch "access romote ejb" New topic
Author

access romote ejb

nesta fdb
Greenhorn

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(
InitialContext.INITIAL_CONTEXT_FACTORY,
"org.jnp.interfaces.NamingContextFactory");
props.put(Context.URL_PKG_PREFIXES, "org.jboss.naming rg.jnp.interfaces");
props.put(InitialContext.PROVIDER_URL, "202.113.67.27:1099");
InitialContext ctx = new InitialContext(props);
Object objref = ctx.lookup("UserLoginBean");
homeuserlogin = (UserLoginHome)
PortableRemoteObject.narrow(
objref, UserLoginHome.class);
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: access romote ejb