Sunday, May 19, 2019

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 meshings vision, that emphasizes collaboration in the outgrowth of data and metadata to be shared and re employ across the web, the management of AGROVOC impart progressively be transferred from a few individuals in FAO to a wider community of international AGROVOC experts. These interested and able designrs go away 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 re larboard provides a brief note on the technical aspects of the AGROVOC/CS Workbench. Technical details Multili ngual web interface and content (UTF8). The soft fighte is developed in pure JAVA (version 1. 5. x), with no calls to any third party modules requiring precompiled DLLs or other run 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 greens web browsers. Where possible the JSP 2. 0 Expression Language (EL) is used for any JSP development within the see (its a way of writing manus-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 hibernate persistence and query service, etc. ). The system follows FAO guidelines for HTML publishing Guidelines for Web site development File naming convention and file or ganization 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 turkey cock (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 mainframe AMD 64 bit Memory 8GB MYSQL version 5. 0. 45 TOMCAT Version 6. 0. 14 Java-JDK 1. 6. 0_04 Required covering 1. MySQL version 5 or above Available bear on to transfer 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. lettuce/download/old-releases/3. 4%20betas/build-130/full/ 6. GWT Version 1. 4 Build 1. 4. 62Available 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 databas e located at your_directorySQLspindly model _v_0_2_beta. sql Here we have provided blank owl model. You can convert owl file at a time to database by using stand alone java program located at our_directorysrcorgfaoaoscsserverprotegeconvertToDatabaseProject. java You fatality the transmute the variables in the file. 18 hole-and-corner(a) final silent String url = jdbcmysql// 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 clean row with these values. Ontology id (Auto increment) Ontology Name Blank Model Ontology Description AGROVOC Concept Server Workbench Blank AOS staff Database URL jdbcmysql//3306/? requireSSL=false&useUnicode=true&characterEncoding=UTF-8 Database Driver com. mysql. jdbc. Driver Table Name Database Username Database Password Display Ontology on the lis t 0 for hide and 1 for Show 4. Use java editor to pitch the configuration of the hibernate file that located in your_directorysrchibernate. cfg. xml Change the space of your connection password sort of of your_password and change the property of your connection url instead of your_url. 13 your_password 14 jdbcmysql//your_url Change the configuration of the database properties that located in your_directorysrcorgfaoaoscsserverowlDatabaseConnection. 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. propertiesChange 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 prop erty 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//localhost8080/your_project_name

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.