It's not a secret anymore!
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: 13036
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: 9463

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
I agree. Here's the link:
subject: Observable in Servlets
It's not a secret anymore!