Web programming

Units WEB1P and WEB2P

SWS group task 2006-2007s2

Group task (Task B)

Your task (as a group) is to extend the functionality of the web application you developed in Task A as follows:

  1. It must allow persistent storage of address book entries in a database.
  2. It must allow searching of entries to find those matching a pattern specified by the user. The match could be with the name, address or any other piece of information stored.
  3. It must allow entries to be amended by the user.
  4. The user must be able to request a report showing the details of all entries held by the system.

Advice

  1. Think carefully about the design of objects to represent the entries. What properties should they have and what type should the properties be? What other operations (methods) should be applicable to an address book entry object?
  2. The Model-View-Controller (MVC) pattern is a good way of structuring a web application. Think carefully about how you can structure your code to achieve this separation.

Constraints

The same constraints on your solution apply as for Task A.

Database access

A database schema has been set up for each group as follows:

Group URL Login Password
A jdbc:mysql://kipper.mech.port.ac.uk:3306/groupa groupa groupa
B jdbc:mysql://kipper.mech.port.ac.uk:3306/groupb groupb groupb
 

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.