Decoupling MVC: J2EE Design Patterns Integration.
Francisco Maciá Pérez, Virgilio Gilart-Iglesias, Diego Marcos-Jorquera, Juan Manuel García‐Chamizo, Antonio Hernández Sáez · International Conference on Enterprise Information Systems · 2005
In this paper we propose a model based on the Model-View-Controller design paradigm and built over the integration of open source frameworks, which are widely supported by the software architect community. The main contribution of this model lies in that it provides a true decoupling of the MVC paradigm’s model, view and controller elements. This approach eases the horizontal development and maintenance of largescale distributed network applications. In order to concretize our model, we have based our prototype application in the following three frameworks. First, the Struts framework in which the controller element resides. Second, the Cocoon framework which serves as the basis for the view. And, finally, the J2EE business components that constitute the model. This led us to integrate these three frameworks so as to decouple the referred MVC elements, through the use of the Cocoon-Plugin (as the View-Controller tie) and Struts-EJB (which links the Model and the Controller elements).