How about giving me reference instance copy? How about passing it around by reference and value? Stateless Session Beans are design to store bean composition all throughout its session level life. Composition = can be the client’s state (design the bean directly as an entity manager bean) or object’s lifecycle composition (storing entity definition until its all said and done – transact commit).
Here’s a brief tutorial on Stateful Session Bean:
Again, its a basic one. No Database Transactions involve.
thou shall not worry though, real application scenario tutorial using EJB/JPA will soon be posted. 🙂