Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

HttpSessionActivationListener and HttpSessionBindingListener

 
Xiaoxiao Lam
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Both HttpSessionActivationListener and HttpSessionBindingListener don't need to be configured in the DD, right? Just want to make sure. Thank you.
 
Vicky Pandya
Ranch Hand
Posts: 148
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes. That's correct. They are implemented by the attibute class. they are not configured in DD.
 
Xiaoxiao Lam
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you.
 
Ramasubbhu Allur Kuppusamy
Ranch Hand
Posts: 120
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Would someone who has taken the SCWCD Confirm this please?
 
Ganesh.P Ram
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think only the HttpSessionBindingListener need'nt be configured in the DD.
HttpSessionBindingListener is directly called by the container
Correct me if iam wrong.
 
Frederic Esnault
Ranch Hand
Posts: 284
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I confirm that both HttpSessionBindingListener and HttpSessionActivationListener must not be configured in DD.
 
Chandra Sagi
Ranch Hand
Posts: 162
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I was very much confident that HttpSessionActivationListener needs to be configured in DD whereas registeration for HttpSessionBindingListener is not required. But looking at so many people people posting its not required for both the listeners to be registered, I verified it in the HFSJ book. It says HttpSessionActivationListener must be configured in the DD. HttpSessionBindingListener is not required to be configured.(pg 261 - HFSJ)

Thanks
Chandu
 
Frederic Esnault
Ranch Hand
Posts: 284
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You're right, but check the errata for the HFSJ book. This is a reported error.
 
Chandra Sagi
Ranch Hand
Posts: 162
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for letting me know. I was under a wrong impression.

Cheers
Chandu
 
Ramasubbhu Allur Kuppusamy
Ranch Hand
Posts: 120
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Frederic for coming to our rescue once again . We will miss you in the SCWCD Forum once you recieve HFEJB.
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It's late, but I confirm too
 
Xiaoxiao Lam
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I took the exam today. Before the exam, I believed that both of them don't need to be declared in DD. But in the exam, I met a question which made me confused. It asks for 3 Listener Interfaces/Classes that must be declared in DD, I tried to find 3 answers without considering both of these two kinds, but I couldn't. So, at last I selected HttpSessionActivationListener, too. I don't know if I answered that question right or not.

By the way, I passed the test with 85%. Not bad.
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I tried to find 3 answers without considering both of these two kinds, but I couldn't

You should have tried harder


Congratulations
 
Xiaoxiao Lam
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Satou kurinosuke:

You should have tried harder


Congratulations




Thank you! I think there must be one Listener that I don't know about and it's one of the answers. I only know those mentioned in HFSJ. I will try to learn more.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic