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 26th September 2017

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

3rd October

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

3 11 10th October

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

4 12

17th October

Java web programming PPT slides

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

31st October

7 15 7th 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 14th November
9 17 21st November
10 18 28th November
11 19 5th December Security (PPT slides)  
  19 Friday 8th December Supervised Work Session 1  
12 20 12th December

Spare slot


  21 19th December CHRISTMAS VACATION  
  22 26th December  
  23 2nd January 2018  
1 24 9th January

Setting coursework 2

Coursework 2
2 25 16th January

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


3 26 23rd January

Security of web applications (PPT)




Glassfish realm screenshot
4 27 30th January


5 28 6th February

Deliverable 1 - draft requirements specification

6 29 13th February

JavaScript exercises

7 30 20th February

Deliverable 2 - draft of user interaction design

8 31 27th February  
9 32 6th March

Client side programming with JavaScript and DHTML (PPT slides)

Example programs

Ajax (PPT)

Deliverable 3 - alpha version of the web application

10 33 13th March Testing (PPT)
11 34 20th March Revision lectures Quiz
12 35 27th March  
  36 3rd April EASTER VACATION  
  37 10th April  
  38 17th April  
  39 Friday 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.