• 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
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • salvin francis
  • fred rosenberger

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
 
Seriously Rick? Seriously? You might as well just read this tiny ad:
Devious Experiments for a Truly Passive Greenhouse!
https://www.kickstarter.com/projects/paulwheaton/greenhouse-1
    Bookmark Topic Watch Topic
  • New Topic