Rapid Entity Persistent framework leverages the fundamentals of Object Oriented Relational Mapping (OORM) for object persistent and fetching. The data operations within this project are performed by the EntityManager class as to ensure a single entry point and reusable code, which is one of the greatest successes of this layer (Code reduction. which makes extensibility painless). We need to view the Basic Architecrtural Diagram of our Rapid Entity Framework, before we understand the importance of the EntityManager class in Rapid Entity Frameowrk. Here is the architecture :


From the above diagram, we could see that the EntityManager class abstracts the full details of Rapid Entity Framework from various client applications. This class like its counterpart in JAVA, manages the interaction between our client application and the entire Rapid. The Rapid Entity Framework also creates distinction between data persistence/logic and the underlying database through the EntityManager class, in other words, the framework is database independent, and it supports various SQL dialects in the database industry today using just one entry point. The EntityManager class is blessed with several persistent operations which will form the discussion(s) in this section.

What is EntityManager

An EntityManager class instance is a class that manages your entities (Classes marked with Entity attribute). This class performs transactional CRUD operations (Create Read Update Delete) on entities. The entity manager class allows you to interact with your entities in a transactional way. The EntityManager class is extensible, you can inherit it and use its subclass if you prefer. The following operations can be performed by the EntityManager class :

Last edited Feb 7, 2010 at 6:34 PM by ahmedsalako, version 11


No comments yet.