Hi pchakraborty,
I am not sure about your email, but I suggest you try :-)
0
copy ConverterClient.jar into your client computer (192.254.11.2),
and set it into your CLASSPATH
1
in 192.254.11.1:
a j2ee -verbose
b look "name service port :-)", I suppose it is 1050
2
In your client code(which will run in 192.254.11.2), try the following :
...
Context initial = new InitialContext();
Object objref = initial.lookup("iiop://192.254.11.1:1050/<your JNDIName>");
ConverterHome home=
(ConverterHome)PortableRemoteObject.narrow(objref, ConverterHome.class);
...
Bo
Sept.12, 2000
pchakraborty wrote:
> Hi experts,pl. help..
>
> I've just downloaded and installed JDK1.3 and J2EE 1.2.1 on my NT 4.0 m/c
> and tested the Sun's example of ConverterClient on the m/c.
> my questions are :
>
> 1. I am using J2EE RI 1.2.1.after deployment it shows client code at
> http://192.254.11.1:9191/ConverterClient.jar and saved to
> e:\ejbtest\ConverterClient.jar.JNDI name given was "MyConverter".
>
> which JNDI driver (SPI) has been used by J2EE RI here??
> which naming /or directory service it has been bound to ??
>
> 2.From a client (192.254.11.2) on Win95 running JDK1.3 what I have to set
> in a Properties object to pass as a parameter to get the Initial Context so
> that it can look up
> and download whatever necessary for it to execute.??(This client can ping my
> server).
> May I get the exact lines of codes to be written (Win95 m/c and jdk1.3)
> before giving
> .. ie., how to construct the props object here......
> Context ctx = new InitialContext(props)
>
> thanks a lot in advance
>
> ===========================================================================
> > To unsubscribe, send email to [EMAIL PROTECTED] and include in the
> body
> > of the message "signoff J2EE-INTEREST". For general help, send email to
> > [EMAIL PROTECTED] and include in the body of the message "help".
>
> ===========================================================================
> 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".
===========================================================================
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".