Esoteric and home grown transaction handling, as well as, manual JPA management can be replaced with a single
In Java EE 7 you could replace a
@Stateless with the ubiquitous
@Transactional annotation. However, you will have to type 4 more characters for this purpose :-)
See also other screencasts at http://www.youtube.com/user/bienadam
On demand workshops: Java EE 7: Bootstrap, Effective, Testing and Microservices available for streaming.