An introduction to e-commerce and distributed applications
An introduction to e-commerce and distributed applications

This free course is available to start right now. Review the full course description and key learning outcomes and create an account and enrol if you want a free statement of participation.

Free course

An introduction to e-commerce and distributed applications

4.6 Problems with transactions

A distributed transaction is a sequence of operations applied to a number of distributed databases which form a single functional step. For example, a transaction which moves an amount of money from a customer's account to an account owned by the same customer is an example of a transaction. It consists of two operations: the operation of debiting one account and the operation of crediting another account. There are a number of problems associated with distributed transactions. This section will briefly concentrate on one. This is the problem of deadlock: the fact that a transaction applied at one server might be waiting for data which is currently contained on another server, with the other server awaiting some resource that is held on the first server. For example, the first server might contain the account data that the second server needs to complete a transaction, while the second server might require other account data for it to proceed. Enterprise JavaBeans removes from the programmer the need to worry about many of the problems detailed above. Enterprise JavaBeans is a distributed component technology which allows developers to develop reusable components which can be used in transactions.

M360_1

Take your learning further

Making the decision to study can be a big step, which is why you'll want a trusted University. The Open University has 50 years’ experience delivering flexible learning and 170,000 students are studying with us right now. Take a look at all Open University courses.

If you are new to university level study, find out more about the types of qualifications we offer, including our entry level Access courses and Certificates.

Not ready for University study then browse over 900 free courses on OpenLearn and sign up to our newsletter to hear about new free courses as they are released.

Every year, thousands of students decide to study with The Open University. With over 120 qualifications, we’ve got the right course for you.

Request an Open University prospectus