* Free up the developer to work on business logic rather than persistence. This is accomplished by allowing the container to manage all the persistence and loading of data.
* Persistence services can be developed by persistence specialists. In other words, this means that persistence is most likely going to run faster, with more transactional safety, and scale better.
* CMP beans are portable across EJB containers and data sources. EJB containers that support the EJB 2.0 specification facilitate the movement of an entity bean from one container to another rather seamlessly. In fact, some containers even attempt to work in specific database vendor features for performance and scalability but still allowing portability.
No comments:
Post a Comment