File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Which annotation specifies the metadata as a javax.servlet.http.HttpSessionListener? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Which annotation specifies the metadata as a javax.servlet.http.HttpSessionListener?" Watch "Which annotation specifies the metadata as a javax.servlet.http.HttpSessionListener?" New topic
Author

Which annotation specifies the metadata as a javax.servlet.http.HttpSessionListener?

pasquale vitale
Greenhorn

Joined: Aug 22, 2008
Posts: 10
Hi all,
I'm preparing the OCPJWCD exame. Here is the question

Which annotation specifies the metadata as a javax.servlet.http.HttpSessionListener?



Answer: A

But I think that it is B.

Thank you
pasquy
rajeswari kannan
author
Ranch Hand

Joined: Oct 01, 2006
Posts: 80
Yes you are right. Refer the content "annotated with WebListener" at http://docs.oracle.com/javaee/6/api/javax/servlet/http/HttpSessionListener.html


Rajeswari Kannan Java Certification | Online Exam Software | OCAJP | OCPJP | OCEJWSD | OCEEJBD
OCEJPAD | SCJD | SCWCD | SCBCD | SCDJWS | OCMJEA | OCEJWCD | SCMAD
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Which annotation specifies the metadata as a javax.servlet.http.HttpSessionListener?
 
Similar Threads
@DeclareRoles
Unable to use @NamedQuery in a session bean?
question on listener interface
does java annotations uses the java refection.
Do we need servlet mapping of a servlet in web.xml while using struts Action and forwarding.