Hi -
I was able to get rid of some of my more frustrating problems when I
realized that I was trying to use Castor in the wrong situation (eg, JSPs
instead of Servlets). However, I recall from the Castor website that the
libraries are not thread safe. Servlet code must be.
My question: how can I use Castor in a threadsafe way? Is there an
appropriate variable or variables I can synchronize on? Would it be the JDO
object? The Database? The individual mapped objects?
One example of what I must do is fetch an object from the database via an
OQL query, change one or more fields, and then commit() the changes. Where
should I use synchronize to make this threadsafe?
Any pointers to more detailed docs about Castor and threading would be
greatly appreciated.
Thanks,
_________________________________
Robert Kent - (617) 413-3510
http://www.rjk-comm.com/
_________________________________
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev