Message view | « Date » · « Thread » |
---|---|
Top | « Date » · « Thread » |
From | "Perez Guerrero, Antonio Javier" <AJPE...@sadiel.es> |
Subject | Avoid a class to be garbage collected |
Date | Mon, 08 Jun 2009 06:47:36 GMT |
Hi, Is there any way I can "bind" a class with Cocoon, or make it persistent, so it's never destroyed by the garbage collector? I've a singleton class containing some data structures (basically Maps), which need to be shared between users (so, I can't store them in session). I could write the data to a XML file, but I'd really prefer to avoid it, because the data is going to change very frecuently. Thanks | |
Mime |
|
View raw message |