Friday, October 4, 2019
Beijing Sammies Essay Example for Free
Beijing Sammies Essay The AGROVOC Concept Server (AGROVOC/CS) Workbench is a web-based working environment consisting of numerous functionalities for the distributed management and enhancement of the AGROVOC/CS built from the AGROVOC thesaurus. Following the Semantic Webââ¬â¢s vision, that emphasizes collaboration in the development of data and metadata to be shared and reused across the web, the management of AGROVOC will progressively be transferred from a few individuals in FAO to a wider community of international AGROVOC experts. These interested and competent users will share the collaborative maintenance and extension of AGROVOC, one of the most frequently used terminological resources for agricultural information management in the world. Maintenance of the future extended AGROVOC will thus be completely decentralized with people worldwide contributing to its development. This report provides a brief note on the technical aspects of the AGROVOC/CS Workbench. Technical details â⬠¢ Multilingual web interface and content (UTF8). â⬠¢ The software is developed in pure JAVA (version 1. 5. x), with no calls to any third party modules requiring precompiled DLLs or other operating system specific features. â⬠¢ The Google Web Toolkit (GWT) is used with an Eclipse plug-in for development of the system. It is used to build the system as a fully Java based AJAX client browser application that is compatible with all common web browsers. â⬠¢ Where possible the JSP 2. 0 Expression Language (EL) is used for any JSP development within the project (itââ¬â¢s a way of writing script-less JSP pages). Protege OWL api framework is used to connect OWL. â⬠¢ MySQL is used as RDBMS. â⬠¢ The system is DBMS-independent. Additional database abstraction layer for interacting with the OWL backbone and the relational database will be used (e. g. the hibernat e persistence and query service, etc. ). The system follows FAO guidelines for HTML publishing: â⬠¢ Guidelines for Web site development; â⬠¢ File naming convention and file organization guidelines; â⬠¢ Check list for the clearance of Web sites. In summary, the system is based on the following components: Development components â⬠¢ Eclipse 3. 2 â⬠¢ JAVA-JDK version jdk1. 5. x â⬠¢ Apache Tomcat (that supports JSP and JAVA Servlets) Google Web Toolkit (for AJAX framework), version 1. 4. 60 â⬠¢ Google Web Toolkit Incubator, version 1. 4 â⬠¢ Protege OWL API 3. 4 libraries â⬠¢ Hibernate 3. 0 libraries â⬠¢ Hibernate 4 GWT, version 0. 5 RC2 â⬠¢ MySQL version 5 Server side â⬠¢ Windows XP, Windows 2000, or Linux â⬠¢ Apache Tomcat 5. 5. 9 or higher â⬠¢ JAVA-JDK version jdk1. 5. x or higher â⬠¢ MySQL version 5 or higher â⬠¢ Protege OWL API 3. 4 libraries â⬠¢ Hibernate 3. 0 libraries â⬠¢ Hibernate 4 GWT, version 0. 5 RC2 â⬠¢ WAR file with compiled JAVA files and necessary libraries Current Server Configuration â⬠¢ OS : Debian GNU/Linux 2. 6. 22-2 â⬠¢ CPU: AMD 64 bit â⬠¢ Memory: 8GB â⬠¢ MYSQL version: 5. 0. 45 TOMCAT Version: 6. 0. 14 â⬠¢ Java-JDK: 1. 6. 0_04 Required Application 1. MySQL version 5 or above Available link to download: http://dev. mysql. com/downloads/ 2. Apache Ant version 1. 7. 1 or above Available link to download: http://ant. apache. org/ 3. JAVA JDK version jdk. 1. 5. x or above Available link to download: http://java. sun. com/javase/downloads/index. jsp 4. Apache Tomcat version 6 or above Available link to download: http://tomcat. apache. org/download-55. cgi 5. Protege Version 3. 4 beta Build 130 Available link to download: http://protege. cim3. net/download/old-releases/3. 4%20betas/build-130/full/ 6. GWT Version 1. 4 Build 1. 4. 62 Available link to download: http://code. google. com/webtoolkit/versions. html The Step of Configuration 1. Download AGROVOC Concept Server Workbench code from the CVS Server. 2. Download the sql script from CVS Server at folder named sql. Create the database. â⬠¢ Run the sql script file located at your_directorySQLadministrator_agrovocwb _v_0_2_beta. sql This will install administrator_agrovocwb database. â⬠¢ Run sql script file to install the owl model database located at your_directorySQLlank model _v_0_2_beta. sql Here we have provided blank owl model. â⬠¢ You can convert owl file directly to database by using stand alone java program located at: our_directorysrcorgfaoaoscsserverprotegeconvertToDatabaseProject. java â⬠¢ You need the change the variables in the file. |18 private final static String url = jdbc:mysql://; | |19 private final static String table = ; | |20 private final static String user = ; | |21 private final static String password = ; | |22 private final static String uri = file:/c:/; | 3. To add model in the ontology list, go to database and table and insert new row with these values. Ontology id: (Auto increment) â⬠¢ Ontology Name: Blank Model â⬠¢ Ontology Description: AGROVOC Concept Server Workbench Blank AOS Module â⬠¢ Database URL: jdbc:mysql://:3306/? requireSSL=falseuseUnicode=truecharacterEncoding=UTF-8 â⬠¢ Database Driver: com. mysql. jdbc. Driver â⬠¢ Table Name: â⬠¢ Database Username: â⬠¢ Database Password: â⬠¢ Display Ontology on the list: 0 for hide and 1 for Show 4. Use java editor to â⬠¢ Change the configuration of the hibernate file that located in your_directorysrchibernate. cfg. xml Change the property of your connection password instead of ââ¬Å"your_passwordâ⬠and change the property of your connection url instead of ââ¬Å"your_urlâ⬠. 13 your_password | |14 jdbc:mysql://your_url | â⬠¢ Change the configuration of the database properties that located in your_directorysrcorgfaoaoscsserverowlDatabaseC onnection. properties Change the property of your username of database instead of ââ¬Å"your_usernameâ⬠and change the property of your password of database instead of ââ¬Å"your_passwordâ⬠. |4 userAdminDB = your_username | |5 passwordAdminDB = your_password | â⬠¢ Change the configuration of the mail file that located in your_directory srcorgfaoaoscsutilityMail. properties Change the property of your host name instead of ââ¬Å"your_mailserver_hostâ⬠, change the property of your port instead of ââ¬Å"your_portâ⬠, change the property of your user instead of ââ¬Å"your_userâ⬠, change the property of your password instead of ââ¬Å"your_passwordâ⬠and change the property of your from information instead of ââ¬Å"sender_emailâ⬠. |1 host=your_mailserver_host | |2 port=your_port | |3 user=your_user | |4 password=your_password | |5 from= sender_email | â⬠¢ Run build file to create war file using Apache ANT. 5. Copy the war file to folder of tomcat installation directory. 6. You can use the program by opening your browser and type â⬠¢ http://localhost:8080/your_project_name
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment