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
Author

Observable in Servlets

Neeraj Vij
Ranch Hand

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

Thanks
Neeraj
William Brogden
Author and all-around good cowpoke
Rancher

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

Bill
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 ?

Thanks

Neeraj.
Ankit Garg
Sheriff

Joined: Aug 03, 2008
Posts: 9400
    
  20

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!