<?xml version="1.0" encoding="utf-8"  ?>
<rss version="2.0">
	<channel>
		<title>Web Architectures 2017/18 &gt; Learning material &gt; Lectures</title>
		<link>http://latemar.science.unitn.it/segue/index.php?&amp;action=site&amp;site=2018WebArchitectures&amp;section=393&amp;page=1357</link>
		<description></description>
		<lastBuildDate>Thu, 23 Feb 2023 02:34:40 +0100</lastBuildDate>
		<generator>Segue RSS Generator</generator>
		<item>
			<title>Assignment 3</title>
			<link>http://latemar.science.unitn.it/segue/index.php?&amp;action=site&amp;site=2018WebArchitectures&amp;section=393&amp;page=1357&amp;story=3259&amp;detail=3259</link>
			<guid isPermaLink="true">http://latemar.science.unitn.it/segue/index.php?&amp;action=site&amp;site=2018WebArchitectures&amp;section=393&amp;page=1357&amp;story=3259&amp;detail=3259</guid>
			<pubDate>Fri, 13 Oct 2017 7:05:00 +0200</pubDate>
			<author>Marco Ronchetti marco.ronchetti@unitn.it</author>
<description>&lt;div class=&quot;story&quot; style=&quot;margin-bottom: 10px; clear: both; color: rgb(68, 68, 68); font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial;&quot;&gt;&lt;div class=&quot;story&quot; style=&quot;margin-bottom: 10px; clear: both;&quot;&gt;&amp;quot;Document&amp;rdquo; 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 &amp;quot;addString&amp;quot; (which appenda a String at the end of the Document) and a method &amp;quot;toString&amp;quot; (which overrides the toString method of the Object class) used to print out the Document.&lt;br /&gt;&lt;br /&gt;A server shows a remote method &amp;ldquo;addTimestamp&amp;rdquo; with a parameter of type Document. The method adds the string &amp;quot;Viewed on &amp;quot;+timestamp in the Document.&amp;nbsp;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;A client will create a Document, and ask the&amp;nbsp; server to add the timestamp. At the end the client prints the content of the Document.&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;If possible, try to use two different (virtual) machines: one for the client and one for the server.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Deadline Oct.22, 23:59&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;You have to deliver:&lt;br /&gt;- source code&lt;br /&gt;- a report.&lt;br /&gt;&lt;br /&gt;The report must have the following structure:&lt;br /&gt;&lt;ul&gt;    &lt;li&gt;&amp;nbsp; Title Page    &lt;ul&gt;        &lt;li&gt;containing date, title (&lt;strong&gt;RMI DEMO),&amp;nbsp;&lt;/strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;your name)&lt;/li&gt;    &lt;/ul&gt;    &lt;/li&gt;    &lt;li&gt;Introduction&lt;/li&gt;    &lt;li&gt;Implementation    &lt;ul&gt;        &lt;li&gt;Describe how you implemented the solution&lt;/li&gt;    &lt;/ul&gt;    &lt;/li&gt;    &lt;li&gt;Deployment    &lt;ul&gt;        &lt;li&gt;Short description of the main points of your code&lt;/li&gt;    &lt;/ul&gt;    &lt;/li&gt;    &lt;li&gt;Comments and notes (optional)    &lt;ul&gt;        &lt;li&gt;any problems encountered during the project development&lt;/li&gt;        &lt;li&gt;Any other comment&lt;/li&gt;    &lt;/ul&gt;    &lt;/li&gt;&lt;/ul&gt;zip the code, and send the zip and the report via e-mail (possibly renaming the zip as zi_)&lt;br /&gt;to :&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;marco.ronchetti at unitn.it&lt;/strong&gt;&lt;br /&gt;with subject:&lt;strong&gt;&lt;span&gt; &lt;/span&gt;2017-WebArch-Assignment03&lt;br /&gt;NOTE:&lt;br /&gt;&lt;br /&gt;&lt;/strong&gt;Before embarking in the project execution, I strongly suggest to follow the Oracle tutorial on Java RMI:&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;&lt;a href=&quot;http://docs.oracle.com/javase/tutorial/rmi/overview.html&quot; style=&quot;color: rgb(153, 0, 0); text-decoration: none;&quot;&gt;http://docs.oracle.com/javase/tutorial/rmi/overview.html&lt;br /&gt;&lt;/a&gt;&lt;/strong&gt;&lt;br /&gt;Copy the code, and run everything on your machine.&lt;/div&gt;&lt;/div&gt;&lt;br class=&quot;Apple-interchange-newline&quot; /&gt;</description>
		</item>
	</channel>
</rss>