A new project has been added at spreadthesource, it allows you to make Tapestry 5 services and Spring beans work in the same transaction. This contribution overrides the services provided by tapestry5-hibernate contribution to wrap the beans provided by spring. Also, It creates all the elements needed by Spring to work in a transaction.
This contribution will be useful if :
- You want to benefit from an existing spring configuration to start writing data access code in Tapestry 5 services
- You have a mixed architecture (Tapestry 5 and Spring) and you have to work in the same transaction context
- You want to migrate from your existing spring bean to Tapestry and then benefit from the great hot reload feature
In our case, for wooki we have used spring acl that uses a JDBCTemplate to query the database, our business layer has moved to Tapestry 5 for the hot reload feature, so we needed to find a solution to create ACLs in the same transaction than the main business method.
The project is available on github, and you can find more information in the README and test application provided with this contribution.

