You can imporve performance and optimize your app by using read-only data-sources (set "readOnly=true" in you JNDI data-source in server.xml) read "Declarative transaction management" in Spring Docs.Rollback can be controlled declaratively, not merely programmatically. The Spring Framework offers declarative rollback rules: a feature with no EJB equivalent, which we'll discuss below.
0 Comments
Leave a Reply. |