60 likes | 246 Views
Filippo Ricca CINI at DISI, Genova, Italy Mariano Ceccato ITC-Irst, Trento, Italy. Bibliographic system. Bibliographic system. The Bibliographic system is a “desktop application” that helps a secretary to manage Bibliographic documents.
E N D
Filippo Ricca CINI at DISI, Genova, Italy Mariano Ceccato ITC-Irst, Trento, Italy Bibliographic system
Bibliographic system • The Bibliographic system is a “desktop application” that helps a secretary to manage Bibliographic documents. • A document has the following fields: author, title, year of publication and price. • The secretary can search that information for values he/she specify.
F. Ricca, Paolo Tonella # Analysis of Web Applications # 2001 # 5 ------------------------------------------------------------ Alessandro Marchetto, Filippo Ricca # Testing of Ajax Web applications # 2007 # 8 ------------------------------------------------------------ M. Ceccato # AOP is OK? # 2004 # 7 ------------------------------------------------------------ M. Ceccato, F. Ricca # OOP vs. AOP # 2005 # 5 Search • The search is case-sensitive and use partial matches. • Suppose that the database is populated with the data: • Suppose to have the GUI on the right. • If you insert “Ceccato” and click “Find” the result is: Ceccato M. Ceccato # AOP is OK? # 2004 M. Ceccato, F. Ricca # OOP vs. AOP # 2005
Importing the System in Eclipse • The Eclipse project including the application can be downloaded from: http://sra.itc.it/people/ceccato/courses/lsa/files/biblioSystem.zip • Then you must Import the Existing Project into Workspace by selecting the zip archive. • The application can be started running the class “Main.java” • double click on Main.java -> Run -> Run as -> Java application
Task • Download the System using the URL http://sra.itc.it/people/ceccato/courses/lsa/files/biblioSystem.zip • Importing the bibliographic system in Eclipse. • Run the bibliographic system (the system read the file “sample.dat” and load the persistent data). • double click on Main.java -> Run -> Run as -> Java application • Insert a query (i.e., Ceccato) • Repeat running (goto 2) • Program understanding phase: • Try to understand the code • Recover manually the class diagram