In C/S web-app I open ObjectServer and ObjectContainer's without using context listeners.
I use Db4oUtil where ObjectServer is declared as static and ObjectContainer's are stored in ThreadLocal.
In DAO layer ObjectContainer is called by method D4oUtil.getObjectContainer().
Thus server is created when the first client is autorized and ObjectContainer created with every client connected to server (ObjectContainer is closed when user logout).
While jumping between pages several ObjectContainer's are created. What can be a reason of this?
What i do wrong? Please advice.