- JavaBeans
- How JavaBeans Components Are Used in Java Builder Tools
- Examples of Using JavaBeans Components in JBuilder and Forte
Examples of Using JavaBeans Components in JBuilder and Forte
One of the major applications of JavaBeans is for rapid application development, or RAD, a powerful feature used in software-development tools for visual programming. RAD allows you to select a component and drop it in a desired location. The click-and-drop capability enables you to write programs with little or no coding, thereby greatly improving software reusability, productivity, and maintainability.
RAD in Java builder tools is completely based on JavaBeans. You can install a JavaBeans component on the component palette and then select the component and drop it onto the GUI applications or applets. Figure 3 and Figure 4 show a user interface created in JBuilder and Forte, respectively. The builder tools do enable you to create only user interfaces, but you also can generate event handlers and register listeners automatically without coding. For more information, please read my book Rapid Java Application Development Using JBuilder 4/5/6 (Prentice Hall PTR, 2001).
Figure 3 You can create user interfaces using the UI Designer in JBuilder.
Figure 4 You can create user interfaces using the Form in Forte.