I assume you are using Berkeley DB Java Edition and not Berkeley DB (the C version) with the Java API. If the latter, please post your question in
the Berkeley DB forum.
Your question is discussed in the Getting Started Guide:
Moreover, JE allows multiple processes to access the same databases. However, in this
configuration JE requires that there be no more than one process allowed to write to the
database. Read-only processes are guaranteed a consistent, although potentially out of
date, view of the stored data as of the time that the environment is opened.
See the Getting Started Guide for further explanation
Edited by: Oracle, Ron Cohen on Apr 11, 2012 8:21 AM