Pattern « Transaction « Spring Q&A





1. Domain driven design and transactions in Spring environment    stackoverflow.com

I used to design my application around anemic domain model, so I had many repository object, which were injected to the big, fat, transaction-aware service layer. This pattern is called Transaction ...

2. Transaction like programming in Java    stackoverflow.com

I want to achieve transaction like functionality in java. I want to do `n' operations like- one operation to update database, one to insert in a queue, one operation to update ...

3. Pattern based Transaction in Spring    stackoverflow.com

We are using Spring+JPA for our RESTful web services application. This is a high transactional application and performs plenty of CRUD operations. I am using @Transaction annotation on methods to perform the ...

4. Sending events at the end of a transaction    stackoverflow.com

I have an interface for a Service object that looks something like the following (simplified for brevity):

public interface ItemService {

  public Item getItemById(String itemId, int version);

  public void create(Item ...

5. "Open transaction in view filter" pattern    forum.springsource.org

On the lines of OSIV can we have a "Open Transaction in view" filter which we open a transaction at the start of the request and close it ( commit or ...

6. Need Pattern for Use Of Transactions    forum.springsource.org

Need Pattern for Use Of Transactions Hi, I need a pattern for using declarative AOP transactions of Spring in conjunction with a mass data operation. Background: I'm looping thru a lot ...