Microsoft has not the "Hype marketing" monopol !-)
In my opinion, Sun doesn't provide nice position on JDO vs Entity beans.

Christophe

-----Original Message-----
From: Thimo K�nig [mailto:[EMAIL PROTECTED]]
Sent: jeudi 26 septembre 2002 15:59
To: LOMBART Christophe (BUDG)
Subject: AW: OJB/JDO in a EJB context


Hi Christoph,


> I'm just wondering what is the best design pattern to used 
> OBJ in a ejb environement. I'm really interesting to receive 
> your feedback about different experiences in this area.

I am asking myself the same questions since several days. I didn't get
propositions which satisfied me. Seems nobody uses seriously OJB in a
J2EE environement ;-(
> 
> The first solution can be :  session bean wich is using 
> direclty OBJ as a persistence manager. Entity beans are 
> completly ignored in this case. Is it make sense for you ?

We already thought about this pattern too. Another problem is that there
a no remotecalls posible to the entities. So every client needs to have
his own "copy" of ValueObjects to present Trees etc. We got large Trees
an don't want do send them completely to each Client...


> The second solution can be :  BMP based on OJB like samples 
> provide with OBJ. What about the entity bean granularity ? 
> How to define relationship between business component (on the 
> entity level or OBJ level) ?

Anyway Container Managed Relations depends on C-M Persistence, so we
should handle all relations by ourselfs...

Other question why do I have to access OJB via the ODMG API? The
proprietery query interface is much nicer...

As you see I don't know much more than you do. I'm kind of disappointed
because even after reading a lot of Postings, Mails, J2EE Design
Patterns etc. I didn't find a good and simple approach or suggestion.

Regards
Thimo

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to