Servlet - Intermed

Print the objectives

Take the exam   Take a beta test

This exam is based on the ability to use the Servlet API for intermediate tasks. This knowledge is still needed when using a web framework (as Struts, Tapestry, Spring MVC, etc.). It requires some what less knowledge than the SCWCD certification.(CX-310-081) As per JavaBlackBelt standards, you are free to use any book, notes, IDE and web reference while taking this exam.
  Released  Beta  Frozen  

Request Headers And Listeners  2 questions

  • Using the HttpServletRequest interface write code to retrieve HTTP request header information.
  • Using request listeners, write code to respond to an event when an object is added to a request.
7 56 27

Response Headers And Listeners  2 questions

  • Write code to set the content-type of the response.
  • Write code to manipulate content of response headers.
  • Know difference between ServletOutputStream and Writer objects.
6 7 29

Request Dispatcher  2 questions

  • Write servlet code to create a request dispatcher and to forward or include the target resource.
  • Know the difference between ServletRequest.getRequestDispatcher() and ServletContext.getRequestDispatcher() methods.
8 82 7

Servlet Config  1 question

  • Be able to understand one servletConfig object per servlet, so it is used for servlet specific initialization parameters.
  • Write code to access Servlet Context with the help of Servlet Config.
2 34 13

Servlet Context Listeners  1 question

  • Using Servlet listeners, write code to respond to an event when Servlet Context is created or an object is added to a Servlet Context.
5 39 10

Session Life Cycle  3 questions

  • Know that session object is not thread safe.
  • Using session listeners, write code to respond to an event when session is created or an object is added to a session.
  • Write code to respond to an event when a session object migrates from one JVM to another.i.e. for session activation and passivation.
  • Know the definition of session migration and session replication.
5 44 41

Cookies  1 question

  • Be able to understand the format and purpose of a cookie.
  • Write simple code to use cookie for session tracking.
4 26 15

Basic Filter  2 questions

  • Be able to understand what a filter is and why it is used.
  • Write simple code for logging and auditing-tracking users of a web application.

Not Covered:

  • Authentication-Blocking requests based on user identity.
  • Image conversion-Scaling maps, and so on.
  • Altering original response by use of wrappers.

8 42 31

Structure and Deployment  2 questions

  • Configure the web.xml deployment descriptor correctly for a servlet with proper placement of servlet init parameters, listeners, distributed and filter related entries.
5 63 27

Exam information

  • 24 minutes
  • 16 questions (643)
  • 80% required
  • +3 √
  • - 12  points
  • 15 day delay
  • status: released

Top contributors