This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Servlets and the fly likes Observable in Servlets Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Observable in Servlets" Watch "Observable in Servlets" New topic

Observable in Servlets

Neeraj Vij
Ranch Hand

Joined: Nov 25, 2003
Posts: 315
How it is useful to use observable interface in servlets ?

William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 12761
Servlets support the Observable concept with event listeners specifically designed for the servlet environment.

Neeraj Vij
Ranch Hand

Joined: Nov 25, 2003
Posts: 315
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 ?


Ankit Garg

Joined: Aug 03, 2008
Posts: 9291

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 )...

SCJP 6 | SCWCD 5 | Javaranch SCJP FAQ | SCWCD Links
jQuery in Action, 2nd edition
subject: Observable in Servlets
Similar Threads
Observer and Observable
How to write my own Event ( & Listener for it)??
GUI assignment ambiguous?
What is Observer and Observable?