|
The Java Foundation Classes (JFC) Project Swing and Enterprise JavaBeans architectures share one key design element: the separation of data from the display or manipulation of that data. In Enterprise JavaBeans applications, the entity bean provides a view of the data. The underlying data storage mechanism can be swapped out and replaced without changing the entity bean view or recompiling any code that uses the view. Project Swing separates the view and control of a visual component from its contents, or data model. However, although Project Swing does have the components that make up a Model-View-Controller (MVC) architecture, it is more accurately described as a model-delegate architecture. This is because the controller part of the Project Swing interface, often the mouse and keyboard events the component responds to, is combined with the physical view in one User Interface delegate (UI delegate) object.
Each component, for example a
This chapter describes Project Swing user interface components in terms of the In a Rush? This table links you directly to specific topics.
[TOP] | |||||||||
|
| ||||||||||||