-->
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: Detached Object Support
PostPosted: Mon Mar 22, 2004 2:43 pm 
Regular
Regular

Joined: Tue Aug 26, 2003 7:53 pm
Posts: 66
Location: Lakeland, Florida USA
I'm considering using Hibernate's Detached Object Support in a "typical" web app - the only remote client is a browser, so no ejb session bean. The user views (GUI screens) are fairly simple so the domain objects themselves should work for RO views and data entry. We use Struts (unfortunately?) so I believe action forms are mandatory for data entry. Can't I just store a disconnected object graph directly on the Struts actionform? Wouldn't a post just update (bind) the string data in the httprequest to the disconnected object graph? Would I need to store the actionform in httpsession?

Thanks for the help,

Jeff


Top
 Profile  
 
 Post subject:
PostPosted: Wed Mar 24, 2004 10:13 am 
Beginner
Beginner

Joined: Wed Feb 11, 2004 6:08 am
Posts: 29
Location: Germany
I guess in general it will work fine, but there are some issues that arise with larger applications : character encoding and field validation. If you polulate your business-object property directliy with http-request strings, then you might run into special character (en/de)coding problems, e.g. $ or euro currency sign.


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.