Thanks for that it, substantial clarity.

1. I would like to expand a little bit further in that if the Teller EJB is
on another machine then
    would the servlet runner would find it using perhaps the following
logical location.

    home =
(TellerHome)Naming.lookup("http://www.logsys.co.uk/Examples/Teller");


> -----Original Message-----
> From: Mohamed [SMTP:[EMAIL PROTECTED]]
> Sent: Thursday, February 08, 2001 1:36 PM
> To:   [EMAIL PROTECTED]
> Subject:      Re: Servlet Runner to ejb server how ?
>
> Hi:
>
> At
>  home = (TellerHome)Naming.lookup("Teller");
> you are looking for the EJB caled Teller, TellerHome is the home of your
> bean.
>  teller = home.create();
> Here you are creating an un instance of your bean so you can use it
> calling its
> operators.
>
> Regards
> Mohamed
>
> "Rahman, Zahid" wrote:
>
> > I am trying out some examples from
> > http://www.execpc.com/~gopalan/java/ejb.html
> >
> > I have created the ebj classes and created the deployment descripter.
> > The deploymnet descriptor the way I understand it tells the EJB server
> of
> > the EJB beans details i.e. Bean name , properties
> > the database/odbc configuration etc..
> >
> > Before running the servlet runner  the EJB server obviously has to be
> > running
> > with the EJB beans loaded up from the deployment descriptors.
> >
> > Can You please tell me what I should be looking for  that says  this is
> > where the servlet runner
> > is communicating with the  EJB server.
> >
> > Regards,
> > Zahid
> >
> > ©2001, Logsys Solutions Ltd.
> > This message and any attachments is intended for the stated recipient
> only
> > and in no way constitutes a binding contractual agreement, order, or
> > commitment by Logsys Solutions Limited WHO ARE NOT TO BE BOUND BY
> ANYTHING
> > CONTAINED HEREIN. If you have received this message in error, please
> return
> > it to the sender, indicating such and then delete and destroy all copies
> in
> > your possession.
> >
> >
> ==========================================================================
> =
> > 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".

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