Christopher,

EJB 1.1 did not mandate relationships between entity beans.

However some AppServer vendors (such as us) have implemented
this in our products. Our 4.5.x version of the AppServer supports
all the relationships you would expect (one: to-one, to many,
many-to-many etc with your own preferences for navigability
as well i.e., unidirectional/bi-directional etc).

This is pretty much how the EJB 2.0 specification defines
relationships between entity beans as well. So moving to
the 2.0 specification (if and when necessary) will be a relatively
painless process.

For resources on this topic, you can check out our online
documentation at:
http://www.borland.com/techpubs/books/appserver/appserver45/ejb-programmers/entity-beans.html#999808
(in the section titled "Object relational mapping concepts"

-krish

> -----Original Message-----
> From: A mailing list for Enterprise JavaBeans development
> [mailto:[EMAIL PROTECTED]]On Behalf Of Jozsa Kristof
> Sent: Tuesday, November 27, 2001 4:24 PM
> To: [EMAIL PROTECTED]
> Subject: CMP entity bean relationships in EJB 1.1
>
>
> Ok, the subject tells most of it.. My question is, what kind of
> relationships can I build between my entity beans using an application
> server which supports EJB 1.1 but not EJB 2.0?
>
> I've seen a demonstration ('EJB Design Strategies and Performance
> Optimizations' in pdf) by Mr. Ed Roman, where he talks about a 'graph of
> related entity beans', eg. 'An Order has a Customer, which has an
> Address..'. Is such kind of relationships implementable using EJB 1.1, or
> they exists only in EJB 2.0? Can anyone show me any design pattern, basic
> example, tutorial, or any resource on that very topic?
>
> Regards,
> Christopher Jozsa
>
> --
> .Digital.Yearning.for.Networked.Assassination.and.Xenocide
>
> ===========================================================================
> 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