tags:

views:

271

answers:

3
+1  Q: 

Hibernate with ZK

Does anyone have any experience on getting Hibernate working with ZK?

Thanks

Edit: Sorry to clarify what I am looking for:

I am looking for anyone that has experience doing this, maybe they can clarify is it easy? I have never used Hibernate before. In addition can anyone provide any resources focussed around this issue?

+1  A: 

I guess no answers is an answer in and of itself :-)

I haven't actually worked with ZK (as in haven't deployed an actual product), but I've played with it a bit out of curiosity. Basic CRUD stuff works just fine with Hibernate, ZK has a chapter in documentation which shows how Hibernate should be set up. It's an extension of their basic tutorial. ZK used to have issues with Hibernate session management but that has been resolved in the later versions (using custom ZK listeners).

Hopefully that'll be enough to get you started. Again, I haven't done a real project with ZK so it's quite possible you'll hit on some issues once you get deeper into it - be sure to do some piloting if you're considering this for production.

ChssPly76
+2  A: 

Hi, I have build an ZK Web Application totally use ZK + JSP and it works fine.
I had some problems about EntityManager life-cycle management(I needed to manage it by myself), but that was because I were not familiar with Hibernate.
To avoid any possible issue about Hibernate, I suggest you to set disable-event-thread to TRUE in zk.xml. that would save most effort and cut out the dependencies between your Hibernate usage and web app.

Zanyking
A: 

Google for 'Zksample2' . That's an all-in ZK sample application with full source. Spring / Spring-Security / Spring-AOP / Hibernate/ZK

TerryTornado