Updated AppManaged to also allow JPA use, in addition to Session