java - Global transaction in Spring -


is there way imitate global transaction in spring if transaction spawns multiple threads. know not possible in spring, thinking perhaps there workarounds.

spring doesn't provide transaction support; merely ties existing mechanisms (jta, local transactions, mock transactions). you're @ mercy of whatever underlying transaction you're using.

if you're in application server, of them allow parallel processing performed within container. container-managed thread pool has advantage of propogating container resources (jndi contexts, transactions, etc.) other threads.

websphere , weblogic, instance, use workmanager api: http://www.devx.com/java/article/28815/0 though seem recall java ee 6 has support thread pools (not sure this, though).


Comments

Popular posts from this blog

django - How can I change user group without delete record -

java - Need to add SOAP security token -

java - EclipseLink JPA Object is not a known entity type -