troubleshooting Question

Transaction Boundaries and asynchronous process

Avatar of fix2009
fix2009Flag for United States of America asked on
Java EEJSPJava
2 Comments1 Solution449 ViewsLast Modified:
I am looking for what happens when from within a transaction a thread is created and that thread is doing some process asynchronously.  If that thread is not finished because it is asynchronous, and the commit transaction is executed.   What is the impact on thread process.

methodA() {
   Begin Transaction

methodB()  {
   new Thread1 {

processX {
     step A
     step B

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 2 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 2 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros