A sample project to illustrate the usage of @Transactional for declarative transaction management within lightweight CDI components.
de.wern.infakt.cdi.transactions
contains the main examplede.wern.infakt.cdi.transactions.qualifier
contains the qualifieres used in the examplede.wern.infakt.cdi.transactions.stereoype
contains the stereotypes used in the examplede.wern.infakt.cdi.transactions.rs
contains the restful JAX-RS facade to enable remote access
- Clone the repository
- Build the project using Maven (`mvn clean install´)
- Get yourself a wildfly server installed and deploy the resulting war
- Use your favorite REST client to call the webservice