New article on controlling the closure of a program

0 views
Skip to first unread message

Giulio

unread,
Jan 22, 2010, 2:47:08 AM1/22/10
to Wiki Java
I've been lately having problems with a software of mine, it's logging
in a big number of accounts on the a portal and saving the session
credentials for later use. (I'm tester for that portal)

The whole processing takes several minutes, and it's happened that the
program exited because I hit on ctrl+c. What I want in this case is
that before exiting the program saves what it's done so far. So the
next time I won't have to start from a scratch.

I wrote this little example to show how I solved the problem.
http://www.wikijava.org/wiki/Controlling_the_closure_of_a_program

Enjoy,
Giulio

Reply all
Reply to author
Forward
0 new messages