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 not yet loaded

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-Assignment02. Rename the zip file with extension .zi_ and attach it to the message.

Deadline:Sunday, Oct. 29, 23:59


Learning material

powered by segue
segue_logo