my dog learned polymorphism*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Doubt in listeners Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Doubt in listeners" Watch "Doubt in listeners" New topic
Author

Doubt in listeners

raghu dubey
Ranch Hand

Joined: Jul 05, 2007
Posts: 72
Hi,
the HFSJ says thatonly HttpSessionBinding LIstener need not be registered in the DD, reslt all the listeners are needed to be declated in the DD.

HOwever, I read a post somewhere here, that said HttpSessionActivationListener also need not be declared in the DD.

Which one is correct? I cannot find that post now. pls help.


Thanks,<br />Raghu.<br /> <br />SCJP 5, SCWCD 1.4, NCFM
Phani Burra
Ranch Hand

Joined: Dec 13, 2007
Posts: 52
Yes you do not need to configure session binding listeners in DD but all others need to be configured
Narendra Dhande
Ranch Hand

Joined: Dec 04, 2004
Posts: 950
Hi,

Both the listeners need not be registered in DD.

Thanks


Narendra Dhande
SCJP 1.4,SCWCD 1.4, SCBCD 5.0, SCDJWS 5.0, SCEA 5.0
Remko Strating
Ranch Hand

Joined: Dec 28, 2006
Posts: 893
The following link will help to clarify your problems

Declaring Listeners


Remko (My website)
SCJP 1.5, SCWCD 1.4, SCDJWS 1.4, SCBCD 1.5, ITIL(Manager), Prince2(Practitioner), Reading/ gaining experience for SCEA,
raghu dubey
Ranch Hand

Joined: Jul 05, 2007
Posts: 72
Thanks Remko
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Doubt in listeners