Hi Ashu,
You are right in concluding that the EJBObject gives a call to the Bean
implementation written by the developer. But there are a lot of other things
that need to be taken care of by the container... load and store,
synchronisation of state with database, transaction management, locating a
free bean instance , activation, and and a whole lot of other things. All
these services and a call to Bean method is what appears in the EJBObject
implementation. Since, each vendor may have its own way of doing these
things, so, we say that EJBObject implementation is vendor specific.
Shelly
----- Original Message -----
From: Ashutosh <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, November 24, 2000 11:33 AM
Subject: EJB Object implementation
> Hello all,
> I am trying to understand the concept of the EJB Object . I
> have the following question.
> I read that the EJBObject whose implementation is provided by
> the container also implements the Remote Interface.The EJB Object holds a
> reference to the Bean class. However, the Bean class provides the
> implementation for the business methods that are declared in the remote
> interface(but it does not "implement" the RI but only extends EntityBean).
> So, can i infer that EJBObject has an empty definition of the
> business methods and through these methods gives a call to the
corresponding
> methods of the bean class whenever the client invokes the method.
> I understand that the container provides the
implementation
> of the ejb object and it could be different across various containers. But
> how does it work i this case???
> Thanks.
> Regards,
> Ashutosh
>
>
===========================================================================
> 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".