THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Shows use of @Resource to have an EntityManager with an EXTENDED persistence context injected into a Stateful@Stateful bean. An EJB 3 @Entity bean is used with the EntityManager to create, persist and merge data to a database.
...