dear Narendra, This definition from Mikalai study guide
The interface used by a remote client of a session bean is implemented by the container as a remote business interface (or a remote EJBObject interface), and the remote client view of a session bean is location-independent. A client running in the same JVM as the session object uses the same API as a client running in a different JVM on the same or different machine.
Use of a session bean's local business interface(s) or local interface entails the collocation of the local client and the session. The local client of an enterprise bean must be collocated in the same container as the bean. The local client view IS NOT location-independent.
I think that mean we can call or implements the Remote interface from another PC but the question how we can do it.
Thanks for you replay Narendra. [ April 08, 2008: Message edited by: Moayad Abu Jaber ]
Here is an example for you to understand the concept:
The EJB bean
The remote interface
The jboss.xml file (for the binding JNDI)
The J2SE client
Hope it helps,
SCJP5 | SCBCD5 | SCEA5 Part 1
Moayad Abu Jaber
Joined: Jan 15, 2008
hi Beno�t de CHATEAUVIEUX, Sure you help me, that's what i ask about it exactly. please you can give me the source, cause the EJB 3.0 fifth edition O'Reilly didn't talk about that. That same what I guessed we need to call it from JNDI.