Curt,

Entity Beans don't really have a corollary in CORBA. Entity Beans would
potentially replace the "business objects" that were behind your CORBA
objects. They provide automatic persistence and life cycle services for
objects derived from data stores. See the archives on different ways to use
Entity Beans. There is some stuff on the wiki web on Entity Beans as well as
a nice article from Criag Larman on Entity Bean granularity at:
http://www.gemstone.com/javasuccess/index.html, the link is in the middle of
the page.

As for stateful vs. stateluss, if you had stateful CORBA objects that were
activated per client, then these would potentially map over to stateful
session beans. If you had objects that were shared by many clients, then
these are Not candidates for Stateful SB's.

Regards,

-Chris.

> -----Original Message-----
> From: Curt Smith [SMTP:[EMAIL PROTECTED]]
> Sent: Monday, March 27, 2000 1:34 PM
> To:   [EMAIL PROTECTED]
> Subject:      Design patter for: Corba service --> EJB
>
> Hi,
>
> I'm porting several corba services to EJB app server to gain
> clustering and HA features of the high end appservers.
>
> Any guidelines or tests that would indicate which of the three
> EJB types a given Corba service would best map to?
>
> - session; classic stateless corba service maps to SB nicely
>
> - stateful session; I'm gathering that this is good for a 1:1 relationship
>   between a given client and a single instance of a SSB.  SSB's become
>   problematic when more than one client attempts to use the bean???
>
>   Any rules here?  are methods sequential from multiple clients or is
>   concurrent access to same methods supported?
>
> - Entity (BMP):  This to me is an intuitive mapping from a Corba service
>   that has state (cached values).  Entities where designed to have
> multiple
>   clients accessing same instance.
>
>   Issues remain: concurrent access to same methods being sequential or
>   or is concurrent access supported?
>
>
> Can anyone direct me to a better guideline?
>
> Thanks
>
> curt
>
> --
>
> Curt Smith
> [EMAIL PROTECTED]
> (w) 404-237-1166 x182
>
> ==========================================================================
> =
> 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