Hi Naveen,
The EJB architecture was made the developer to develop application
very easily. In order to achieve this it is using many services from
Application server. The necessary classes required for the distributed
computing was generated by use of applcation server tools. In order to use
the services provided by container we need to access the EJBObject through
ejbhome only.
Inside the ejb architecture, the ejb home maintains the life cycle
of the bean. (Create and remove)
Remote interface looks only the business methods.
If you invoke directly ejbobject, the system was not able to track so much
information which is required.
Thanks,
Vishnu.
CTS
-----Original Message-----
From: Naveen Chandra [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 08, 2000 10:01 PM
To: [EMAIL PROTECTED]
Subject: Why client-->home-->remote in EJB
Hi EJB Gurus,
Could some please help me in clarifying my doubt here.
Why does client access an Enterprise JavaBean
by looking up the class implementing its home interface
by name through JNDI and then uses the methods
of home interface to acquire access to
an instance of the class implementing the remote interface ?
Why cannot client access the remote interface directly ?
By doing this client --> EJBHome --> EJBObject
in the EJB architecture what advantage they get ?
It seems I am fully confused now with the EJB implementaion ?
And why did they kept all business methods in the Remote interface and
create and finders in home interface. I think I may be asking
very silly questions, but it really makes me too confusing to
understand the EJB architecture and its implementaion.
Please help me to understand better the EJB architecture.
Thanks,
Naveen.
===========================================================================
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".
This e-mail and any files transmitted with it are for the sole use
of the intended recipient(s) and may contain confidential and privileged information.
If you are not the intended recipient, please contact the sender by reply e-mail and
destroy all copies of the original message. Any unauthorised review, use, disclosure,
dissemination, forwarding, printing or copying of this email or any action taken in
reliance on this e-mail is strictly prohibited and may be unlawful...
Visit us at http://www.cognizant.com
===========================================================================
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".
Re: Why client-->home-->remote in EJB
Konatham, Vishnu Prabhakar (CTS) Sat, 09 Dec 2000 03:08:12 -0800
- Why client-->home-->remote in EJB Naveen Chandra
- Re: Why client-->home-->remote... PS Neville
- Re: Why client-->home-->remote... Jasper Fontaine
- Re: Why client-->home-->remote... Konatham, Vishnu Prabhakar (CTS)
- Re: Why client-->home-->remote... EJB-INTEREST
