JBTM-1750. JPA and JMS quickstarts. Need refactoring