Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Look up keyword
Like this
1Activity
0 of .
Results for:
No results containing your search query
P. 1
scwcd-alxdark

scwcd-alxdark

Ratings: (0)|Views: 24 |Likes:
Published by Bhavin Acharya

More info:

Published by: Bhavin Acharya on Oct 19, 2008
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

05/09/2014

pdf

text

original

Sun's Java 2 Web Component Developer Certification
http://home.earthlink.net/~alxdark/software/wcd-guide/wcd-guide.html
1 of 80
\ue000\ue001\ue002\ue003\ue004\ue005\ue006\ue007\ue008\ue007\ue005\ue009\ue005\ue00a\ue00b\ue00c\ue005\ue00d\ue00e\ue00f\ue010\ue00e\ue002\ue00b\ue002\ue011\ue005\ue012\ue00b\ue008\ue00b\ue013\ue00e\ue010\ue00b\ue014\ue005\ue00d\ue00b\ue014\ue011\ue015\ue016\ue015\ue017\ue007\ue011\ue015\ue00e\ue002
\ue000\ue001\ue002\ue003\ue004\ue005\ue006\ue007
Copyright \u00a9 2002 Alx Dark
\ue008\ue009\ue00a\ue00b\ue00c\ue00b\ue00d\ue00e\ue003\ue00f\ue00b\ue00c\ue010\ue00d\ue006\ue011
Revision 1.15

2004-03-25
Typos fixed.
Revision 1.14

2003-07-08
Minor typographic mistakes corrected, clarifications on relationship ofdoGet and
doHeadm et hods.
Revision 1.13
2003-01-22
\ue012\ue005\ue013\ue001\ue009\ue003\ue00d\ue014\ue003\ue015\ue00d\ue00e\ue010\ue009\ue00e\ue010\ue00c

Preface
Contributors
Document Publication and Formats

The Servlet Model
For each of the HTTP methods, GET, POST, and PUT, identify the

corresponding method in the HttpServlet class.
HTTP GET
HTTP POST
HTTP PUT

For each of the HTTP methods, GET, POST, and HEAD, identify triggers
that might cause a browser to use the method, and identify benefits or

functionality of the method.
HTTP GET
HTTP POST
HTTP HEAD

For each of the following operations, identify the interface and method name

that should be used:
Retrieve HTML form parameters from the request
Retrieve a servlet initialization parameter
Retrieve HTTP request header information
Set an HTTP response header; set the content type of the response
Acquire a text stream for the response
Acquire a binary stream for the response

Sun's Java 2 Web Component Developer Certification
http://home.earthlink.net/~alxdark/software/wcd-guide/wcd-guide.html
2 of 80
Redirect an HTTP request to another URL
Identify the interface and method to access values and resources and to set

object attributes within the following three Web scopes:
Request
Session
Context

Given a life-cycle method: init, service, or destroy, identify correct statements

about its purpose or about how and when it is invoked.
init
service
destroy

Use a RequestDispatcher to include or forward to a Web resource
Getting the RequestDispatcher
Using the RequestDispatcher

The Structure and Deployment of Modern Servlet Web Applications
Identify the structure of a Web Application and Web Archive file.
Match the name with a description of purpose or functionality, for each of the

following deployment descriptor elements:
Servlet instance
Servlet name
Servlet class
Initialization parameters
URL to named servlet mapping

The Servlet Container Model
Identify the uses for and the interfaces (or classes) and methods to achieve

the following features:
Servlet context initialization parameters
Servlet context listener
Servlet context attribute listener
Session attribute listeners

Identify the WebApp deployment descriptor element name that declares the

following features:
Servlet context initialization parameters
Servlet context listeners, servlet context attribute listeners, session
listeners or session attribute listeners

Distinguish the behavior of the following in a distributable:
Servlet context initialization parameters
Servlet context listener
Servlet context attribute listeners
Session attribute listeners

Sun's Java 2 Web Component Developer Certification
http://home.earthlink.net/~alxdark/software/wcd-guide/wcd-guide.html
3 of 80
Designing and Developing Servlets to Handle Server-side Exceptions

Handling Business Logic Exceptions with HTTP Error Codes
sendError
setStatus

Handling Business Logic Exceptions Other Ways
Deployment Descriptors
RequestDispatcher

Web Application Logs
Designing and Developing Servlets Using Session Management

Identify the interface and method for each of the following:
Retrieve a session object across multiple requests to the same or
different servlets within the same WebApp
Store or retrieve objects from a session object
Respond to the event when a particular object is added to a session
Respond to the event when a session is created and destroyed
Expunge a session object

Given a scenario, state whether a session object will be invalidated
URL-rewriting
Designing and Developing Secure Web Applications

Identify correct descriptions or statements about the security issues:
Authentication, authorization
Data integrity
Auditing
Malicious code
Web site attacks

Identify the deployment descriptor element names, and their structure, that

declare the following:
A security constraint including a web resource
The login configuration
A security role

Types of authentication
BASIC
DIGEST
FORM
CLIENT-CERT

Designing and Developing Thread-safe Servlets

Identify which attribute scopes are thread-safe:
Local variables
Instance variables
Class variables

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->