vdu a écrit :
Can a core session be shared between threads ? Or is it better to have a
core session per thread ?
A core session must be bound to one user : because the session contains
credentials.
If you use concurently the same session between several threads it will
be difficult for you to define when you can save the session and comit !
But the coresession itself is not bound to a thread.
By defaut, inside Nuxeo, each user has a coression, that is reused in
the different transaction thread that are created for each request.
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm