Hi
I'm a new comer to this list and just now i statred to work around EJB.
I went thru the sun's EJB tutorial.According to tutorial,the client will do the
follwoing tasks.
1.Locate the Home Interface
2.Create an Exterprise Bean Instance
3.Invoke a Business Method.
###########
I did some RMI programming but in RMI client i have mentioned IP address.
For Example obj = (Hello)Naming.lookup("//129.149.126.114/HS1");
################

I have a basic doubt in STEP 1.
How the client will locate HomeInterface?
=====================================
My Code(Part of the Client program)
      // Create A Demo object, in the server
      // Note: the name of the class corresponds to the JNDI
      // property declared in the DeploymentDescriptor
      // From DeploymentDescriptor ...
      // beanHomeName              demo.DemoHome
      Context ctx          = getInitialContext();
      DemoHome dhome = (DemoHome) ctx.lookup("demo.DemoHome");
=======================================
 Let us assume my client  and EJB servers are in different machine.
If you say lookup("demo.DemoHome"), then how the client will identify the EJB
server's IP address.

Any explanation will be highly appreciated.


                Thank you
                Saminathan Seerangan
                510-574-7898

===========================================================================
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".

Reply via email to