IT-Universitetet i København
  Tilbage Kursusoversigt
Kursusnavn (dansk):Interaktive webtjenester med Java og XML (kl. 16.00-21.30) 
Kursusnavn (engelsk):Interactive Web Services with Java and XML 
Semester:Efterår 2003 
Udbydes under:cand. it, softwareudvikling (swu) 
Omfang i ECTS:7,50 
Min. antal deltagere:
Forventet antal deltagere:25 
Maks. antal deltagere:50 
Formelle forudsætninger:Each student should be able to (1) write Java programs of moderate size, corresponding to Grundlæggende Programmering or similar, and a follow-up programming project; (2) have working knowledge of XML and associated technologies (such as namespaces, DTDs, XML Schema, XSLT, etc), corresponding to Webprogrammering or similar. 
Læringsmål:The goal of the course is to provide the students with a good basis for understanding and developing web services with Java and XML. After the course the students should be able to (1) understand and use Java-based technologies such as servlets, JSP, and JWIG, for developing web services; (2) understand and use different XML manipulation models such as JDOM and DVM; and (3) understand and use XML-based technologies such as SOAP, WSDL, and UDDI for web service development. 
Fagligt indhold:

The purpose of the course is to provide a practical basis for using current technologies in the development of interactive web services with Java and XML. The course covers the following topics: Introduction to Java and Web programming, servlets, JWIG, and Application-to-Application web services.

Java is very well-suited for the development of interactive web services both because of the language (it is portable, well-defined, secure, and has a rich set of libraries) and because there ists a number of Java-based technologies for such development (Java Server Pages, servlets, and JWIG).

Servlets, or Java-based CGI scripts, are written in pure Java using a servlet API. A servlet is like an applet, but it is running on the server and its purpose is to react to a HTTP equest and generate a response. In this fashion, servlets can be seen as a way to extend the web server.

JWIG is Java-based framework for programming web services. In addition to the usual benefits one obtains from Java it has four novel features: a stronger session concept; XML templates as first-class values; shared state is accessed through usual scope mechanisms; static guarantees about the behavior of running services.

The technologies described above allows the user to interactively access a web service. A current trend is to allow applications to access a web service by providing sufficient interface information about the service. Such web services are called Application-to-Application. We will look at current XML technologies such as SOAP, WSDL, and UDDI for writing such services.

During the course two mini projects (replacing lectures) are scheduled. In the first mini project the students will be asked to implement their own browser; in the second mini project the students will be asked to implement a client that interacts with a publically available application-to-application web service.


  • Lectures every week from 16.00 to 18.30 (except during the two project periods, in which the lectures are replaced by project question hours).

  • Exercise classes from 19.00 to 21.30 (with instructors) every week.

  • 2 mandatory group projects, in which the theory is used to construct a working system.
    During the two project periods, the lectures are replaced by question hours. The students are not expected to use more hours during these periods than usual.

Eksamensform og -beskrivelse:X. experimental examination form (7-scale; external exam), 13-skala, Ekstern censur

A 4-hours written exam graded by the Danish 13-scale, external censor. Approval of the two mandatory group projects is a prerequisite for participating in the exam. The grade will not however depend on the projects. All usual aids, except computers, are allowed at the exam.  

Litteratur udover forskningsartikler:Lecture notes, Web tutorial, by Anders Møller and Michael Schwartzbach available electronically. The notes will also be available as Kompendium