!--a11y-->
The HTMLBusiness Library is based on the Model View Controller (MVC) architecture, which also provides the basis for the Swing components in Java.
In this approach, the programming model for user interface elements is divided into three areas:
In HTMLBusiness for Java, there is a model class for each component (Web control, container) that can be accessed through its interface. In addition, there is at least one view class for each component, which translates the components into actual HTML. The central controller class, PageContext, and the interface
IPageContext control the associated view classes. When a mobile device sends an HTTP request, this class ensures that the renderer class used is the one for this device.Renderer classes are pseudo-static in character. That is, like static classes, they do not create instances, whereas like dynamic classes they are not instantiated until runtime and do not reserve space in memory till then. They create an instance for each browser and each Web control.
Within this MVC architecture, Mobile HTMLBusiness for Java supports all components (Web controls) relevant for mobile devices – such as buttons or tableViews – and provides special view classes (renderer classes) for mobile devices such as pocket PCs and WAP-enabled devices. In this way Mobile HTMLBusiness for Java provides a range of Web controls for mobile devices allowing you to develop Web applications that can be run and displayed on different devices.
