<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" xmlns="http://purl.org/rss/1.0/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"><channel rdf:about="https://www.bibsonomy.org/user/gresch/transaction"><title>BibSonomy bookmarks for /user/gresch/transaction</title><link>https://www.bibsonomy.org/user/gresch/transaction</link><description>BibSonomy RSS Feed for /user/gresch/transaction</description><items><rdf:Seq><rdf:li rdf:resource="http://spreedly.com/"/><rdf:li rdf:resource="http://www.jroller.com/hasant/entry/hibernate_saveorupdate_trap_for_web"/><rdf:li rdf:resource="http://today.java.net/pub/a/today/2006/08/31/jotm-transactions-in-spring-and-hibernate.html"/><rdf:li rdf:resource="http://ofx4j.sourceforge.net/"/><rdf:li rdf:resource="http://wiki.jboss.org/wiki/JBossCacheHibernateTransactionsStandaloneExample"/></rdf:Seq></items></channel><item rdf:about="http://spreedly.com/"><title>Spreedly</title><description>Control your payment solution. Manage all of your transactions in one place. Change your payment gateway. Manage subscriptions. Process single transactions. Spreedly provides flexibility.</description><link>http://spreedly.com/</link><dc:creator>gresch</dc:creator><dc:date>2012-08-30T17:56:22+02:00</dc:date><dc:subject>business offering payment service software transaction webapp </dc:subject><content:encoded>&lt;span itemprop=&#034;description&#034;&gt;Control your payment solution. Manage all of your transactions in one place. Change your payment gateway. Manage subscriptions. Process single transactions. Spreedly provides flexibility.&lt;/span&gt;</content:encoded><taxo:topics><rdf:Bag><rdf:li rdf:resource="https://www.bibsonomy.org/tag/business"/><rdf:li rdf:resource="https://www.bibsonomy.org/tag/offering"/><rdf:li rdf:resource="https://www.bibsonomy.org/tag/payment"/><rdf:li rdf:resource="https://www.bibsonomy.org/tag/service"/><rdf:li rdf:resource="https://www.bibsonomy.org/tag/software"/><rdf:li rdf:resource="https://www.bibsonomy.org/tag/transaction"/><rdf:li rdf:resource="https://www.bibsonomy.org/tag/webapp"/></rdf:Bag></taxo:topics></item><item rdf:about="http://www.jroller.com/hasant/entry/hibernate_saveorupdate_trap_for_web"><title>Hasan&#039;s Weblog ~ Experiences @ workspace</title><description>Hibernate saveOrUpdate trap for web developers and StaleStateException

Summary: Hibernate users should be aware of saveOrUpdate method if they continue to use the same persistent object even if a transaction failed at some point.

Details:
Suppose you have a persistent object bound to your web(like JSF) views. Entered some data (which will lead to a db ConstraintViolationException) and tried to save it (at your DAO service) by using saveOrUpdate method. As we expected, it will throw a ConstraintViolationException and you&#039;ll rollback the transaction.
Then, go back to the entry page, correct the wrong field value at the same object, and try to save it again. You&#039;ll get a StaleStateException since saveOrUpdate method assigned identifier values automatically to your new object when you attempt to save it first. Later, when the save operation failed, it didn&#039;t roll back your object&#039;s state to its initial state. The summary of the flow causing this error is as below; </description><link>http://www.jroller.com/hasant/entry/hibernate_saveorupdate_trap_for_web</link><dc:creator>gresch</dc:creator><dc:date>2009-01-05T19:32:30+01:00</dc:date><dc:subject>article blog develop hibernate java software springframework transaction </dc:subject><content:encoded>&lt;span itemprop=&#034;description&#034;&gt;Hibernate saveOrUpdate trap for web developers and StaleStateException

Summary: Hibernate users should be aware of saveOrUpdate method if they continue to use the same persistent object even if a transaction failed at some point.

