Login: password:
Forgot your password?
Learning material
Lectures
You can use a tiny URL to arrive here:


Lectures are on:
- Wednesday, 16:00-18:00 room A212
- Friday, 9:00-11:00 room B104

Video of the lectures will (hopefully) will be available, starting with the 11 Oct. Lecture.


Here you find a zip with the source code:
latemar.science.unitn.it/segue_userFiles/2015WebArchitectures/src.zip

See slide 60 in the lecture.

Deadline: Sunday, Sept. 24, 23:59

You have to deliver:
code + report in a zip file
Send it via e-mail to marco.ronchetti at unitn.it, subject 2017-WebArch-Assignment01. Rename the zip file with extension .zi_ and attach it to the message.

Networking in Java

The report must have the following structure:
  • Title Page containing date, title , your name
  • Introduction (problem statement, description of the domain)
  • Explanation (describe how you solved the problem)
  • Implementation (report and comment the most relevant pieces of soure code and config files)
  • Deployment (screen shots of your app running, deocumenting the various steps)
  • Comments and notes (optional: any problems encountered during the project development, any other comment


XML-17.pdf
Download Arrow Download (323.82KB)

NO LECTURES ON Sept. 28/29 !

XMLSchema-2015.pdf
Download Arrow Download (709.16KB)

Jaxp-2015.ppt.pdf
Download Arrow Download (2.97MB)

XML-Advanced2014.ppt
Download Arrow Download (1.07MB)

1) Write an XML Schema for the  XML file which you find here.

2) Write an XSL transformation that, from the given file, generates a CSV file containing the following fields:
- item number
- Price
Write a Java program that runs the transformation.

3) Extract the same information with XPath.

Deliver a zip containing a report, the XML Schema, the XSL file, the resulting CSV file, and the source of the two Java files (the ona using XSLT and he one using XPath).

Send it via e-mail to marco.ronchetti at unitn.it, subject 2017-WebArch-Assignment02. Rename the zip file with extension .zi_ and attach it to the message.

Deadline:Sunday, Oct. 15, 23:59

RMI17.ppt
Download Arrow Download (1.53MB)
Video is now avalable! Use CHROME to view it - other browsers might have problems

here: http://latemar.science.unitn.it:3000/lecture.html?content=lectures/WebArch17/Lecture7

"Document” is custom class (i.e. a class that you build), which is able to keep a set of strings (an arbitrary number of strings), and to print them. It has methods "addString" (which appenda a String at the end of the Document) and a method "toString" (which overrides the toString method of the Object class) used to print out the Document.

A server shows a remote method “addTimestamp” with a parameter of type Document. The method adds the string "Viewed on "+timestamp in the Document.  

A client will create a Document, and ask the  server to add the timestamp. At the end the client prints the content of the Document. 

If possible, try to use two different (virtual) machines: one for the client and one for the server.

Deadline Oct.22, 23:59


You have to deliver:
- source code
- a report.

The report must have the following structure:
  •   Title Page
    • containing date, title (RMI DEMO),  your name)
  • Introduction
  • Implementation
    • Describe how you implemented the solution
  • Deployment
    • Short description of the main points of your code
  • Comments and notes (optional)
    • any problems encountered during the project development
    • Any other comment
zip the code, and send the zip and the report via e-mail (possibly renaming the zip as zi_)
to : marco.ronchetti at unitn.it
with subject: 2017-WebArch-Assignment03
NOTE:

Before embarking in the project execution, I strongly suggest to follow the Oracle tutorial on Java RMI: http://docs.oracle.com/javase/tutorial/rmi/overview.html

Copy the code, and run everything on your machine.


JNDI 2015.ppt.pdf
Download Arrow Download (2.21MB)
Video is now avalable! Use CHROME to view it - other browsers might have problems.
NOTE: after 26 min the camera stopped recording - nothing seems to happen for 20 sec but then the audio resumes, and synchronzed slides are there anyway. Just leave it going without doing anything.

http://latemar.science.unitn.it:3000/lecture.html?content=lectures/WebArch17/Lecture8

Session beans 2017.ppt.pdf
Download Arrow Download (302.91KB)
VIdeo of part 1 (three simple slides) not yet loaded

Video is now avalable! Use CHROME to view it - other browsers might have problems

Part 1: Reminder about jars and JavaBeans - not yet available, but it is som simple stuff

Part 2: Introduction to EJB: http://latemar.science.unitn.it:3000/lecture.html?content=lectures/WebArch17/Lecture9b

Part 3: EJB 3.0: http://latemar.science.unitn.it:3000/lecture.html?content=lectures/WebArch17/Lecture9c

EJBIntroPart2.pdf
Download Arrow Download (170.17KB)
Video is now avalable! Use CHROME to view it - other browsers might have problems.

