Web programming

Units WEB1P and WEB2P

WEB1P unit schedule 2009OctDL

Subject to revision

The topics covered in the unit will include:

The architecture of web applications: clients and servers; the HTTP protocol. Static versus dynamic web content. How web servers generate dynamic content (CGI; built-in; bolt-on approaches). 
Developing dynamic web pages using the Java 2 Platform, Enterprise Edition (J2EE). Approaches using servlets and Java Server Pages (JSP). Accessing request and response attributes. Scriptlets. The request, session and servlet context scopes. Comparison of Java approaches with Perl and other languages. 
Structuring applications. The Model-View-Controller (MVC) pattern. Implementing MVC using Java: beans, servlets and JSP pages. Linking servlets and JSPs to respond to a request. Application layering. 
Linking a web application to a database. Java Database Connectivity (JDBC). Connections and pooling. SQL statements in the application. Transactions. 
Dynamic HTML: making a web page dynamic. JavaScript, Cascading Style Sheets. Image processing. Verifying forms. Event handling. Implementation of complex user interface elements. Separation of form and content. 
The marketplace for website tools: servers, browsers, databases, etc. 
Session number
University week number Date
(Mondays except
where stated)
Course material Practical exercises
1
11 5th October 2009

Introduction (unit admin topics)

Web architecture; HTTP and CGI; Alternatives to CGI

PPT slides

Web marketplace

Introduction to NetBeans

Java catch up

2
12

12th October

Passing data from an HTML page to a program

PPT slides

Using NetBeans to create servlets and JSPs

Web programming exercises

3
13 19th October

Web programming in Java (servlets and JSPs)

Servlet and JSP PPT slides

MVC PPT slides

4
14

26th October

5
15 2nd November

Client side programming with JavaScript and DHTML

PPT slides

Example programs

JavaScript exercises

6
16 9th November
7
17 16th November

Databases and JDBC ( PPT slides)

Web programming exercises
  18 23rd November General
8 19 30th November

Hibernate

9 20 7th December

Security (PPT slides)

Future trends

Review of servlet exercises
  21 14th December CHRISTMAS VACATION  
  22 21st December  
  23 28th December 2009  
  24 4th January 2010

No chat scheduled

 
 10
25 13th January

No chat scheduled

 
 

Last updated by Prof Jim Briggs of the School of Computing at the University of Portsmouth

 
The web programming units include some material that was formerly part of the WPRMP, WECPP, WPSSM and WEMAM units.