28.5. Configuring Seam in Java SE, without JBoss Embedded

To use Seam outside an EE environment, you must tell Seam how to manage transactions, since JTA will not be available. If you use JPA, you can tell Seam to use JPA resource-local transactions — that is, EntityTransaction — like so:
<transaction:entity-transaction entity-manager="#{entityManager}"/>
If you use Hibernate, you can tell Seam to use the Hibernate transaction API with the following:
<transaction:hibernate-transaction session="#{session}"/>
You must also define a datasource.