We run castor from an MVC servlet environment. An action is called on a
controller that access castor and returns data to be displayed in a jsp.
Our controller is multi threaded and can have many concurrent users. I've
found that if i have one instance of a Database, that I get exceptions when
2 ppl try to access the controller at the same time. If I switch to an
instance of the Database for each action, this goes away.
ok, the question:
Is Castors optimization/caching, whatever makes running the same oql a
second time faster, dependant on an instance of a Database? If so is there
anyway to have it function optimized in the environment that we are
running? I don't know if this involves threads, I just need it to be
optimized. If this is not the case, is Castor the proper tool to be using
in a servlet environment to gain optimization?
There are no long transactions, as the objects are converted into text for
each view, where the user interacts and then sends a call to another action
that takes the request object (Strings) and perfroms the necessary
operations with Castor. I can give more details on the environment if needed.
-A-
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev
