-->
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: Mapped POJO object outside the application
PostPosted: Mon Mar 27, 2006 5:29 am 
Newbie

Joined: Wed Mar 22, 2006 5:27 am
Posts: 3
Hello,
I'm using the 2.1 version of Hibernate and mapped tables to POJO objects.
The architecture is divided into 2 processes: one is running in jboss and has the DB access; and other is servlet running on tomcat and receives mapped to tables POJO objects.
The servlet receives the following exception:
net.sf.hibernate.collection.Map (no security manager: RMI class loader disabled)

The hibernate2.jar is not in CLASSPATH of servlet, and we want to leave it independent.

Is there any possibility to annul this dependency?
Thank you in advance.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Mar 27, 2006 7:33 am 
Expert
Expert

Joined: Sat Oct 25, 2003 8:49 am
Posts: 490
Location: Vrhnika, Slovenia
Use a DTO pattern then.


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.