• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Application Event Framework

 
Nadine McKenzie
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have not seen mention of this and listeners in the exam objectives. Does anyone know if it is on the exam?
ThanKs!
 
Ajith Kallambella
Sheriff
Posts: 5782
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A set of listeners can actually be used as a event framework. I would think this to be an application of listeners; an example where they can be used.
 
Axel Janssen
Ranch Hand
Posts: 2166
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Nadine,
I think you "just" have to know about the listeners in servlet/jsp:
This is much more a programmer exam than about architecture or program design:
I found 6 listeners in the api:
javax.servlet.http.HttpSessionActivationListener
javax.servlet.http.HttpSessionAttributeListener
javax.servlet.http.HttpSessionBindingListener
javax.servlet.http.HttpSessionListener
javax.servlet.ServletContextAttributeListener
javax.servlet.ServletContextListener
A good "framework" to understand these listeners is satyas who_speaks_and_who_listens_logic
http://www.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&f=18&t=000865
If you are interested in event notification patterns there is a fresh tutorial in IBM_developerworks: http://www6.software.ibm.com/developerworks/education/j-delivery/j-delivery-1-1.html
But of course you dont need to know that for the exam.

Axel
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic