Hello sagar,
accessing the InitialContext of a jndi server isn't specified. Depending
on whether your server is JNDI/RMI-registry (For RMI based servers) or
JNDI/CosNaming (for IIOP based server), u will need different
properties. For server using CosNaming like j2ee-ri, process like this:
1- install the j2ee-ri on each machine.
2- start j2ee on the first machine (that act like the server). You could
also use JNDI-CostNaming directly (but i didn't test the alternative).
3- start the server on the second machine with the property
org.omg.CORBA.ORBInitialHost=%first_machine%
4- use the same property when starting clients.
/Francis.
VIJAYA SAGAR PATUR wrote:
>
> hello,
> i am having JNDI server in m/c1 and EntityBean in m/c2 and am
> writing client in m/c3
> how can i get the JNDI name?
> which protocal?
> which classes?
>
> thanks in advance
> sagar
>
> ===========================================================================
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff EJB-INTEREST". For general help, send email to
> [EMAIL PROTECTED] and include in the body of the message "help".
--
[EMAIL PROTECTED]
MATHEMA Software GmbH
N�gelsbachstra�e 25 b
91052 E r l a n g e n
D e u t s c h l a n d
Tel +49(0)9131/8903-0
Fax +49(0)9131/8903-55
http://www.mathema.de
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".