Home » Tag Archives: Transactions

Tag Archives: Transactions

Play 2.0 framework and XA transactions

play-framework-logo

XA transactions are useful and out of the box, Play 2.0 today does not have support for them. Here I show how to add that support: First off, some examples when XA is useful: – JPA uses two physical connections if you use entities from two different persistence.xml – those two connections might need to be committed in one transaction, ...

Read More »

Transactional event-based NOSQL storage

software-development-2-logo

I am presenting here a simple two steps architectural approach based on stored events as a workaround for the lack of full atomic transaction support in so-called “NOSQL” databases. Being fairly new to NOSQL-based architectures, I have the annoying intuition that I am about to write nothing but a set of obvious statements. On the other hand, I have not ...

Read More »

Spring Pitfalls: Transactional tests considered harmful

spring-interview-questions-answers

One of the Spring killer-features is an in-container integration testing. While EJB lacked this functionality for many years (Java EE 6 finally addresses this, however I haven’t, ekhem, tested it), Spring from the very beginning allowed you to test the full stack, starting from web tier, through services all the way down to the database. Database is the problematic part. ...

Read More »

Spring Pitfalls: Proxying

aspectj-logo

Being a Spring framework user and enthusiast for many years I came across several misunderstandings and problems with this stack. Also there are places where abstractions leak terribly and to effectively and safely take advantage of all the features developers need to be aware of them. That is why I am starting a Spring pitfalls series. In the first part ...

Read More »

Spring Declarative Transactions Example

spring-interview-questions-answers

A transaction is a unit of work that has ACID (atomic, consistent, isolated and durable) properties. Atomic means that the changes all happen or nothing happens. If money is debited from an account and credited to another account, a transaction ensures that either both the debit and credit complete or neither completes. Consistent implies that the changes leave the data ...

Read More »

How to Do 100K TPS at Less than 1ms Latency

java-interview-questions-answers

Martin Thompson and Michael Barker talk about building a HPC financial system handling over 100K TPS at less than 1ms latency by having a new approach to infrastructure and software. Some of the tips include: Understand the platform Model the domain Create a clear separation of concerns Choose data structures wisely Run business logic on a single thread The presentation that ...

Read More »
Do you want to know how to develop your skillset and become a ...

Subscribe to our newsletter to start Rocking right now!

To get you started we give you our best selling eBooks for FREE!
Get ready to Rock!
To download the books, please verify your email address by following the instructions found on the email we just sent you.

THANK YOU!

Close