13.07.2015 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.

don’t have to wait for an entire new web page to come across the wire, and be rendered by theirbrowsers, before they can view the results. All the requests are collected by Java server pageson the server-side and each of them make the proper AJAX response (5). The e<strong>di</strong>tor allow theuser to save its own project data and to load it at the login. At the moment of the saving of thedata the <strong>di</strong>agram created in the work area is converted in a XML string and saved in a MySQLdatabase on the application server. When the user want to load the project the e<strong>di</strong>tor makes aparsing of the XML string and generates all the figure objects and connections of the <strong>di</strong>agram.For the code generation part the client will invoke a Java Servlet which has the aim of creatingthe needed objects (Server Java classes) to generate all the files of the Web application modelledwith the tool. The server used to contain the application is the Bundled Tomcat 5.5.17 server.The following figure shows the overall architecture of the system.Figure 5.13 – Architecture of the Web e<strong>di</strong>tor system58

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

Saved successfully!

Ooh no, something went wrong!