Solved

J2EE Tranactions

Posted on 2004-03-24
12
281 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 150 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
How Do You Stack Up Against Your Peers?

With today’s modern enterprise so dependent on digital infrastructures, the impact of major incidents has increased dramatically. Grab the report now to gain insight into how your organization ranks against your peers and learn best-in-class strategies to resolve incidents.

 
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

Enroll in May's Course of the Month

May’s Course of the Month is now available! Experts Exchange’s Premium Members and Team Accounts have access to a complimentary course each month as part of their membership—an extra way to increase training and boost professional development.

Question has a verified solution.

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

INTRODUCTION Working with files is a moderately common task in Java.  For most projects hard coding the file names, using parameters in configuration files, or using command-line arguments is sufficient.   However, when your application has vi…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.

752 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