This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma 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

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: 13000
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: 9400

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
Have you checked out Aspose?
subject: Observable in Servlets
It's not a secret anymore!