Open Access Open Access  Restricted Access Subscription or Fee Access

Improved MVC for J2EE Architecture

Rohit Miri, Dr. Priyanka Tripathi, S.R. Tandan, Shikha Gupta

Abstract


The model view controller (MVC) is a fundamental design pattern for the separation between user interface logic and business logic. Since applications are very large in size these days and the MVC design pattern can weak the coupling among the different application tiers of application. this paper presents a web application framework based on MVC in J2EE platform, and extends it with XML so that the framework is more flexible, expansible and easy to maintain. This is a multi tier system including presentation layer, business layer, data persistence layer and database layer. This separate codes, and improve maintainability and reusability of the application. In this paper proposes a fusion model to reinforce MVC architecture, where we are trying to display different types of error on same page with the help of try catch and finally block in place of displaying various errors on different pages. In this paper we are displaying the type of error with the help of error code generated by the database server and with the help of try, catch and finally block.

Keywords


J2EE, MVC, Try Catch block

Full Text:

PDF

References


Barrett, R., Delany, S., 2004, openMVC: A Non- proprietary Component-based Framework for Web Applications, WWW2004.

Chun, L., Yanhua, W., Hanhong, L., 2003, A Novel Web Application Frame Developed by MVC, Software Engineering Notes, 28(2).

Esposito, D., 2010. Programming Microsoft ASP.NET MVC, Microsoft Press.

Fowler, M., 2003. Patterns of Enterprise Application Architecture, Addison-Wesley, Boston.

Gamma, E., Helm, R., Johnson, R., Vlissides, J.,1995. Design Patterns, Addison Wesley, Reading, MA.

Goldberg, A., Robson, D., 1985. Smalltalk-80 : the language and its implementation, Addison-Wesley.

Krasner, G.E., Pope, S.T., 1988. A Cookbook for Using the Model-View Controller User Interface Paradigm in Smalltalk-80. Journal of Object-Oriented Programming, 1(3), 26-49.

Mahmoud, Q., 2003. Servlets and JSP Pages Best Practices, http://www.oracle.com/technetwork/ articles/javase/Servlets-jsp-140445.html. Thomas, D., Hansson, D.H., 2007. Agile Web Development with Rails. The Pragmatic Bookshelf.

Shu-qiang Huang, Huan-ming Zhang, ” Research on Improved MVC Design Pattern Based on Struts and XSL” , in Information Science and Engineering ISISE 08 International Symposium on, 2008, vol. 1 PP. 451 – 455

Juanjuan Yan; Bo Chen; Xiu-e Gao, "Le Wang; Research of Structure Integration Based on Struts and Hibernate" , in 2009 WRI World Congress on Computer Science and Information Engineering,2009, vol. 7,PP. 530-534

Wojciechowski, J.; Sakowicz, B.; Dura, K.; Napieralski, A.,"MVC model, struts framework and file upload issues in web applications based on J2EE platform", in Proceedings of the International Conference on Modern Problems of Radio Engineering, Telecommunications and Computer Science 2004, 2004, ,PP 342-345 [4] Erxiang Chen; Minghui Liu, "Research and Design on Library Management System Based on Struts and Hibernate Framework", in WASE International Conference on Information Engineering ICIE 09, 2009, Vol. 2,PP. 310-313

Yonglei Tao; "Component- vs. application-level MVC architecture", in Frontiers in Education 2002 FIE 2002. 32nd Annual,2002, Vol 1,PP. T2G-7 - T2G-10 [6] Meiyu Fang, "Design and Implement of a Web Examination System Using Struts and EJB" ,Seventh International Conference on in Web-based Learning 2008, ,, 2008,pp. 25-28

Wang Ning; Li Liming; Wang Yanzhang; Wang Yi-bing; Wang Jing,"Research on the Web Information System Development Platform Based on MVC Design Pattern",in IEEE/WIC/ACM International Conference on Web Intelligence and Intelligent Agent Technology, 2008 , Vol 3,pp. 203-206

A. Hussey, D.Carrington, “Comparing the MVC and PAC architectures: a formal perspective”, IEE Proceedings Software Engineering, Vol 144, Issue 4, Page 224-36.

F.A. Masound, D.H. Halabi, “ASP.NET and JSP Frameworks in Model View Controller Implementation”, Imormation and Communication Technologies, 2006 ICTTA ’06 2 nd , Vol 2, Pages 3593-8.

M.J. Mahemoff, L.J. Johnston, “Handling multiple domain objects with Model-View-Controller”, Technology of Object-Oriented Languages and Systems, 1999, Pages 28-39.

T. Yonglei, “Component- vs. application-level MVC architecture”, Frontiers in Education, 2002, 32 nd Annual, Pages T2G-7 – T2G-10

D.M. Selfa, M.Carrillo, M. del Rocio Boone, “A Database and Web Application Based on MVC Architecture”, 16 th International Conference on Electronics, Communcations and Computers, 2006, Pages 48-53.

A. Stoughton, “A Functional Model-View-Controller Software Architecture for Command-Oriented Programs”, International Conference on Functional Programming, 2008, Pages 1-12.

G.E. Krasner, S.T. Pope, “A Description of the Model-View-Controller User Interface Paradigm in the Smalltalk-80 System”, Journal of Object Oriented Programming, 1988, Pages 26-49.

M. Veit, S. Herrmann, “Model-View-Controller and Object Teams: A Perfect Match Paradigms”, 2nd International Conference on Aspect-Oriented Software Development , 2003, Pages 140-149.

M. Fowler, "GUI Architectures", http://martinfowler.com/eaaDev/uiArchs.html, Accessed May 2010.

S. Burbeck, "Applicatons Programming in Smalltalk-80TM: How to use Model-View-Controller (MVC)", http://www.tbrouard.fr/IMG/pdf/burbeck-mvc.pdf, 1992, Accessed May 2010.

S. Hansen, T.V Fossum, "Refactoring Model-View-Controller", Journal of Computing Sciences in Colleges , Volume 21 Issue 1, 2005.


Refbacks

  • There are currently no refbacks.


Creative Commons License
This work is licensed under a Creative Commons Attribution 3.0 License.