-->
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: Client/Server Hibernate...
PostPosted: Tue Jun 07, 2005 8:27 am 
Beginner
Beginner

Joined: Tue Jun 07, 2005 8:24 am
Posts: 33
Location: Cincinnati, OH
All,
Has anyone ever used Hibernate in a client-server environment. What I would like to do is have a Swing application client use Hibernate, but I don't want the client to directly connect to the database. The easiest way I can think of doing this is to use some sort of client/server based JDBC driver, which actually delegates to a remote machine somehow (RMI, SOAP, etc.). Has anyone ever done something similar to this before? How did you do it? How was the performance?


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jun 07, 2005 8:42 am 
Regular
Regular

Joined: Tue Nov 23, 2004 7:42 am
Posts: 82
Location: London, England
We've done it with an app written in VB using SOAP. Be aware that you have extra overheads with the remote calls which will make it a bit slower than direct Hibernate calls but not unusable. Having not really done any RMI I'm not sure I can make any recommendations but we've done alright with a combination of Apache Axis for SOAP and Castor for serialising our data to XML.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jun 07, 2005 10:39 am 
Beginner
Beginner

Joined: Tue Jun 07, 2005 8:24 am
Posts: 33
Location: Cincinnati, OH
It would be nice if there was a reusable proxied JDBC driver which connected to a remote object (pluggable protocols like RMI, EJB, JAX-RPC would be nice) to perform its work. Has anyone seen anything like that? I found RmiJdbc, but that only supports RMI.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jun 07, 2005 11:17 am 
Beginner
Beginner

Joined: Tue Jun 07, 2005 8:24 am
Posts: 33
Location: Cincinnati, OH
I found it! It's called Virtual JDBC (http://vjdbc.sourceforge.net/). I'm going to try to get Hibernate to use it right now...


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jun 07, 2005 11:49 am 
Hibernate Team
Hibernate Team

Joined: Thu Dec 18, 2003 9:55 am
Posts: 1977
Location: France
if you think an elegant way to deal with client-server using Virtual JDBC, send me a mail anthony@hibernate.org

_________________
Anthony,
Get value thanks to your skills: http://www.redhat.com/certification


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.