[ http://jira.andromda.org/browse/SPRING-72?page=comments#action_12168 ]
     
Jens Vagts commented on SPRING-72:
----------------------------------

Hi Chad, this issue as already been resolved (months ago or so) through my 
patches already applied.

> Use/enable spring transactions even if using EJBs
> -------------------------------------------------
>
>          Key: SPRING-72
>          URL: http://jira.andromda.org/browse/SPRING-72
>      Project: Spring Cartridge
>         Type: Improvement
>     Versions: 3.0 Final
>     Reporter: Jens Vagts
>     Assignee: Chad Brandon

>
> Even on using spring inside J2EE ($ejbEnabled) it makes sense to use spring 
> declarative transactions as suggested in the spring reference documentation. 
> Since than you can use the same transaction declarations in different 
> environments.
> Following (small) changes have to be made to make this working:
> - add a additional build property to enable spring transactions
> - move the definition of the transaction manager to the 
> applicationContext-datasource.xml
> - reference the transaction manager in the applicationContext with "ref bean" 
> instead of "ref local"
> - make user transaction name of transaction manager configurable through 
> build property. For instance: for using JBoss JTA following definition is 
> neccessary 
> <bean id="transactionManager" class="$transactionManager">
>  <property 
> name="userTransactionName"><value>UserTransaction</value></property>
> </bean>




-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl

Reply via email to