-->
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: Dependency to PersistentSet - List - Distributed data
PostPosted: Tue Mar 29, 2011 8:59 pm 
Newbie

Joined: Fri Dec 17, 2010 10:53 am
Posts: 8
I saw that there is many users that talking about avoiding dependency with Hibernate, especially with the Persistent* (Collection Set/List, ...) class/package when POJOs are "probably" used in distributed environment. Data are serialized and sent to a remote computer under the form of Java Object - I suppose so - This my case and I got a ClassNotFoundException because there is a runtime dependency even if our POJOs do nt explicitly use Hibernate in our source code (except via the hbm file...).

Does Hibernate team have some tips to give us, to help us to find a clean solution - From my side :

1) I'm going to bind my client with the hibernate-core. This is the worse case scenario because
memory space constraint, etc...

2) Some people seems having extract Collection package to reduce the size of import library but how can we be
sure that we have all dependencies ?

3) Just send the data in ASCII form such as XML, well...

4) During the serialization, do not serialize the class with org.hibernate.* but what about the reverse operation ? because we
still need to re-attach objects when they return back to the server.

5) Does Hibernate plan to give us a "distributed version" for real distributed objects.... a very-very small dependency ?

Thank you very much for your answer.


Top
 Profile  
 
 Post subject: Re: Dependency to PersistentSet - List - Distributed data
PostPosted: Sun Apr 03, 2011 2:10 pm 
Newbie

Joined: Fri Dec 17, 2010 10:53 am
Posts: 8
Ok, I found an interesting link : http://www.mojavelinux.com/blog/archive ... f_my_pojo/


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.