• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Listeners

 
Stella Kim
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HF book says that ONLY HttpSessionBindingListenr isn't configured in DD.
But, I saw somewhere that HttpSessionActivationListener is NOT configured in DD either.
Which one is correct ?
Please anyone got clear answer ?
 
Deepak Bala
Bartender
Posts: 6663
5
Firefox Browser Linux MyEclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Whenever you have a case where it is the object that is being notified, you dont have to configure a listener in the DD. But for the exam I guess you when you see HttpSessionActivationListener you say "Yes yes o might exam, this listener is configured in the DD". Anyway you can rule out possible wrong answers by looking at the number of correct options. Thanks god for that
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65335
97
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"flytothemoon",

There aren't many rules that you need to worry about here on the Ranch, but one that we take very seriously regards the use of proper names. Please take a look at the JavaRanch Naming Policy and adjust your display name to match it.

In particular, your display name must be a first and a last name separated by a space character, and must not be obviously fictitious.

Thanks!
bear
JavaRanch Sheriff
 
Stella Kim
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you John
and
Bear, I changed the display name.
When I registered and was about to type in the display name, the music 'fly me to the moon' was playing. That's why I had that name. I didn't read the display naming policy.
Now, I changed...
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65335
97
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic