Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Observable in Servlets

 
Neeraj Vij
Ranch Hand
Posts: 315
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How it is useful to use observable interface in servlets ?

Thanks
Neeraj
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13061
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Servlets support the Observable concept with event listeners specifically designed for the servlet environment.

Bill
 
Neeraj Vij
Ranch Hand
Posts: 315
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I was also thinking on similar lines. I am not sure why the developers have used it in the code available with me.

I studied 4-5 years back. In which version of servlets api listeners were introduced ?

Thanks

Neeraj.
 
Ankit Garg
Sheriff
Posts: 9521
22
Android Google Web Toolkit Hibernate IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The docs say that most of the listener classes are since Servlet 2.3 or 2.4. Actually I've never heard of Observable Servlets before (must be old enough eh )...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic