Application Context in cluster

Discussion in 'Java' started by webstranger@mail.ru, Feb 18, 2005.

  1. Guest

    I'm looking for best way to implement Application Context in J2EE
    clustering environment. Particularly - give web app way to access
    global variable that can be set from one place and readable across
    cluster. So far I've seen implementation that using database to store
    this variable and app will read it each time or span thread that
    constantly checking this field..
    another suggested solution - use JNDI tree. It
    s seems to be little better, but I don't think it's perfect
    for one it's misuse of JNDI originally intended for providing access to
    services (vs. storing flags) second I'll have to deal with both BEA WLS
    and IBM WS
    BEA WLS asking 1. rebind object on each change to make sure changes
    distributed across cluster; 2. If node where it's originally was
    inserted will be unreachable it will undeploy object from cluster #8-0
    IBM WS it troubleshooting section suggesting to lookup via fully
    qualified name instead of java:comp/env/bla use
    cell/clusters/myCluster/bla to avoid not found exception..
     
    , Feb 18, 2005
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Programmer
    Replies:
    1
    Views:
    308
    Michael Pearson
    May 19, 2004
  2. bm
    Replies:
    1
    Views:
    457
    Karl Seguin
    Jul 18, 2005
  3. Dhruba Bandopadhyay
    Replies:
    1
    Views:
    21,723
    Alvin Bruney
    May 25, 2006
  4. Jani Tiainen
    Replies:
    3
    Views:
    1,053
    Jani Tiainen
    Aug 27, 2007
  5. Norah Jones
    Replies:
    0
    Views:
    122
    Norah Jones
    Apr 7, 2014
Loading...

Share This Page