Panel | ||
---|---|---|
| ||
Business ObjectsBusiness objects implement the software's business logic. They are responsible for handling data objects (constructing, loading, saving, deleting) and any other business logic related with the business module. For every data object, there is a business object that handles it. Business objects do not implement any process flows, but offer services to the Controller layer (UI, API, Process) In CRM.COM Software, we implement the business object classes using EJBs (Enterprise Java Beans) J2EE server-side components, and more specifically we use Stateless Session Beans. More information about EJBs can be found here. |
Table of Contents |
---|
Creating the Business Object Classes
The first thing to do is to create an EJB that will handle our business objects. In order to create our class we must first decide the name of the package to place it in. Based on the business structure, the respective packages should be created. Based on CRM.COM naming conventions, all business objects are stored in the com.crm.businessobject package. Based on the module we are implementing, further packages are then created in here.
...