• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • salvin francis
  • fred rosenberger

HttpSession Listeneres

 
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi everyone,
i have one big doubt.
Wich session listeners(attribute, session, binding e activation) can be notified in distributable systems. I mean, wich of then has the guarantee of being all notified.
Thank you,
Aleks
 
Ranch Hand
Posts: 5390
1
Spring Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
in distributed enviorenment HttpSessionActivation will be notified after activation and before passivation.
will you plase elaborate this
>>wich of then has the guarantee of being all notified.
 
Aleks V. Pascoal
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to know if all the objects implementing HttpSessionListener, and configure in web.xml, in the various JVM are all notified when the propper event occurs.
And i want to know the same about HttpSessionAttributeListener, HttpSessionBindingListener, HttpSessionActivationListener.
Att,
Aleks
 
R K Singh
Ranch Hand
Posts: 5390
1
Spring Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Aleks
first change your name as per ranch policy .... :)
Now I think session OR any event is notified only to current Context i.e. current JVM. Thats why they say that if you have distributed application then share your info througn DB or EJB.
HTH
CMIW
 
You get good luck from rubbing the belly of a tiny ad:
Devious Experiments for a Truly Passive Greenhouse!
https://www.kickstarter.com/projects/paulwheaton/greenhouse-1
    Bookmark Topic Watch Topic
  • New Topic