Details:
Suppose you have a persistent object bound to your web(like JSF) views. Entered some data (which will lead to a db ConstraintViolationException) and tried to save it (at your DAO service) by using saveOrUpdate method. As we expected, it will throw a ConstraintViolationException and you&amp;#039;ll rollback the transaction.
Then, go back to the entry page, correct the wrong field value at the same object, and try to save it again. You&amp;#039;ll get a StaleStateException since saveOrUpdate method assigned identifier values automatically to your new object when you attempt to save it first. Later, when the save operation failed, it didn&amp;#039;t roll back your object&amp;#039;s state to its initial state. The summary of the flow causing this error is as below; &lt;/span&gt;</content:encoded><taxo:topics><rdf:Bag><rdf:li rdf:resource="https://www.bibsonomy.org/tag/article"/><rdf:li rdf:resource="https://www.bibsonomy.org/tag/blog"/><rdf:li rdf:resource="https://www.bibsonomy.org/tag/develop"/><rdf:li rdf:resource="https://www.bibsonomy.org/tag/hibernate"/><rdf:li rdf:resource="https://www.bibsonomy.org/tag/java"/><rdf:li rdf:resource="https://www.bibsonomy.org/tag/software"/><rdf:li rdf:resource="https://www.bibsonomy.org/tag/springframework"/><rdf:li rdf:resource="https://www.bibsonomy.org/tag/transaction"/></rdf:Bag></taxo:topics></item><item rdf:about="http://today.java.net/pub/a/today/2006/08/31/jotm-transactions-in-spring-and-hibernate.html"><title>java.net: JOTM Transactions In Spring And Hibernate</title><description>Any enterprise-class application that interacts with databases needs to take care of transactional integrity across database tables, databases, and components. Typically you achieve this either by using the heavy plumbing of application servers or by leveraging the Java Transaction API (JTA) at code level. Both approaches have their merits and demerits.

In the case of application servers, someone has to pay for all the infrastructure services, but the server platform does provide an out-of-the-box solution for cross-cutting concerns like security, transaction, and persistence. Server infrastructures like those provided by BEA or IBM address the full process associated with architecture, prototype, design, development, packaging, deployment, and monitoring.

If instead you go for direct JTA API integration at the application code level, you don&#039;t need to pay for the additional server infrastructure, but you may end up with business logic mixed with infrastructure-level code.

It is in this context that you need to think of lightweight containers that will help you wire application logic components with infrastructure services like transaction handling without the necessity of having a full-blown application server. Spring is one such lightweight container that uses Aspect Oriented Programming (AOP) techniques for integrating cross-cutting services with components. This article walks you through a running example implemented using a mix of three powerful, complementary J2EE technology frameworks: Spring, Hibernate, and JOTM.</description><link>http://today.java.net/pub/a/today/2006/08/31/jotm-transactions-in-spring-and-hibernate.html</link><dc:creator>gresch</dc:creator><dc:date>2008-11-13T10:12:07+01:00</dc:date><dc:subject>2006 article develop java jotm jta software spring transaction xa </dc:subject><content:encoded>&lt;span itemprop=&#034;description&#034;&gt;Any enterprise-class application that interacts with databases needs to take care of transactional integrity across database tables, databases, and components. Typically you achieve this either by using the heavy plumbing of application servers or by leveraging the Java Transaction API (JTA) at code level. Both approaches have their merits and demerits.

In the case of application servers, someone has to pay for all the infrastructure services, but the server platform does provide an out-of-the-box solution for cross-cutting concerns like security, transaction, and persistence. Server infrastructures like those provided by BEA or IBM address the full process associated with architecture, prototype, design, development, packaging, deployment, and monitoring.

If instead you go for direct JTA API integration at the application code level, you don&amp;#039;t need to pay for the additional server infrastructure, but you may end up with business logic mixed with infrastructure-level code.

