Model-View-Controller ("MVC") This is a architectural design pattern for interactive applications. This design pattern organizes an interactive application.

Slides:



Advertisements
Similar presentations
3 Copyright © 2005, Oracle. All rights reserved. Designing J2EE Applications.
Advertisements

Apache Struts Technology
J2EE PET STORE &.NET PET SHOP Yong-Han Lee & Charles Harsch.
Java 2 – Enterprise Edition Kevin J. LaFata April 21, 2003 UM – St. Louis.
Layers & Tiers Umair Javed Lec - 41.
1 Build a Web Application on J2EE. 2 J2EE Scenario Client – Web Server – EIS Resources Client – Web Server – EIS Resources Client – Application Server.
J2EE Java2 Enterprise Edition by Damian Borth. Contents Introduction Architectures styles Components Scenarios Roles Processing a HTTP request.
Multiple Tiers in Action
J2EE vs..NET Tom Tong. Enterprise Application 1 distributed 2 multiple-platform 3 critical 4 performance 5 security 6 multiple-data sources.
E-business Architecture.NET vs J2EE Judith Molka-Danielsen Feb.27, 2004.
Application Architectures Vijayan Sugumaran Department of DIS Oakland University.
Apache Struts Technology A MVC Framework for Java Web Applications.
Building and Deploying a Simple Web Application. Tomcat and JSP Tomcat is an application server, commonly used to host JSP applications Applications are.
Java Pet Store Application. Outline Introduction Introduction Information Layer Information Layer Application Layer Application Layer Infrastructure Layer.
Struts 2.0 an Overview ( )
UNIT-V The MVC architecture and Struts Framework.
Copyright © 2012 Accenture All Rights Reserved.Copyright © 2012 Accenture All Rights Reserved. Accenture, its logo, and High Performance Delivered are.
CIS 285 ROBINSON WINTER 2005 CIS 285 Web Application Development with Java CIS 285 Sinclair Community College Instructor: Mary Robinson.
Model View Controller (MVC) Rick Mercer with a wide variety of others 1.
Copyright © 2012 Accenture All Rights Reserved.Copyright © 2012 Accenture All Rights Reserved. Accenture, its logo, and High Performance Delivered are.
Copyright © 2012 Accenture All Rights Reserved.Copyright © 2012 Accenture All Rights Reserved. Accenture, its logo, and High Performance Delivered are.
Introduction to J2EE Architecture Portions by Kunal Mehta.
Java Petstore : A Case Study Rohit Nambiar July 2005.
JBoss at Work JAW Motors Application Chapter 1-3 Jeff Schmitt October 9, 2006.
Chapter 8 Script-free pages. Problem with scripting in JSP When you use scripting (declaration, scriplet, expressions) in your JSP, you actually put Java.
Standalone Java Application vs. Java Web Application
第十四章 J2EE 入门 Introduction What is J2EE ?
® IBM Software Group © 2007 IBM Corporation J2EE Web Component Introduction
CPSC 875 John D. McGregor C16 - DSMs. Partitioning _jetta_horn_recall/index.htm?hpt=T2
JSF Introduction Copyright © Liferay, Inc. All Rights Reserved. No material may be reproduced electronically or in print without written permission.
Case Study + MVC Lec Error Pages By means of the page directive, a JSP can be given the responsibility of an Error page An Error JSP will be called.
Pemrograman Web MVC Programming and Design Pattern in PHP 5.
Architectural Patterns Support Lecture. Software Architecture l Architecture is OVERLOADED System architecture Application architecture l Architecture.
Model View Controller (MVC) Bigger than a Pattern: It’s an Architecture Rick Mercer with help from many others 1.
MVC Greg Phelps Trent Spangler. AGENDA  What is MVC  Web Forms vs MVC  Example  Learn More!
A Throttling Layer-7 Web Switch James Furness. Motivation & Goals Specification & Design Design detail Demonstration Conclusion.
Struts Framework Anna Paščenko. What is Struts?  An open source framework for building Java web applications.
JavaServer Faces (JSF) and Ajax Integration. Agenda 대강의 ( 정말로..) 개요 예제 아키텍트라면..
Model View Controller Architecture of Java Web Applications Dr. M V S Peri Sastry, Ph.D.[BITS-Pilani]
Enterprise Java Beans. Model 1 J2EE – Web View Model/View/Controller Model View Control Data base Web Server Model One Architecture HTTP Request HTTP.
Developing MVC based AJAX applications Kapil Mohan Rich Internet Application Developer, Uzanto Consulting A talk by.
Model View Controller MVC Web Software Architecture.
Model View Controller (MVC) Bigger than a Pattern: It’s an Architecture Rick Mercer with help from many of others 1.
Sakai WebApp Structure
Markus Hjort Reaktor Innovations Java Web Development T WWW-palvelun HUT
Page 1 R MVC Design Pattern Definition Properties Describing MVC design patterns.
© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/3 JSP Application Models.
Implementation of SCENS Yan Zhao. Current Status Current implementation is web-based –
Preface IIntroduction Objectives I-2 Course Overview I-3 1Oracle Application Development Framework Objectives 1-2 J2EE Platform 1-3 Benefits of the J2EE.
1 Copyright © 2004, Oracle. All rights reserved. Oracle Application Development Framework.
The basics of knowing the difference CLIENT VS. SERVER.
1 Distributed System using J2EE. 2 What is J2EE?  J2EE (Java2 Enterprise Edition) offers a suite of software specification to design, develop, assemble.
Model View Controller (MVC) an architecture Rick Mercer with help from many of others 1.
Chapter 9 Web Application Design. Objectives Describe the MVC design pattern as used with Web applications Explain the role and responsibilities of each.
E-commerce Foundations By Dr. Gabriel. Using 3-Tier/N-Tier Architecture The presentation tier The business tier The data tier.
Navigation Framework using CF Architecture for a Client-Server Application using the open standards of the Web presented by Kedar Desai Differential Technologies,
Apache Struts Technology A MVC Framework for Java Web Applications.
CS320 Web and Internet Programming Web Application and MVC Chengyu Sun California State University, Los Angeles.
Online Airline Reservation System
Java Web Development with NetBeans IDE -- Kai Qian Chapter 9 Case Study.
J2EE Platform Overview (Application Architecture)
COMP9321 Web Application Engineering Semester 2, 2016
WebSphere Diego Leone.
Introduction to J2EE Architecture
Unit 6-Chapter 2 Struts.
Sakai WebApp Structure
Design and Maintenance of Web Applications in J2EE
Introduction to Struts
Model-View-Controller (MVC) Pattern
ASP.NET MVC Imran Rashid CTO at ManiWeber Technologies.
Presentation transcript:

Model-View-Controller ("MVC") This is a architectural design pattern for interactive applications. This design pattern organizes an interactive application into three separate modules Most Web-tier application frameworks use some variation of the MVC design pattern. Allows for parallel development since the application is modularized.

Model The application model is where the data representation and business logic for the application will reside. All back-end processing resides within this tier –EJB’s –Java Classes –Data Access Objects

View Provides the visual and data presentation to the application user Manages the user input captured from the application user. WML and HTML presentation sites are maintained within this layer of the framework

Controller The controller is responsible for all the interaction between the Model (back-end) and View (presentation) layers. It is also responsible for dispatching requests and controlling application flow

Development Environment Net Beans 3.5 (Java IDE) Dreamweaver 4 (HTML and WML development) Front Page (HTML and WML development) Ant (Build system)

Development Environment

Result: J2EE Web Application Module The J2EE Web Application specification defines how to package resources into a portable Web Application archive (.war ) This allows file to be deployed on multiple application server (such as WebLogic Server and Tomcat) that supports J2EE Web Applications.