Glossary for the Web Tier


Action
An action does not require implementation of any specific interface or extending any specific base class. It is any public method that takes no arguments, and returns a String. The return value is used to drive the navigation rules used to switch from one page to another.
ActionListener
ActionListener is a classic event listener following JavaBeans design patterns. It is implemented either as an external class that implements the ActionListener interface, and includes a processAction() method that takes an ActionEvent, or as a public method on some backing bean with a return type of void that accepts an ActionEvent parameter. An action listener of either type can examine and/or modify the state of all components in the current view.

© Sun Microsystems 2004. All of the material in The Java BluePrints Solutions Catalog is copyright-protected and may not be published in other works without express written permission from Sun Microsystems.