Page 13 Java Enterprise in Nutshell published in 1999.

Background becomes clear in the quote so I have not written.

Quote
�Updating CornCo with Enterprise Javabeans

You may have noticed a flaw in the previous scenario. The checkout servlet
sends
Billing information to one server, and then sends fulfillment  information
to another
Server. But it performs these two actions independently, without any attempt
to maintain transactional integrity and make them behave atomically. In
another words,
If network failure or server crash were to occur after the billing
information had been sent, but before fulfilment information had been sent,
the customer might receive a bill for popcorn that was never shipped.

The designers of the e-commerce system described in the previous section
were aware of this problem, but since distributed transactions are complex,
and Cornco did not own a transaction management server, they simply chose to
ignore it.  In practice, the number of customers who would have problems
would be small, and it was easier for the original programmers to let the
customer service department sort any irregularities.

But now, Cornco has hired a new vice president of Information Systems. She�s
tough as nails, and likes all her i� dotted and her t�s crossed. She won�t
stand for this sloppy state of affairs. As her first official act as VP, she
buys a high end application server with Enterprise Javabeans support and her
e-commerce team the job of revamping the online ordering system to use it.
The modifies design might work like this :-

�. � end Quote



_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to