The moose likes JBoss and the fly likes how can I keep a kind of Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Products » JBoss
Reply Bookmark "how can I keep a kind of "global" object (Singleton) in JBoss?" Watch "how can I keep a kind of "global" object (Singleton) in JBoss?" New topic
Author

how can I keep a kind of "global" object (Singleton) in JBoss?

David Chen
Ranch Hand

Joined: Jan 06, 2002
Posts: 57
Hi, there:

here is my problem:
1. we want to keep a copy of a huge database view in JBoss side (because, the view is huge, so, only one copy will be created, and maintained);
2. when request comes from client, we should check if that copy is outdated or not (less than 10 mins since last update), if outdated, then update the copy from database, otherwise, just send the copy to clients.
3. this component is not used to update database behind (readonly).

We are using Jboss2.4.8, oracle9i. Currently, I think to use RMI Service may be an option for this issue. So, thanks in advance if anyone have any clue for it.

Thanks
David
 
 
subject: how can I keep a kind of "global" object (Singleton) in JBoss?
 
Threads others viewed
modify Application to run in clustering environment
SCDJWS 5 Study Notes
How to make changes runtime in ApplicationResources.prop without restarting server
To keep request alive in a webservice
How to make changes runtime in ApplicationResources.prop without restarting server
developer file tools