(Setup and progress carried out today: 01/01/2013.)
How to SET UP all the library you need.
You need to download: Java JDK, Eclipse, MySql, Hibernate, MySql-JDBC-Drivers, Gate_install.jar
Details
These are the steps to follow to reproduce this experiment:
- Get and install "gate" (in your LOCAL machine!!) from http://gate.ac.uk/;
- Import in your eclipse-java-project the following jar files:
- gate_developer_x.y/bin/gate.jar ;
- gate_developer_x.y/lib/... "all-jar-files";
- Get MySql pack from the website: "MySql community Server", "MySql Workbench" (for GUI), "MySql Connector/J";
- Import the database that you need in your mysql's database;
- Get Hibernate pack
- Import (and copy the jar-files) in your eclipse-java project as library the follow jars: hibernate-search-x/dist/hibernate-search-engine-x.y.z.jar; hibernate-search-x/dist/lib/required/"all files"; hibernate-search-x/dist/lib/provided/"all files"
- Import (and copy the jar-files) in your eclipse-java project as library the follow jars: mysql-connector-java-x.y.z/mysql-connector-java-x.y.z-bin.jar; mysql-connector-java-x.y.z/lib/"all files";
You can now create your domain classes with the relative xml maps for hibernate and the configuration file of hibernate. Then you can start to use the gate-engine to your database using java code.
mattonna ma bravi che sete!!!!