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
airhacks.fm the podcast:
Stay in touch: airhacks.news.