The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
August 2001

Advertisement

Advertisement

This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.

Message:

Possible

Posted by Kirill Grinberg on August 21, 2001 at 12:19 PM

To get persistence you need to store the state somewhere. The solution is EJB for huge systems but if you just need it for yourself or for small application or site - create yourself a text file and change "0" to "1" for example when user clicks that button. Then every time you display that page check for this "0": or "1" in this file - and here yo go!
Can also be done with any database involved or with UDB if you run a Websphere Applicatiuon Server



Replies:

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us