GlassFish JDO and global object
Posted
by bach
on Stack Overflow
See other posts from Stack Overflow
or by bach
Published on 2010-04-08T22:28:31Z
Indexed on
2010/04/08
22:33 UTC
Read the original article
Hit count: 263
glassfishv3
|glassfish
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
© Stack Overflow or respective owner