Add a plain JPA sample application

Closes gh-1761