This week's book giveaway is in the Agile and Other Processes forum.
We're giving away four copies of Real-World Software Development: A Project-Driven Guide to Fundamentals in Java and have Dr. Raoul-Gabriel Urma & Richard Warburton on-line!
See this thread for details.
Win a flower (🌹) or copy of Real-World Software Development: A Project-Driven Guide to Fundamentals in Java (📚) this week in the Agile and Other Processes forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Liutauras Vilda
  • Knute Snortum
  • Bear Bibeault
master stewards:
  • Devaka Cooray
  • Jeanne Boyarsky
  • Junilu Lacar
garden masters:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • salvin francis
gardeners:
  • Tim Holloway
  • Piet Souris
  • Frits Walraven

how Entity beans are transcational????

 
pioneer
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
how Entity beans are transcational?..what does it mean by transcational practcally?
 
pioneer
Posts: 346
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Entity Beans are CMT i.e. where Transactions are managed by Container.
Each method invokation on an ejb either starts a new transaction or is part of previous transaction. CMP beans must be part of a transaction. This transaction scope is specified by transaction attribute in deployment file. The transaction ends before the method which started the transaction, ends. if successful, it commits before the end of method, otherwise rolledback and throws TransactionRolledbackException or RemoteException or TransactionRolledbackLocalException is thrown depending upon the case.
 
I wasn't selected to go to mars. This tiny ad got in ahead of me:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!