I was wondering how most people handle getting a Broker obj. Do you get a
new one each time, or a singleton, or what?
I have a serviceLocator.findBroker() that basically returns a new one each
time. 
 PBKey pbKey = new PBKey("default");
 broker = PersistenceBrokerFactory.createPersistenceBroker(pbKey);

I see that it creates my sequenceManager for each db call, and I didn't
think I really needed to be doing that. So when you guys get a
persistenceBroker reference, are you getting a new one each time, or do you
pass around one reference? Are there threading or performance issues to be
concerned about?

Thanks for your help,
-John

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

Reply via email to