You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ojb-user@db.apache.org by "Antony S. Kraievoy" <ar...@ukr.net> on 2002/12/05 00:10:28 UTC

WebApp scenario

Hi

I am writing simple webapp using OJB. And i have one question - can i 
safely store OJB.getInstance(); (that thing called odmg in tutorial) in 
a static variable and use it in multiple threads? Or i should somehow 
synchronize it? I can not say that i read tutorials thoroughly, but i 
never saw info about multithreading there...

Thanks in advance
AV