HI Paolo,
For invoking an EJB in an Orion server from a servlet/Jsp in a different
Orion instance you don't need at all to code nothing (jndi properties) in
your servlet/JSP.
Simply:
1)You have to add your ejb server in rmi.xml of the invoker Orion.
An example:
server host=yourEJBHost
Hello Paolo,
Thank you for help. It work well. Surprise is that, On remote
machine I have only three class
1. remote Interface
2. Home interface
3. Client Class.
When I executed the Client class, It is working fine even WITHOUT
applicationi-client.xml.
Please
ciao
i used to access a remote ejb from a servlet.
put the home and remote in the -cp java option
java -cp .\orion.jar;.yourhomeremote
com.evermind.server.ApplicationServer
code like this.
the servlet:
import javax.servlet.*;
import javax.servlet.http.*;
import java.io.*;
import
Hi all,
that is really good question as I am trying to make it running second day.
Documentation says NOTHING about it or, at least I don't know where to
search.
If anybody could help it would be really great.
...or, at least share your experience concerning that point.
thank you.
ciao
you hato do code somethibg like this:
import addressbook.ejb.*;
import javax.ejb.*;
import java.rmi.*;
import javax.rmi.PortableRemoteObject;
import javax.naming.*;
import java.util.*;
import java.net.*;
public class AddressBookClient extends java.lang.Object {
public