Video of part 1 of the lecture: http://latemar.science.unitn.it:3000/lecture.html?content=lectures/WebArch17/Lecture10a

Video of part 2 of the lecture: http://latemar.science.unitn.it:3000/lecture.html?content=lectures/WebArch17/Lecture10b



Install Wildfly.

Write an enterprise bean which exposes methods for giving a string containing the date and the time of the day.

Deploy the enterprise bean on WIldfly.


Write a client (a standard Java app) which connects to the bean, asks twice the method on the bean and writes the result on screen.


You have to deliver:
- source code
- a report.

The report must have the following structure:
Title Page containing date, title (Accessing an enterprise bean), your name)
Implementation (report and comment the source code and config files)
Deployment (screen shots of your app running, documenting the various steps)
Comments and notes (optional: any problems encountered during the project development, any other comment

Send it via e-mail to marco.ronchetti at unitn.it, subject 2017-WebArch-Assignment04. Rename the zip file with extension .zi_ and attach it to the message.

Deadline:Sunday, Oct. 29, 23:59

Hibernate-Entities2017.pdf
Download Arrow Download (854.03KB)
Video is now avalable! Use CHROME to view it - other browsers might have problems.

Video of part 1 of the lecture: http://latemar.science.unitn.it:3000/lecture.html?content=lectures/WebArch17/Lecture11a

Video of part 2 of the lecture: http://latemar.science.unitn.it:3000/lecture.html?content=lectures/WebArch17/Lecture11b

Video is now avalable! Use CHROME to view it - other browsers might have problems.

This time it has a weird format - only slides + audio, no video. Be patient till it loads.

  http://latemar.science.unitn.it:3000/lecture.html?content=lectures/WebArch17/Lecture12

Write a simple app to manage students in a University.

The app is composed by a storage tier, reachable via ORM.

The storage tier offers the folllowing functionalities:
- add course
- add student to course
- given a student, find all the courses s/he is enrolled in
- giiven a course, find all the students enrolled in the course.

Access to the storage tier can be done via three different clients:
- a local client (traditional Java Desktop app)
- a remote client (via RMI)
- a remote client (via EJB)


zip the code, and send the zip and the report via e-mail (possibly renaming the zip as zi_)
to : marco.ronchetti at unitn.it
with subject: 2017-WebArch-Assignment05

Deadline:Sunday, Oct. 12, 23:59

Video is now avalable! Use CHROME to view it - other browsers might have problems.

http://latemar.science.unitn.it:3000/lecture.html?content=lectures/WebArch17/Lecture13

Video is now avalable! Use CHROME to view it - other browsers might have problems.

http://latemar.science.unitn.it:3000/lecture.html?content=lectures/WebArch17/Lecture14

No lectures on the week Nov 12-18

Video is now avalable! Use CHROME to view it - other browsers might have problems.

http://latemar.science.unitn.it/LODE3/_webarch15_.mp4

Video is now avalable! Use CHROME to view it - other browsers might have problems.

The camera fell on the floor right before starting the lecture, and broke. As a result the images are blurried.

http://latemar.science.unitn.it:3000/lecture.html?content=lectures/WebArch17/Lecture16

Extend assignment 5, by writing a web client to access the functionalities.
You are required to do both a Servlete and a JSP implementation.

Deadline:Sunday, Dec. 3, 23:59

Filters17.pdf
Download Arrow Download (228.91KB)

Video is now avalable! Use CHROME to view it - other browsers might have problems.

http://latemar.science.unitn.it:3000/lecture.html?content=lectures/WebArch17/Lecture17

Video is now avalable! Use CHROME to view it - other browsers might have problems.

http://latemar.science.unitn.it/cad/lecture.html?content=lectures/WebArch17/Lecture18

Discovering a java class
In the provided jar (see here below) there are two classes.

zipped jar file

Find out:
- What is their name?
- Where do they inherit from?
Only for the outer class:
- which methods are exposed by the class (ignore the inherited ones)?
- what is every public method doing? Try to guess what is the meaning of their params. (suggestion: try to run each method).


You have to deliver:
- source code
- a report.

The report must have the following structure:
  • Title Page containing date, title (Discovering a java class, your name)
  • Introduction (problem statement, description of the domain, i.e. which data will you be dealing with?)
  • Implementation (report and comment the mos trelevant pieces of soure code and config files)
  • Deployment (screen shots of your app running, deocumenting the various steps)
  • Comments and notes (optional: any problems encountered during the project development, any other comment
zip the code, and send the zip and the report via e-mailto : marco.ronchetti at unitn.it

Deadline Dec  9, 2017 23:59

ECMA-17.pdf
Download Arrow Download (1.01MB)


Learning material

powered by segue
segue_logo