Links

  • 1. Sogeti
  • 2. JBoss
  • 3. IBM
  • 4. Oracle
  • 5. SpringSource
  • 6. NL-JUG
  • 7. Java

Archives

Syndication  RSS 2.0

RSS 1.0
RSS 2.0

Bookmark this site

Add 'JCN Blog' site to delicious  Add 'JCN Blog' site to technorati  Add 'JCN Blog' site to digg  Add 'JCN Blog' site to dzone

Posted by Ruud Steeghs at 16:20 on Thursday 14 December    Add 'WS-Atomic Transactions & WS-Business Activity' site to delicious  Add 'WS-Atomic Transactions & WS-Business Activity' site to technorati  Add 'WS-Atomic Transactions & WS-Business Activity' site to digg  Add 'WS-Atomic Transactions & WS-Business Activity' site to dzone

Door Guy Pardon

Deze lezing gaat over transacties en hoe transacties in een SOA omgeving ondersteund kunnen worden.

Eerst legt Guy Pardon uit dat transactie ACID moeten zijn:
Atomic – een transactie slaagt als geheel of slaagt niet
Consistent – de database(s) moeten zowel voor als na de transacties in een consistente staat verkeren
Isolatable – transacties mogen elkaar niet beïnvloeden
Durable – na een server crash moet de staat van een database (of meerdere databases) in een consistente staat verkeren

Transacties die betrekking hebben op een enkele database noemen we een local transaction.
Transacties waarbij meerdere databases of datasources (e.g. queues) bij betrokken zijn, heten global of distributed transactions.
JTA is de API die global transacties mogelijk maken. XA heeft betrekking op de connectoren voor de databases of de queues.
Read the rest of this entry »

Posted by Eric Gunnewegh at 7:53 on Wednesday 25 October    Add 'Specify custom isolation levels with the Spring framework' site to delicious  Add 'Specify custom isolation levels with the Spring framework' site to technorati  Add 'Specify custom isolation levels with the Spring framework' site to digg  Add 'Specify custom isolation levels with the Spring framework' site to dzone

If you’re building an application that requires a custom isolation level in a global transaction during the execution of a use case, you’ve probably found out the hard way that the Java&trade Transaction API doesn’t provide support for custom isolation levels. Fortunately, the Spring framework allows you to design Web and enterprise applications that use custom isolation levels in global transactions, but it’s not an easy task. In this article, Ricardo Olivieri walks through the process in seven detailed steps.

Posted by Hans-Jürgen Jacobs at 20:16 on Thursday 21 July    Add 'Bean-Managed Transaction Suspension in J2EE' site to delicious  Add 'Bean-Managed Transaction Suspension in J2EE' site to technorati  Add 'Bean-Managed Transaction Suspension in J2EE' site to digg  Add 'Bean-Managed Transaction Suspension in J2EE' site to dzone

Container-managed transactions seem more capable than bean-managed transactions in the EJB spec, with the latter unable to, for example, suspend and resume transactions. But what looks like a limitation isn’t necessarily so, according to Dmitry Maximovich, who shows you how to get to the underlying TransactionManager, making BMT as powerful as CMT. [onjava.com]

Posted by Hans-Jürgen Jacobs at 16:57 on Friday 20 May    Add 'Wire Hibernate Transactions in Spring' site to delicious  Add 'Wire Hibernate Transactions in Spring' site to technorati  Add 'Wire Hibernate Transactions in Spring' site to digg  Add 'Wire Hibernate Transactions in Spring' site to dzone

The proper handling of transactions across multiple data stores, supporting multiple application flows, is the kind of heavy lifting J2EE servers were built for. But what if you’re using the lighter-weight Spring framework? Binildas C. A. shows how you can wire Spring and Hibernate together to achieve the transaction support you desire. [onjava.com]


© 2020 Java Competence Network. All Rights Reserved.