Enterprise web programming

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

APSW unit schedule

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
(Tuesday except
where stated)
Lecture topic Supplementary material
1 9 27th September 2016

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

Web marketplace
2 10

4th October

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

3 11 11th October

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

4 12

18th October

Java web programming PPT slides

Structure of a web application (PPT slides)
5 13 25th October
6 14

1st November

7 15 8th November

JavaServer Faces (JSF) (PPT slides)

Databases and persistence in Java

Enterprise JavaBeans (EJBs)

(PPT slides)

Step by step JPA/JSF webapp

Configuring a datasource in Glassfish

Solving CDI-API problems

Java EE exercise 2

Coursework 1

8 16 15th November
9 17 22nd November
10 18 29th November
11 19 6th December Security (PPT slides)  
  19 Friday 9th December Supervised Work Session 1  
12 20 13th December

Spare slot


  21 20th December CHRISTMAS VACATION  
  22 27th December  
  23 3rd January 2017  
1 24 10th January

Setting coursework 2

Coursework 2
2 25 17th January

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


3 26 24th January

Security of web applications (PPT)




Glassfish realm screenshot
4 27 31st January


5 28 7th February

Deliverable 1 - draft requirements specification

6 29 14th February

JavaScript exercises

7 30 21st February

Deliverable 2 - draft of user interaction design

8 31 28th February  
9 32 7th March

Client side programming with JavaScript and DHTML (PPT slides)

Example programs

Ajax (PPT)

Deliverable 3 - alpha version of the web application

10 33 14th March Testing (PPT)
11 34 21st March Revision lectures Quiz
12 35 28th March  
  36 4th April EASTER VACATION  
  37 11th April  
  38 18th April  
  39 Thursday 27th 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.