Enterprise web programming

Units ENTWA (Level 6) and APSW (Level 7)

APSW unit schedule 2015-2016

Subject to revision

The topics covered in the unit will include:

1 The architecture of web applications: clients and servers; the HTTP protocol. Static versus dynamic web content. How web servers generate dynamic content.
2 Software tools; use of an integrated development environment; testing strategies and techniques; version control; issue tracking
3 Developing dynamic web pages using the Java 2 Platform, Enterprise Edition (J2EE). Approaches using servlets and Java Server Pages (JSP). Structuring applications. The Model-View-Controller (MVC) pattern. Application layering. Frameworks for developing web applications: EJB, JPA and JSF. Web services. Ajax.
4 Security issues for web-based systems. Common threats. Common techniques.
Session number
week number
(Monday except
where stated)
Lecture topic Supplementary material
1 9 21st September 2015

Introduction (unit admin topics), books and outline (how to study)

Setting up NetBeans

Java catch up

Using NetBeans to create JSFs


Java EE exercise 1

2 10

28th September

Web architecture; HTTP and CGI; Alternatives to CGI (PPT slides)

3 11 5th October

Passing data from an HTML page to a program (PPT slides)

4 12

12th October

Java web programming PPT slides

5 13 19th October Structure of a web application (PPT slides) Web marketplace
6 14

26th October

JavaServer Faces (JSF) (PPT slides)

Step by step JPA/JSF webapp

Configuring a datasource in Glassfish

Solving CDI-API problems

Java EE exercise 2

Coursework 1

7 15 2nd November

Databases and persistence in Java

Enterprise JavaBeans (EJBs)

(PPT slides)

8 16 9th November
9 17 16th November
10 18 23rd November
11 19 30th November Security (PPT slides)  
  19 Friday 4th December Supervised Work Session 1  
12 20 7th December

Spare slot


  21 14th December CHRISTMAS VACATION  
  22 21st December  
  23 28th December  
1 24 4th January 2016

Setting coursework 2

Coursework 2
2 25 11th January

Kenai tools: Version control and issue tracking (PPT slides)



3 26 18th January

Security of web applications (PPT)


Glassfish realm screenshot
4 27 25th January


5 28 1st February

Deliverable 1 - draft requirements specification

6 29 8th February

Client side programming with JavaScript and DHTML (PPT slides)

Example programs

JavaScript exercises

7 30 15th February

Deliverable 2 - draft of user interaction design

8 31 22nd February

Ajax (PPT)

9 32 29th February Testing (PPT)

Deliverable 3 - alpha version of the web application

10 33 7th March Revision lectures Quiz
11 34 14th March  
12 35 21st March  
  36 28th March EASTER VACATION  
  37 4th April  
  38 11th April  
  39 Friday 22nd April Supervised Work Session 2  

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

The enterprise web programming units include some material that was formerly part of the WEB1P and WEB2P units.