Re: Servlet/JSP and EJBs on different machines

2000-04-17 Thread crosswinds.net
Hello Montebove, may this help ... InitialContext ctx = new InitialContext();//env); logg("looking up 'User'"); Object o = ctx.lookup("User"); logg("casting ..."); Object oo = javax.rmi.PortableRemoteObject.narrow( o, UserEJBHome.class); userHom

R: Re: Servlet/JSP and EJBs on different machines

2000-04-17 Thread Montebove Luciano
ECTED] -Messaggio originale- Da: Magnus Stenman [mailto:[EMAIL PROTECTED]] Inviato: lunedì 17 aprile 2000 16.48 A: Montebove Luciano; Orion-Interest Oggetto: Re: Servlet/JSP and EJBs on different machines Add a to the rmi.xml on the "web" machine, the syntax (from the docs):

Re: Servlet/JSP and EJBs on different machines

2000-04-17 Thread Magnus Stenman
Orion team - Original Message - From: "Montebove Luciano" <[EMAIL PROTECTED]> To: "Orion-Interest" <[EMAIL PROTECTED]> Sent: Monday, April 17, 2000 4:22 PM Subject: Servlet/JSP and EJBs on different machines > Hi, > > I was able to use an EJB on a

Servlet/JSP and EJBs on different machines

2000-04-17 Thread Montebove Luciano
Hi, I was able to use an EJB on a remote machine from a client application without any problem setting the right properties into a jndi.properties file as follows: java.naming.factory.initial=com.evermind.server.ApplicationClientInitialCont extFactory java.naming.provider.url=ormi://host/applica