-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hi all, I'm new in ZK and I want to integrate Hibernate in ZK.
I found the tutorial in http://docs.zkoss.org/wiki/Hibernate, but I could not get it DONE.
Some points I need get more detail:
Installing Hibernate
Before using Hibernate, you have to install it into your application first.
1. Download Hibernate (http://www.hibernate.org)
2. Put *.jar files into your $myApp/WEB-INF/lib/ <--- ( which .jar file I have to put into 'lib' folder ? )
$myApp represents the name of your web application. ex. Event
1. Create your first Java class (Event.java) <--- ( where can I put this java file )
2. You have to compile the Java source, and place the class file in a directory called classes in the Web development folder, and in its correct package. (ex.$myApp/WEB-INF/classes/event/Event.class) <--- ( In Eclipse, how can I compile only one .java file to obtain its .class file ? )
Creating DAO Objects
1. Create EventDAO.java <----- same question as Event.java
Thanks a lot, hope I can start my project asap, when this problem is solved.
Asked: 2009-04-06 07:44:14 +0800
Seen: 171 times
Last updated: Apr 06 '09