-->
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.  [ 1 post ] 
Author Message
 Post subject: Hibernate annotations dependencies
PostPosted: Mon Jan 11, 2010 1:16 pm 
Newbie

Joined: Sat Mar 07, 2009 6:58 pm
Posts: 13
Hi our server application uses annotated entities. The communications between applications clients and the server go through a midleware layer, the reconstruction in the client re-creates the entities as they were in the server. This gives us an unfortunate side-effect: a dependency on the EJB3 and Hibernate Core for the clients when using maven to build the clients. The annotations are handy for the client developers when doing things like range and size checks on data as the schema constraints are nicely documented there.

However the client developers don't appreciate having the rest of hibernate dangling from their apps to no purpose. I suppose it is possibe to extract the class files for the annotations and re-package them, I can't imagine why the annotations would have any real dependency on the actual EJB3/hibernate engine.

Has anyone any experience of this?
Thanks


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

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.