GlassFish JDO and global object
- by bach
Hi,
I'm thinking about the GlassFish platform for my new app.
My app env. doesn't have a big volume of data to handle, but a lot of users writing/reading the same data
A very volotile portion of the data updates every 200milsec by diff users. Therefore I'd like that type of data to be in memory only and accessible to the whole app
My questions:
How do I use a global object in memory with GF?
a. use a static variable object - for that I guess I need to make sure GF is running on only 1 JVM -- how to I configure GF to run on 1 jvm?
b. use HttpContext - same as a.
How do I persist to the DB?
a. can I use JDO interface?
How do I Schedule tasks to be performed in the future (something like the task queue in GAE)
thanks,
J.S. Bach