Skip to main content

Posts

Showing posts with the label Transaction in EJB

TRANSACTIONS in EJB

Transactions      A typical enterprise application accesses and stores information in one or more databases.                 Because this information is critical for business operations, it must be accurate , current , and reliable .        Data integrity would be lost    if multiple programs were allowed to update the same information simultaneously or     if a system that failed while processing a business transaction were to leave the affected data only partially. So Software  Transactions Prevent thease two secnarios and ensure data inregrity. Transactions control the concurrent access of data by multiple programs I In the event of a system failure, transactions make sure that after recovery, the data will be in a consistent state . Agenda : ■ Transactions in Java EE Applicati...