I was reading that many entity bean anti-patterns in EJB 2.1 have been resolved in EJB 3.0. One is the use of DTOs. Now that the entities are serializable POJOs, they can be sent instead of DTOs and merged easily with the merge() method. Can anyone tell me which are the other anti-patterns that have been resolved?
Another example would be putting the Session into an HttpSession, or other tricks to extend the persistence context. Now it is easy to extend the persistence context in EJB3 and really create a Conversation (Multiple request/responses)