On Thu, 15 Jun 2000, Rickard �berg wrote:
> Hi!
>
> Jason Sando wrote:
> > Can someone please tell me where is the "ejb-interest" mailing list I'm
> > seeing references to?
>
> http://archives.java.sun.com/archives/ejb-interest.html
>
> > I'm trying to understand the "dependent objects" stuff in ejb 2.0 - it looks
> > like a lot of extra work to create the object class PLUS a client view of
> > the object class.
Hehe, I am glad I am the only one who did not understand everything in 15
minutes :-). Check out www.javaworld.com, they have a nice article on EJB2.0,
the article gives an overview and is a better starting point than the specs
itself.
This is how I understand it:
Dependent Value Objects - Standard stuff...currently in EJB 1.1
Dependent Class Objects - New stuff. Basically, object instances that can be
shared among entity beans / Dependent Class Objects. They are like beans,
excepts that their lifecycle depends on its bean.
Dependent Value Objects:
2 Persons sharing the same address would like this for a DVO setup:
Person(A) -> Address(1)
Person(B) -> Address(2)
a client can access Address directly.
Dependent Class Objects:
2 Persons sharing the same address would like this for a DCO setup:
Person(A) -> Address(1)
Person(B) -> Address(1)
Note that the Address instance is shared between the 2 Person instances. The
client however, cannot access Address in this case directly.
Anh
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]