-->
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.  [ 2 posts ] 
Author Message
 Post subject: Hibernate usage in Desktop applications
PostPosted: Fri Feb 29, 2008 7:16 am 
Newbie

Joined: Fri Feb 29, 2008 7:05 am
Posts: 13
Location: New Delhi, India
Hi group,

I am new to Hibernate and so need some expert opinion on some of the design issues which I am facing.
I am working on a Java based desktop application. This application has data persistence requirements. I am planning to use an embedded rdbms (HSQLDB or Derby) for data persistence. I am referencing a pre-written server application, which has Spring and Hibernate, as the basis for the desktop application, so that I can make code reuse in the desktop client.

I have got following queries related to the usage of Hibernate in Desktop applications:

1) Is it justified to use Hibernate o the desktop side?

2) If yes, then how significant is the use of ehcache in Desktop environment? Should it be used on the desktop application side or not? I understand that answer for this depends on the nature of the application. For that matter, one can think of a slightly scaled down version of Outlook like application.

Cheers,
Nitin


Top
 Profile  
 
 Post subject:
PostPosted: Fri Feb 29, 2008 11:35 am 
Senior
Senior

Joined: Fri Jun 01, 2007 12:41 pm
Posts: 121
Here you go:

1. You can very well use Hibernate for Desktop applications. In fact wherever you have JDBC code to access database, you can use Hibernate.

2. EHCache works with Hibernate on it's side. It is not associated with other layer (like with Server). So you can use ehcache for your desktop application.

Hibernate works the same way in Desktop or Server environments. In case of J2EE server, it may utilize Server services like Transaction and JMX services.

Thanks
Shyam


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