Moving from abstract entity to beans