Author: Gytis Trikleris; Level: Intermediate; Technologies: JTA, JPA, JMS
This example demonstrates how to use new JTA 1.2 features inside WildFly application server.
QuickstartEntityRepository and QuickstartQueue classes demonstrace usage of @Transactional annotation. TransactionScopedPojo class demonstrates @TransactionScoped annotation. TestCase class is used to drive the example.
In order to run quickstart in the managed Wildfly application server, run the following command:
mvn clean install
In order to run quickstart in the remote Wildfly application server, run the following command:
mvn clean install -Parq-jbossas-remote