7 Replies Latest reply on Jan 10, 2005 2:38 AM by jignesh rangwala

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

    davidchen Newbie

      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 (ex. less than 10 mins since last update), if outdated, then update the copy from database, otherwise, just send the copy to clients.

      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.