• Post Reply Bookmark Topic Watch Topic
  • New Topic

HttpSession Listeneres  RSS feed

 
Aleks V. Pascoal
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
 
R K Singh
Ranch Hand
Posts: 5390
1
Java Spring
  • 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
Java Spring
  • 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
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!