Picture the EJBObject as an abstract idea rather then a physical
implementation.  Its easier to understand, and since each container vendor
can implement it however they want, its more accurate.  For instance, an
application server written in Java will implement this very differently then
say one written in C like EAServer to optimize the peformance of this
dispatching.  The point to keep in mind is that the EJBObject is the logical
implementation of the servant and acts as a glue to the physical bean
instances.

Such as an entity bean in contaienrs like EAServer which create multiple
physical instances to represent single EJBObjects, like a row in a database.
The EBJObject I find easier to think about in a logical way rather then how
did that vendor physically implement it.

Dave Wolf
Internet Applications Division
Sybase

----- Original Message -----
From: "Ashutosh" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, November 24, 2000 1:03 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".

Reply via email to