Hi Thimo,

think in current CVS this class was removed or renamed (PBSessionBean?).

----- Original Message -----
From: "Thimo K�nig" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, October 30, 2002 11:27 AM
Subject: PersistenceBrokerBean


Hi,

I looked at the implementation of the PersistenceBrokerBean and asked
myself how it could be used with different repositories at the same
time? In a J2EE environment there are most likely severel applications
at the same time running who do not want to use only "one" DB?

####

1. Do the same as using EntityBeans.
Write an ArticleManagerSessionBean, manage your articles using
in repository1 (this was passed into to bean via env-entry).
Write an InvoiceManagerSessionBean, manage your invoices
using repository2 (this was passed into to bean via env-entry too).
Write an OrderManagerSessionBean using both session beans
to handle orders.

2. Write an ObjectManagerSessionBean handle all
your objects. Pass repository (or PBKey) on every method
call (bean.store(PBKey, object))

If you find other solutions, please let me know.

regards,
Armin



Any suggestions?

Thimo



------------------------------------------------------------------------
--------


> --
> To unsubscribe, e-mail:
<mailto:ojb-user-unsubscribe@;jakarta.apache.org>
> For additional commands, e-mail:
<mailto:ojb-user-help@;jakarta.apache.org>


--
To unsubscribe, e-mail:   <mailto:ojb-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:ojb-user-help@;jakarta.apache.org>

Reply via email to