Simple persistence example without java ee container