-->
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: Wizard Style Servlets
PostPosted: Wed Sep 13, 2006 11:25 am 
Newbie

Joined: Tue Feb 07, 2006 2:29 pm
Posts: 4
Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp

Hibernate version:
2

Quick question I wonder if anyone could give me some idea's or point me to resource that talk about how to create wizard style servlets in hibernate. I currently have a wizard servlet implementation but this is what I do.

When servlet implementing wizard servlet calls startWizard() method I open a new hibernate session and store it in HttpSession. Servlet can then perforrm different and many other steps while saving objects to the hibernate session stored in session. After implementing session is done with wizard it calls a completeWizard() method which will then get the session stored in HttpSession and flush all changes.

This seems to work fine so far but am wondering if there is an elegant way of doing this. Thanks for all the help.


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.