Incubator > Beehive
 

Glossary of Terms

Terms

Beehive Control -- Beehive Controls are designed to make it easier to integrate complex resources into your Java application. For example, the A Beehive Control consists of two JAVA files: a Control implementation file, and a Control interface file.

Contoller file

Contoller implementation

Contoller interface

Contoller file

Data Binding

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 must extend the class org.apache.beehive.netui.pageflow.FormData. The Sample Form Bean below has two members, each member has a getter and setter method associated with it.

    public static class ProfileFormBean extends FormData
    {
        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.

JWS

JPF

JCS

<netui> tag library

Page Flow