...
All business objects should be placed under com.crm.businessobject.* named packages . and extend com.crm.businessobject.CRMBO.
Expand | ||
---|---|---|
| ||
Note that on EJB creation, we also specify the super class of the class we are creating, depending on the business logic of our class. In this case we select the com.crm.businessobject.CRMBO as the super class.
Defining Bussiness Object Methods
To implement the basic business logic in our class, we will need to create the following methods:
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
/** * Constructs a bank. * * @param mainDTO - the main data object * @return a bank * @throws Exception */ @Override protected CRMDO constructDO(CRMDO mainDTO) throws Exception { ... } |
...