Developing the User Interface Classes

User Interface (UI) classes are controller classes that implement any functionality required by the View layer. UI Classes do not implement any business logic. Instead, they use the business logic available in the business object classes to implement their functionality. EJBs (Stateless Session Beans) are used for the UI classes to implement the UI functionality. UI class methods are used by summary and data entry pages.


What does this section cover?

Creating the User Interface Classes

All UI classes should be implemented in a web plugin, extend either com.crm.beans.GlobalView or one of its subclasses (SummaryView or DataEntryView) and follow this naming convention: <entityname>View.java.

To implement a user interface class, we use managed beans.

You can find some examples of UI controller classes here.

For more information on creating custom user interface classes, go to Customize existing business logic. 

To continue implementing the controller layer, go to Developing Process Classes