Web Based Java Prog - 42T+38L
Web Based Java Prog - 42T+38L
Objective: To learn advanced concepts in java programming, and perform web Programming using Java.
Text Book:
Core and Advanced Java Black Book / Dreamtech Press
References:
Servlet and JSP: A Tutorial by Budi Kurniawan / Brainy Software
Spring in Action by Craig Walls / Manning Publications
Advanced Java programming by Uttam K Roy / Oxford University press
Sun Certified Enterprise Architect for Java EE Study Guide by Mark Cade & Humphrey Sheil /
Pearson Education
Professional Java EE Design Patterns by Murat Yener, Alex Theedom & Reza Rahman / Wrox
Sessions 1 & 2
Lecture:
J2EE Overview
J2EE Container
Packaging Web applications
J2EE compliant web application
Deployment tools.
Web application life cycle
Deploying web applications.
Web Services Support
JDBC & Transaction Management
Introduction to JDBC API
JDBC Architecture
JDBC Drivers
JDBC Classes & Interfaces: Driver, Connection, Statement, PreparedStatement, ResultSet and
their relationship to provider implementations
Stored procedures and functions Invocation
SQL Injection overview and prevention
Design Pattern: Data Access Object Pattern
Lab (2 hrs):
Perform database CRUD operations using JDBC classes and interfaces.
Sessions 3, 4 & 5
Lecture:
Servlets: Dynamic Content Generation
Advantages of Servlets over CGI
Servlet Life cycle
Servlet API & Deployment
Servlet Annotations
The Servlet interface
The HttpServlet, HttpServletRequest, HttpServletResponse
Exception Handling
Servlet, DAO, POJO DB Layers
Session
Session Management
Session Tracking with
o Cookies
o HttpSession
Request Dispatcher
Page Navigation
Complete Case study Servlet Based
Lab:
Installing a servlet container (Tomcat)
Adding Server to IDE
Develop a structured dynamic web application (e.g. Library Management System) using servlets,
deploy it in Tomcat
Use HTTP Session in the Air Ticket Reservation System
Reading: Know more about the HTTP protocol at www.w3c.org
Tutorial: Compare which way of session tracking is better Cookies or HttpSession.
Sessions 6 & 7:
Lecture
JSP: Separating UI from Content generation code
MVC architecture
Design Pattern: MVC Pattern
Life cycle of a JSP page
Directives, Implicit and Explicit Objects, Scriptlets, Expressions, Expression Language
Scope
JSP Error Page handling
JSTL
Lab:
Separate UI code from the controller code in your Library Management System by incorporating
JSP and Servlets.
Complete the implementation of Air Ticket Reservation System.
Implement MVC based web application using Servlet, JSP
Sessions 18:
Lecture:
Spring AOP
AOP Overview
Spring AOP
AOP Terminology and annotations: Advice, Join Points, Pointcuts, Aspects
Lab:
Modify earlier Spring MVC application to Log all the requests using AOP