12.06.2013 Views

Thesis full text PDF - Politecnico di Milano

Thesis full text PDF - Politecnico di Milano

Thesis full text PDF - Politecnico di Milano

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Capitolo 5<br />

PoliBook<br />

In questo capitolo viene descritta la realizzazione <strong>di</strong> un social network secondo<br />

l’approccio proposto da questa tesi seguendo tutte le fasi dalla selezione dei<br />

requisiti, al design fino all’implementazione finale usando le tecnologie e gli<br />

strumenti illustrati nei capitoli precedenti.<br />

5.1 Obiettivo<br />

L’obiettivo è quello <strong>di</strong> realizzare PoliBook, un ipotetico social network de<strong>di</strong>-<br />

cato agli studenti del <strong>Politecnico</strong> <strong>di</strong> <strong>Milano</strong>, dove gli utenti possano perso-<br />

nalizzare il proprio profilo, estendere le proprie amicizie online, aggregarsi in<br />

gruppi e scambiare informazioni.<br />

Inoltre vogliamo che sia presente un sistema <strong>di</strong> aggiornamenti, notifiche<br />

e rating.<br />

5.2 Architettura<br />

Trattandosi <strong>di</strong> una web application, come architettura si è scelto <strong>di</strong> usare<br />

l’ambiente Java e in particolare il web container Tomcat con servlet e jsp.<br />

Per il database la scelta è caduta su Db4object [13], un database ad oggetti<br />

open-source dotato anche <strong>di</strong> interfaccia Java.<br />

Db4o supporta il multi-threa<strong>di</strong>ng e tre <strong>di</strong>versi meto<strong>di</strong> <strong>di</strong> query: Query-<br />

By-Example (QBE), Native Queries (NQ) e SODA API.<br />

47

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!