Shreedhar, Sanjeev,

The EJB 1.1 spec did not explain relationship semantics and
how they should be implemented. However, our (EJB 1.1)Container
does support relationships in pretty much the same way that the
2.0 spec defines the relationship semantics. Take a look at:
http://www.borland.com/techpubs/books/appserver/appserver45/ejb-programmers/entity-beans.html#999808
for more details.

-krish

> -----Original Message-----
> From: A mailing list for Enterprise JavaBeans development
> [mailto:[EMAIL PROTECTED]]On Behalf Of shreedhar
> Sent: Wednesday, March 06, 2002 6:36 AM
> To: [EMAIL PROTECTED]
> Subject: Re: Can a CMP EJB be a CMP field inside another CMP EJB
>
>
> I have few similar questions. CMP 1.1 is version what I use. Please answer
> this questions with CMP 1.1 perspective
>
> 1) How do you exactly classify Entity Beans as Fine Grained - Coarse
> Grained. I see very much confusing definitions from various sites. Dependent
> Objects adds to this confusion.
>
> 2) As per my understanding Address is a dependent Object. Why not we
> implement it as an Entity Bean. I guess all the application server has
> various optimizations when it comes to communication between Co-Located
> Entity Beans.
>
> 3) I was goin thru AggregateEntity Pattern. I guess the pattern was
> introduced without assuming various optimization done by the App. Servers.
> The pattern directs to use a Coarse Grained Object composed of various Fine
> Grained Object. And the Aggregate Entity(EJB) will have Coarse Grained
> Object as one of its instance(one of strategy). In this case how will I map
> the Coarse Grained Object to the persistence Schema.
>
>
>
>
>
>
>
>
>
>
> -----Original Message-----
> From: Ashwani Kalra [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, March 05, 2002 2:12 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Can a CMP EJB be a CMP field inside another CMP EJB
>
>
> Looks some design problem. Fine grained objects such as address whose life
> cycle is dependent on other ejb. They are better implemented as dependent
> objects.
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Cheers
> Ashwani Kalra
> Sr. Mem. Dev. Staff
> Aithent Technologies
> India
> http://www.geocities.com/ashwani_kalra/
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
>
>
>
>
>
>
> -----Original Message-----
> From: A mailing list for Enterprise JavaBeans development
> [mailto:[EMAIL PROTECTED]]On Behalf Of Sanjeev Verma
> Sent: Tuesday, March 05, 2002 1:20 PM
> To: [EMAIL PROTECTED]
> Subject: Can a CMP EJB be a CMP field inside another CMP EJB
>
>
> Hi all
>
> lets say we have two CMP EJBs (1.1 spec), Person and Address.
>
> 1. Can the person EJB have a cmp field as Address EJB? (In EJB 1.1)
>         2. If yes, what will be the create statement for the table that will
> hold
> the person data look like. I basically mean to ask the data type of the
> Address column.
> 3. If this was with reference to EJB 2.0, can I still have point 1? I DO NOT
> mean/want to use <cmr-field>.
>
> Thanx
>
> Sanjeev
>
> ===========================================================================
> 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".
>
>

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