Can I use the transaction manager of the Domino server in my java agent via Spring configuration?

I try to import a spring based java application in Notes. I need to configure a JPA Transaction manager to be able to use the JMS interface.Does anyone know how to configure this in Domino. Can I use the transaction manager of the Domino server (and what if I run it in the client?)

<tx:jta-transaction-manager id=“transactionManager” />

Subject: Workaround

As a workaround I implemented the transaction manager as

<bean id="transactionManager" class="org.springframework.transaction.jta.JtaTransactionManager">

	<property name="userTransaction">

    	<bean class="org.springframework.transaction.jta.JotmFactoryBean"/>

	</property>

</bean>