Chapter 16. JavaBeans and Model-View-Controller (MVC) Architecture
by Malcolm W. Garland
IN THIS CHAPTER
This chapter discusses JavaBeans and the MVC design pattern. The J2EE infrastructure implements a three-tiered or layered approach to application implementation. These layers were originally designated as client, middle, and enterprise information systems (EIS). The client tier was conceptualized as the user interface, either a standalone application or a Web browser. The middle tier was visualized as the domain of the business logic where business or application control logic implementations execute. The final tier conceptualized was the EIS—the data store. This architecture conveniently mapped to what had been a long standing design pattern introduced by Xerox: Model-View-Controller. Therefore, to effectively implement J2EE components, developers should possess a basic understanding of the MVC design pattern.
Within this chapter, we also discuss incorporation of JavaBeans into the servlet-JSP workflow. Several MVC best practices are also presented.
|