You are on page 1of 11

ESCOM-IPN

Web Application Development

Practice 3 Mini-tutorial of MVC in Servlets and JSP (step 1) STEPS


1) Review the users views (what the browser will display), and the high level architecture. 2) Create the development environment that we will use for this project (which you can use for any other example) 3) Create the deployment environment that we will use for this project 4) Perform iterative development and testing on the various components of our web application

The Users View of the web application a Beer Advisor

Tanibet Prez de los Santos Mondragn

1 / 11

ESCOM-IPN

Web Application Development

Here is the architecture

Tanibet Prez de los Santos Mondragn

2 / 11

ESCOM-IPN

Web Application Development

Creating your development environment

Tanibet Prez de los Santos Mondragn

3 / 11

ESCOM-IPN

Web Application Development

Creating the deployment environment

Tanibet Prez de los Santos Mondragn

4 / 11

ESCOM-IPN

Web Application Development

The HTML for the initial form page

Tanibet Prez de los Santos Mondragn

5 / 11

ESCOM-IPN

Web Application Development

Deploying and testing the opening page

Tanibet Prez de los Santos Mondragn

6 / 11

ESCOM-IPN

Web Application Development

Tanibet Prez de los Santos Mondragn

7 / 11

ESCOM-IPN

Web Application Development

The first version of the controller servlet

Tanibet Prez de los Santos Mondragn

8 / 11

ESCOM-IPN

Web Application Development

Compiling, deploying, and testing the controller servlet

Tanibet Prez de los Santos Mondragn

9 / 11

ESCOM-IPN

Web Application Development

Building and testing the model class

Tanibet Prez de los Santos Mondragn

10 / 11

ESCOM-IPN

Web Application Development

Compiling, deploying, and testing the controller servlet Enhance the servlet, version two

Tanibet Prez de los Santos Mondragn

11 / 11