Hi Thimo,

----- Original Message -----
From: "Thimo K�nig" <[EMAIL PROTECTED]>
To: "OJB Users List" <[EMAIL PROTECTED]>
Sent: Wednesday, October 30, 2002 3:30 PM
Subject: AW: PersistenceBrokerBean


Hi Armin,

> Have a look in
> jakarta-ojb\src\ejb\org\apache\ojb\ejb
> there you could found all my sample beans
> and associated client classes.

correct me if I'm wrong but in your examples you are using only one
repository. The one specified in env-entry "ojb.properties".
###
right, one repository within one bean.

You may change this at runtime but you will change it for all
*ManagerPBSessionBeans, don't you?
###
yes, in the example beans you only could change this
by changing the deployment descriptor of (env-entry) the bean

Passing the PBKey calling a PBMethod doesn't make much difference than
knowing a PBBean which can handle requests to a specific repository.
###
When passing the PBKey you could handle different databases within
one bean, but you cannot handle different PB instances (matching
different
databases/repositories).

ArticleManagerPBBean should point to a env-entry: articel.ojb.repository
and not to the common/default repository env-entry: ojb.repository. What
do you think about that?
###
Don't know exactly what you mean, but it seems we both mean
the same thing ;-)
For different databases use different beans.
Changing the matching database
for a bean, can be achieved by changing the env-entry.

regards,
Armin

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