Skip to content

PawelGorny/TransRest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TransRest

Transactional REST web services

This projects is an example for web services which support transactions. The client has a possibility to launch a several CRUD calls which are hold in one database transaction. Depending on the client's decision, the transaction could be commited or rollbacked.

Sample application could be deployed to your Tomcat server, then you may use the embedded Swagger UI to browse and launch REST calls.

Please check junit test to see how different use cases are covered.

Web services are documented in OpenAPI document generated by Swagger plugin when the project is build. I use Atomikos open-source transaction manager.