Win a copy of Succeeding with AI this week in the Artificial Intelligence and Machine Learning forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
  • Junilu Lacar
Sheriffs:
  • Tim Cooke
  • Jeanne Boyarsky
  • Knute Snortum
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:
  • salvin francis
  • fred rosenberger
  • Frits Walraven

Application Event Framework

 
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!
 
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.
 
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
 
Wait for it ... wait .... wait .... NOW! Pafiffle! A perfect tiny ad!
Two software engineers solve most of the world's problems in one K&R sized book
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic