aspose file tools*
The moose likes Servlets and the fly likes Stateful webapp advice Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Stateful webapp advice" Watch "Stateful webapp advice" New topic
Author

Stateful webapp advice

shaf maff
Ranch Hand

Joined: Sep 07, 2008
Posts: 180
Hi Guys

I am working on a stateful webapp. I am wondering what I should do when I update my DB tables. Should I delete the whole session and rebuild it or should update the session ?
[ September 23, 2008: Message edited by: shaf maff ]
Gopikrishna Kunisetty
Ranch Hand

Joined: Jun 12, 2008
Posts: 35
Hi shaf maff,

If updating the db tables is last action that you have to do in that usecase scenario or with that session, you can invalidate the session. Otherwise, if there is scope for the user still to interact with the system, probably you may not be invalidating the session.
[ September 24, 2008: Message edited by: Gopikrishna Kunisetty ]

- Krishna<br /> SCJP 1.4 SCWCD 5
arulk pillai
Author
Ranch Hand

Joined: May 31, 2007
Posts: 3223
You calear the data that is no longer required by




Java Interview Questions and Answers Blog | Amazon.com profile | Java Interview Books
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Stateful webapp advice