It is in this context that you need to think of lightweight containers that will help you wire application logic components with infrastructure services like transaction handling without the necessity of having a full-blown application server. Spring is one such lightweight container that uses Aspect Oriented Programming (AOP) techniques for integrating cross-cutting services with components. This article walks you through a running example implemented using a mix of three powerful, complementary J2EE technology frameworks: Spring, Hibernate, and JOTM.&lt;/span&gt;</content:encoded><taxo:topics><rdf:Bag><rdf:li rdf:resource="https://www.bibsonomy.org/tag/2006"/><rdf:li rdf:resource="https://www.bibsonomy.org/tag/article"/><rdf:li rdf:resource="https://www.bibsonomy.org/tag/develop"/><rdf:li rdf:resource="https://www.bibsonomy.org/tag/java"/><rdf:li rdf:resource="https://www.bibsonomy.org/tag/jotm"/><rdf:li rdf:resource="https://www.bibsonomy.org/tag/jta"/><rdf:li rdf:resource="https://www.bibsonomy.org/tag/software"/><rdf:li rdf:resource="https://www.bibsonomy.org/tag/spring"/><rdf:li rdf:resource="https://www.bibsonomy.org/tag/transaction"/><rdf:li rdf:resource="https://www.bibsonomy.org/tag/xa"/></rdf:Bag></taxo:topics></item><item rdf:about="http://ofx4j.sourceforge.net/"><title>OFX4J - Home</title><description>The purpose of this project is to provide an implementaion of OFX for Java. This project targets Java developers, so the primary means of getting started is diving right into the code. You could skim the user guide for an idea of how to use this library, but once you get started, you&#039;ll probably find the JavaDocs most useful.</description><link>http://ofx4j.sourceforge.net/</link><dc:creator>gresch</dc:creator><dc:date>2008-08-16T23:54:52+02:00</dc:date><dc:subject>business develop financial frameworks java ofx software transaction </dc:subject><content:encoded>&lt;span itemprop=&#034;description&#034;&gt;The purpose of this project is to provide an implementaion of OFX for Java. This project targets Java developers, so the primary means of getting started is diving right into the code. You could skim the user guide for an idea of how to use this library, but once you get started, you&amp;#039;ll probably find the JavaDocs most useful.&lt;/span&gt;</content:encoded><taxo:topics><rdf:Bag><rdf:li rdf:resource="https://www.bibsonomy.org/tag/business"/><rdf:li rdf:resource="https://www.bibsonomy.org/tag/develop"/><rdf:li rdf:resource="https://www.bibsonomy.org/tag/financial"/><rdf:li rdf:resource="https://www.bibsonomy.org/tag/frameworks"/><rdf:li rdf:resource="https://www.bibsonomy.org/tag/java"/><rdf:li rdf:resource="https://www.bibsonomy.org/tag/ofx"/><rdf:li rdf:resource="https://www.bibsonomy.org/tag/software"/><rdf:li rdf:resource="https://www.bibsonomy.org/tag/transaction"/></rdf:Bag></taxo:topics></item><item rdf:about="http://wiki.jboss.org/wiki/JBossCacheHibernateTransactionsStandaloneExample"><title>JBoss Cache as second level cache for Hibernate?</title><description>In spite of the example working, transaction management is not working appropriately when it comes to both Hibernate and JBossCache participating of the same transaction. The reason is because at the time of writing this wiki, Hibernate did not allow to inject a JTA Transaction Manager which is not bound to JNDI. In the example, Hibernate creates a JDBC transaction and JBossCache a JTA transaction which are not linked together. To be able to make a Hibernate and JBossCache participant of the same JTA transaction in a standalone environment, customer code needs to be added to Hibernate to get around the JNDI/JTA coupling.</description><link>http://wiki.jboss.org/wiki/JBossCacheHibernateTransactionsStandaloneExample</link><dc:creator>gresch</dc:creator><dc:date>2008-04-09T22:02:17+02:00</dc:date><dc:subject>caching database develop hibernate java jboss performance software transaction </dc:subject><content:encoded>&lt;span itemprop=&#034;description&#034;&gt;In spite of the example working, transaction management is not working appropriately when it comes to both Hibernate and JBossCache participating of the same transaction. The reason is because at the time of writing this wiki, Hibernate did not allow to inject a JTA Transaction Manager which is not bound to JNDI. In the example, Hibernate creates a JDBC transaction and JBossCache a JTA transaction which are not linked together. To be able to make a Hibernate and JBossCache participant of the same JTA transaction in a standalone environment, customer code needs to be added to Hibernate to get around the JNDI/JTA coupling.&lt;/span&gt;</content:encoded><taxo:topics><rdf:Bag><rdf:li rdf:resource="https://www.bibsonomy.org/tag/caching"/><rdf:li rdf:resource="https://www.bibsonomy.org/tag/database"/><rdf:li rdf:resource="https://www.bibsonomy.org/tag/develop"/><rdf:li rdf:resource="https://www.bibsonomy.org/tag/hibernate"/><rdf:li rdf:resource="https://www.bibsonomy.org/tag/java"/><rdf:li rdf:resource="https://www.bibsonomy.org/tag/jboss"/><rdf:li rdf:resource="https://www.bibsonomy.org/tag/performance"/><rdf:li rdf:resource="https://www.bibsonomy.org/tag/software"/><rdf:li rdf:resource="https://www.bibsonomy.org/tag/transaction"/></rdf:Bag></taxo:topics></item></rdf:RDF>