|
Re: session persistence?: msg#00058java.enhydra.general
On Wednesday, October 16, 2002, at 06:37 AM, Petr Stehlik wrote:
You don't need to do anything really special regarding the serialization...you just need to have the objects that you put into the session implement the "java.io.Serializable" interface. Also, I've been trying to get Enhydra's sessions to persist when restarting from the command line (I generally find it more convenient than using the admin app). Adding something like this: Runtime.getRuntime().addShutdownHook( new Thread() { public void run(){ shutdown(); } } ); to the application's startup method seems to be working well. Scott
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | RE: session persistence?, Petr Stehlik |
|---|---|
| Next by Date: | RE: SOAP + DODS, Mike Warne |
| Previous by Thread: | RE: session persistence?, Petr Stehlik |
| Next by Thread: | RE: session persistence?, Dragan Radakovic |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |