0

Learn Spring + Hibernate + JUnit +ZK

asked 2007-06-02 00:34:35 +0800

admin gravatar image admin
18691 1 10 130
ZK Team


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=4340593

By: sousa1981

Learn Spring + Hibernate + JUnit + ZK from here

http://en.wikibooks.org/wiki/ZK/How-Tos#ZK_2.x.x_.2B_Spring_2.x.x_.2B_Hibernate_
3.x_.2B_JUnit_Test

Regards,

Marcos de Sousa

delete flag offensive retag edit

15 Replies

Sort by ยป oldest newest

answered 2007-06-02 00:35:06 +0800

admin gravatar image admin
18691 1 10 130
ZK Team


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=4340594

By: sousa1981

Learn Spring + Hibernate + JUnit + ZK from here

http://en.wikibooks.org/wiki/ZK/How-Tos#ZK_2.x.x_.2B_Spring_2.x.x_.2B_Hibernate_
3.x_.2B_JUnit_Test

Regards,

Marcos de Sousa

link publish delete flag offensive edit

answered 2007-06-02 03:49:33 +0800

admin gravatar image admin
18691 1 10 130
ZK Team


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=4340681

By: bhluo

thanks Marcos de Sousa to help me for these days !now I have dealed with it.I'm from china,welcome you come to china!

link publish delete flag offensive edit

answered 2007-06-02 03:55:51 +0800

admin gravatar image admin
18691 1 10 130
ZK Team


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=4340686

By: bhluo

hi ,Marcos de Sousa .I Can't visit homepage for
http://en.wikibooks.org/wiki/ZK/HowTos#ZK_2.x.x_.2B_Spring_2.x.x_.2B_Hibernate_3
.x_.2B_JUnit_Test.

link publish delete flag offensive edit

answered 2007-06-02 08:39:52 +0800

admin gravatar image admin
18691 1 10 130
ZK Team


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=4340807

By: sousa1981

Go to: http://en.wikibooks.org/wiki/ZK/How-Tos
Found: ZK 2.x.x + Spring 2.x.x + Hibernate 3.x + JUnit Test

Regards,

Marcos de Sousa

link publish delete flag offensive edit

answered 2007-06-02 08:42:50 +0800

admin gravatar image admin
18691 1 10 130
ZK Team


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=4340810

By: sousa1981

No problem, we are together.

Go to: http://en.wikibooks.org/wiki/ZK/How-Tos
Found: ZK 2.x.x + Spring 2.x.x + Hibernate 3.x + JUnit Test

Regards,

Marcos de Sousa

link publish delete flag offensive edit

answered 2007-06-02 09:23:32 +0800

admin gravatar image admin
18691 1 10 130
ZK Team


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=4340831

By: bhluo

hi,Marcos de Sousr.May you email it (article and examples source code) to me?
Now I still Can't visit homepage for http://en.wikibooks.org/wiki/ZK/How-Tos
.I think that internet of china have some problems! My Email: [email protected].
Regards,bhluo.

link publish delete flag offensive edit

answered 2007-06-02 17:49:58 +0800

admin gravatar image admin
18691 1 10 130
ZK Team


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=4341282

By: sousa1981

OK, soon as possible. I will send every thing to you in rar file.

Regards,

Marcos de Sousa

link publish delete flag offensive edit

answered 2007-06-03 10:16:09 +0800

admin gravatar image admin
18691 1 10 130
ZK Team


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=4341760

By: sousa1981

bhluo, I send mail to you:

There is a complete example source code. This is only the first part of the example similar to the wiki.
Soon I will post the second part.

The project is under eclipse/myeclipse you should be able to migrate it easy to netbeans or IntellJ IDEA, etc.

Regards,

Marcos de Sousa


link publish delete flag offensive edit

answered 2007-06-04 17:52:15 +0800

admin gravatar image admin
18691 1 10 130
ZK Team


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=4343870

By: simon_massey


This is a whole sample application that you can build that includes
spring+hibrnate+maven+junit+zk that is very easy to build with eclipse
spring+hibrnate+maven+junit+support
etc documented here:

http://www.zkoss.org/smalltalks/foodtogo/zkfoodtogo.dsp


link publish delete flag offensive edit

answered 2007-06-04 18:07:04 +0800

admin gravatar image admin
18691 1 10 130
ZK Team


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=4343896

By: tkohalmi

Marcos,

Thank You for the WIKI help. Looking at your example classes I noticed that you do explicit Hibernate calls through you DAOs as I ended up doing. This bypasses the Spring sessionFactory and does not utilize it. The Spring SessionFactory should take care of committing you objects. We are able to use the Spring MVC in that manner so transaction boundaries are defined by method entrance and exits.

I wonder what it would take to make ZK work with Spring so that transaction boundaries are recognized and the developer would not have to keep wiring explicit inserts and updates though hibernate.

Cheers,
tk

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: 2007-06-02 00:34:35 +0800

Seen: 570 times

Last updated: Jun 14 '07

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