Hello all,
how do you propose to work with OJB?
I am using ODMG api. I have some persistent broker manager. In
constructor of this object I get odmg facade instance - odmgFacade =
OJB.getInstance();
in each DB related methods I open db
db.open(dataBaseDefName, Database.OPEN_READ_WRITE);
open and commit transaction.
? I am not sure, should I close db if I use manageable connection
pool and work with db via Datasource.
Should broker manager to be singleton?
or I have to create new instance of this classes for each client?
(I don't tell about clustering, I mean that I use only one JavaVM)
thank you very much.
--
Best regards,
Alexander mailto:[EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]