• 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

Remote Caching of data

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,
I am trying to configure two web servers where the requests would be forwarded to. We have a situation where the users can login from multiple IP addresses but still needs to check the data where they last left.
How do I save my report summaries remotely so that irrespective of web server the user hits, data would be grabbed from a cache.
I am new to the distributed world in Java, your answers in detail would be greatly appreciated.
Thanks,
Venkat
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You might want to look at JavaSpaces - try searching at java.sun.com
Sorry I don't have any more detail for you, I experimented with JavaSpaces when writing my SOAP book. It is a good technology for loosely coupled systems.
Bill
 
High Plains Drifter
Posts: 7289
Netbeans IDE VI Editor
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You need is a place to persist user session information on the server side. The most common approach to this is a login form that gathers such data as part of the authorization process.
You could think of doing this by having one web server contact the other when necessary to retrieve session data. That's probably 'easiest' in the short term, but bound to get messy.
A simple database that both web servers use for a backend makes the most sense to me.
 
It's a pleasure to see superheros taking such an interest in science. And this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic