Glossary of Terms
Terms
- Control
- Controls are designed to make it easier to integrate complex resources into your Java application. Controls consist of two JAVA files: a Control implementation file, and a Control interface file.
- Controller class / Controller file
- The Controller class is a JAVA class that handles the data processing tasks in a Page Flow. Controller classes contain the action methods and configuration information (encoded as metadata annotations) for a Page Flow web application.
- Databinding
- Databinding connects JSP pages to data objects. The data objects can be located in various places throughout the web application: in the Controller file, in the standard JSP objects, etc. A list of the different databinding expressions can be found at Databinding.
- Form Bean
-
Typically, a Form Bean is a server-side representation of a HTML <netui:form> tag. Form Beans follow ordinary Java Bean syntax: each Form Bean is a class consisting of any number of members, each member having a setter and a getter method associated with it. Form Beans should also extend java.io.Serializable in order to facilitate persistence of Form Bean instances. The Sample Form Bean below has two members, each member has a getter and setter method associated with it.
public static class ProfileFormBean extends java.io.Serializable { private int age; private String name; public void setAge(int age) { this.age = age; } public int getAge() { return this.age; } public void setName(String name) { this.name = name; } public String getName() { return this.name; } }
Form Beans are most often used to pick up data that is submitted from a <netui:form> tag, or incoming data from a back-end resource. Once the data has been picked up by a Form Bean instance, it is then passed to an Action method.