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.  [ 9 posts ] 
Author Message
 Post subject: Swing + hibernate is it possible?
PostPosted: Fri Oct 06, 2006 2:14 am 
Newbie

Joined: Thu Oct 05, 2006 4:58 am
Posts: 2
Location: Pune India
Hi,

Is it possible to have swing + hibernate combination? I am trying to develop one small standalone application, in which my client tier will be in swing and middle tier will be hibernate and model tier is oracle database.

If it is possbile from where can I get the document about that?

Please do the needful.


Thanks
Sohan Soni
India


Top
 Profile  
 
 Post subject:
PostPosted: Fri Oct 06, 2006 6:24 am 
Beginner
Beginner

Joined: Sun Feb 12, 2006 12:19 am
Posts: 20
I developed a swing application that uses hibernate with SQL Server and HSQLDB. Just refernce the Hibernate Reference Documentation in PDF format that is in the docs section of the Hibernate download.

Shawn
http://www.age-j-soft.com


Top
 Profile  
 
 Post subject:
PostPosted: Fri Oct 06, 2006 6:26 am 
Beginner
Beginner

Joined: Sun Feb 12, 2006 12:19 am
Posts: 20
I developed a swing application that uses hibernate with SQL Server and HSQLDB. Just refernce the Hibernate Reference Documentation in PDF format that is in the docs section of the Hibernate download.

Shawn
http://www.age-j-soft.com


Top
 Profile  
 
 Post subject:
PostPosted: Fri Oct 06, 2006 6:28 am 
Beginner
Beginner

Joined: Sun Feb 12, 2006 12:19 am
Posts: 20
I developed a swing application that uses hibernate with SQL Server and HSQLDB. Just refernce the Hibernate Reference Documentation in PDF format that is in the docs section of the Hibernate download.

Shawn
http://www.age-j-soft.com


Top
 Profile  
 
 Post subject:
PostPosted: Fri Oct 06, 2006 6:29 am 
Beginner
Beginner

Joined: Sun Feb 12, 2006 12:19 am
Posts: 20
I developed a swing application that uses hibernate with SQL Server and HSQLDB. Just refernce the Hibernate Reference Documentation in PDF format that is in the docs section of the Hibernate download.

Shawn
http://www.age-j-soft.com


Top
 Profile  
 
 Post subject:
PostPosted: Fri Oct 06, 2006 6:33 am 
Beginner
Beginner

Joined: Sun Feb 12, 2006 12:19 am
Posts: 20
Sorry about the multiple posts.
The forum wasn't responding and is acting really slow.
I didn't mean to spam or anything and I couldn't delete the duplicate messages.

Shawn


Top
 Profile  
 
 Post subject: See some articles and discussion about
PostPosted: Fri Oct 06, 2006 7:10 am 
Newbie

Joined: Wed Dec 15, 2004 1:58 pm
Posts: 16
Location: Prague, Czech Republic
http://www.archaebacteria.net/?p=7 or
http://hibernate.org/333.html


Top
 Profile  
 
 Post subject:
PostPosted: Fri Oct 06, 2006 11:01 am 
Beginner
Beginner

Joined: Tue Nov 29, 2005 4:42 pm
Posts: 49
Location: Atlanta, GA
Be careful. All of the people responding here are talking about a 2-tier system where the Swing app hosts the hibernate API and calls directly to the database. But, your questions hinted that you have a 3-tier architecture where the middle tier is some J2EE architecture with hibernate instead of there.

In the 3-tier swing app you won't have any advantage of lazy loading, and you'll have to manage getting all of the hibernate objects from the middle tier to the client tier through serialization. It's not easy when you have 3 tiers, and alot of what hibernate does for you in terms of loading optimzations won't help you much. A 2-tier system would be much easier. Writing some sort of layer that adds the lazy loading back into your swing app is not easy because of swing's threading model.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Oct 16, 2006 9:24 am 
Newbie

Joined: Thu Oct 05, 2006 4:58 am
Posts: 2
Location: Pune India
Thank you all!

_________________
Thanks

Sohan Soni
Pune - India


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 9 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.