• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
reply
    Bookmark Topic Watch Topic
  • New Topic