Hi,
k jee wrote:
Is there a preferred way to initialized OJB when starting a web app?
Currently, on my system, OJB doesn't really load up until the first DB
related call.
Was wondering if there were some call I could make to an OJB
Factory class or whatever, to initialize OJB, other than making a call
that would invoke a query.
OJB doesn't have a startup method, most components/services of OJB will
be lazy initialized. So I don't know an alternative way (to performing a
query or lookup/close a PB instance at startup). If you only interested
in loading the metadata files access class MetadataManager at startup.
Similar post here
http://www.mail-archive.com/[email protected]/msg14382.html
regards,
Armin
Thanks
---------------------------------
Yahoo! Photos
Got holiday prints? See all the ways to get quality prints in your hands ASAP.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]