Advertisement

12.01.2005 at 12:15AM PST, ID: 21649026
[x]
Attachment Details

Transaction Questions

Asked by suprapto45 in Java Programming Language, Enterprise Java Beans (EJB)

Tags: ,

Hi Experts,

I have one question about Transaction. Consider the flow of my application as below.

1. call my Struts Action
2. In my Action, it called at least three Session Bean methods where all of them involve inserting data into DB.

Logically, if the third session bean method failed, it should roll back the whole data (the previous two methods). How to do that? Can I cover my Action with some Transaction? Will it clash with the Transaction in the session bean?

Thanks
DavidStart Free Trial
[+][-]12.01.2005 at 03:07AM PST, ID: 15395409

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]12.01.2005 at 09:14AM PST, ID: 15397959

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Java Programming Language, Enterprise Java Beans (EJB)
Tags: transaction, questions
Sign Up Now!
Solution Provided By: natgross
Participating Experts: 3
Solution Grade: A
 
 
[+][-]12.01.2005 at 09:28PM PST, ID: 15402690

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]12.02.2005 at 12:31AM PST, ID: 15403160

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]12.04.2005 at 04:46AM PST, ID: 15414432

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]12.04.2005 at 12:58PM PST, ID: 15415947

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]12.05.2005 at 02:08PM PST, ID: 15423501

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]12.06.2005 at 12:31PM PST, ID: 15431016

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]12.14.2005 at 07:20PM PST, ID: 15487992

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]12.19.2005 at 08:29AM PST, ID: 15511878

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32