-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 5 posts ] 
Author Message
 Post subject: Is it possible hibernate + Swing + spring????????????
PostPosted: Thu Mar 08, 2007 10:19 pm 
Newbie

Joined: Sun Mar 04, 2007 9:41 pm
Posts: 15
Location: SIN
Hi Xperts,

Is it possible to combine Hibernate + Swing + Spring?

(My Point of View Hibernate Contains Transaction, Session, Spring contains application framework... But In Swing Session??????)
So i have lot of confusions.

SO
if Hibernate + Swing + Spring
IF YES. HOW? ELSE TELL THE REASON.

I EAGERLY WAITING FOR YOUR REPLY
Thanks


Top
 Profile  
 
 Post subject:
PostPosted: Fri Mar 09, 2007 7:10 pm 
Expert
Expert

Joined: Tue Dec 28, 2004 7:02 am
Posts: 573
Location: Toulouse, France
Well, Hibernate + Spring is obviously possible.

Hibernate + Swing is also, see http://blog.hibernate.org/cgi-bin/blosx ... rnateswing

So, by transitivity, Hibernate + Spring + Swing is possible :-).

_________________
Baptiste
PS : please don't forget to give credits below if you found this answer useful :)


Top
 Profile  
 
 Post subject:
PostPosted: Sat Mar 10, 2007 12:39 am 
Newbie

Joined: Fri Mar 09, 2007 11:07 pm
Posts: 2
I'm currently working on a project that uses Hibernate + Spring + Swing. The Hibernate + Spring is obvious, but what we do from there is have each Spring action generate XML to be consumed by a remote Swing client.


Top
 Profile  
 
 Post subject: Is it possible hibernate + Swing + spring???????????? Post
PostPosted: Sun Mar 11, 2007 11:23 pm 
Newbie

Joined: Sun Mar 04, 2007 9:41 pm
Posts: 15
Location: SIN
thanks for your suggetions.

But is there any code generation tool available for hibernate & spring?


Top
 Profile  
 
 Post subject:
PostPosted: Mon Mar 12, 2007 3:05 am 
Expert
Expert

Joined: Tue Dec 28, 2004 7:02 am
Posts: 573
Location: Toulouse, France
I don't think so. I guess the Hibernate Tools will help you generate Hibernate code, but not directly Hibernate + Spring code.

Maybe you could generate it once, then replace the code to inherit Spring DAO. This will let you benefit the transactional demarcation of Spring (see TransactionProxyFactoryBean Spring class).

_________________
Baptiste
PS : please don't forget to give credits below if you found this answer useful :)


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 5 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.