0

ZK + Hibernate : Can I obtain more detail from the documentation ?

asked 2009-04-06 07:44:14 +0800

TLHP gravatar image TLHP
111 1 3

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



Creating the Java Objects

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.

delete flag offensive retag edit

2 Replies

Sort by ยป oldest newest

answered 2009-04-06 08:28:01 +0800

PeterKuo gravatar image PeterKuo
481 2

Do you want to try new feature of ZK studio?
It integrates hibernate and spring.
You may start your first app from it.
http://docs.zkoss.org/wiki/Zeta_DB_Form_Builder_Step_by_Step

link publish delete flag offensive edit

answered 2009-04-06 08:34:53 +0800

TLHP gravatar image TLHP
111 1 3

I will try to do this tutorial, thanks PeterKuo.

But some answers for my questions above are always welcome :)

link publish delete flag offensive edit
Your reply
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

RSS

Stats

Asked: 2009-04-06 07:44:14 +0800

Seen: 171 times

Last updated: Apr 06 '09

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More