Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

J2EE Tranactions

Posted on 2004-03-24
12
Medium Priority
?
291 Views
Last Modified: 2013-11-24
in J2EE:

suppose that inside a J2EE transaction not just updates to the DB are preformed, but also some objects and primitive types are being changed.if the transactions fails to reach the commit stage for some reason, and a rollback action is performed would the initial value of the objects and primitve types be restored?  
0
Comment
Question by:krelman
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 4
  • 2
  • +1
12 Comments
 
LVL 86

Accepted Solution

by:
CEHJ earned 600 total points
ID: 10666768
No
0
 
LVL 30

Expert Comment

by:Mayank S
ID: 10666822
You don't have a roll-back in Java ;-)
0
 

Author Comment

by:krelman
ID: 10666857
Then what is the exact  meaning of J2EE Transaction ?
Thanks.
0
The top UI technologies you need to be aware of

An important part of the job as a front-end developer is to stay up to date and in contact with new tools, trends and workflows. That’s why you cannot miss this upcoming webinar to explore the latest trends in UI technologies!

 
LVL 30

Expert Comment

by:Mayank S
ID: 10666881
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 10666896
A transaction applies to the database and java objects that have effectively 'become' the database through CMP/BMP - not any other objects.
0
 
LVL 92

Expert Comment

by:objects
ID: 10666988
Transactions are related to db data, not your objects. You need to manage those yourself.
0
 
LVL 92

Expert Comment

by:objects
ID: 10666991
Read the tute posted by mayankeagle above, it gives a good overview.
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 10858412
8-)
0
 
LVL 30

Expert Comment

by:Mayank S
ID: 10859166
Well, even here, CEHJ, the recommendation was not acted upon ;-)
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 10859190
Maybe it was closed by the questioner ;-)
0
 
LVL 30

Expert Comment

by:Mayank S
ID: 10859209
No worries :-)
0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
A solution for Fortify Path Manipulation.
Viewers learn about the third conditional statement “else if” and use it in an example program. Then additional information about conditional statements is provided, covering the topic thoroughly. Viewers learn about the third conditional statement …
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …
Suggested Courses

704 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question