It's not a secret anymore!*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Draft objectives for SCWCD 1.4 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Draft objectives for SCWCD 1.4" Watch "Draft objectives for SCWCD 1.4" New topic
Author

Draft objectives for SCWCD 1.4

Bert Bates
author
Sheriff

Joined: Oct 14, 2002
Posts: 8801
    
    5
Howdy Ranchers!
Here are the draft objectives for the new version of the SCWCD exam. There may be minor changes to these objectives, but these are certainly solid enough to use as a basis for your studies.

Draft: Sun Certified Web Component Developer for J2EE 1.4 12/18/03

1 The Servlet Technology Model
1.1 For each of the HTTP Methods (such as GET, POST, HEAD, and so on) describe the purpose of the method and the technical characteristics of the HTTP Method protocol, list triggers that might cause a Client (usually a Web browser) to use the method; and identify the HttpServlet method that corresponds to the HTTP Method.
1.2 Using the HttpServletRequest interface, write code to retrieve HTML form parameters from the request, retrieve HTTP request header information, or retrieve cookies from the request.
1.3 Using the HttpServletResponse interface, write code to 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, redirect an HTTP request to another URL, or add cookies to the response.
1.4 Describe the purpose and event sequence of the servlet life cycle: (1) servlet class loading, (2) servlet instantiation, (3) call the init method, (4) call the service method, and (5) call destroy method.

1.5 Objective deleted.

2 The Structure and Deployment of Web Applications
2.1 Construct the file and directory structure of a Web Application that may contain (a) static content, (b) JSP pages, (c) servlet classes, (d) the deployment descriptor, (e) tag libraries, (d) JAR files, and (e) Java class files; and describe how to protect resource files from HTTP access.

2.2 Describe the purpose and semantics for each of the following deployment descriptor elements: error-page, init-param, mime-mapping, servlet, servlet-class, servlet-mapping, servlet-name, and welcome-file.

2.3 Construct the correct structure for each of the following deployment descriptor elements: error-page, init-param, mime-mapping, servlet, servlet-class, servlet-mapping, servlet-name, and welcome-file.

2.4 Explain the purpose of a WAR file and describe the contents of a WAR file, how one may be constructed.
3 The Web Container Model

3.1 For the ServletContext initialization parameters: write servlet code to access initialization parameters; and create the deployment descriptor elements for declaring initialization parameters.

3.2 For the fundamental servlet attribute scopes (request, session, and context): write servlet code to add, retrieve, and remove attributes; given a usage scenario, identify the proper scope for an attribute; and identify multi-threading issues associated with each scope.

3.3 Describe the Web container request processing model; write and configure a filter; create a request or response wrapper; and given a design problem, describe how to apply a filter or a wrapper.

3.4 Describe the Web container life cycle event model for requests, sessions, and web applications;create and configure listener classes for each scope life cycle; create and configure scope attribute listener classes; and given a scenario, identify the proper attribute listener to use.

3.5 Describe the RequestDispatcher mechanism; write servlet code to create a request dispatcher; write servlet code to forward or include the target resource; and identify and describe the additional request-scoped attributes provided by the container to the target resource.

4 Session Management

4.1 Write servlet code to store objects into a session object and retrieve objects from a session object.

4.2 Given a scenario describe the APIs used to access the session object, explain when the session object was created, and describe the mechanisms used to destroy the session object, and when it was destroyed.

4.3 Using session listeners, write code to respond to an event when an object is added to a session, and write code to respond to an event when a session object migrates from one VM to another.

4.4 Given a scenario, describe which session management mechanism the Web container could employ, how cookies might be used to manage sessions, how URL rewriting might be used to manage sessions, and write servlet code to perform URL rewriting.

5 Web Application Security

5.1 Based on the servlet specification, compare and contrast the following security mechanisms: (a) authentication, (b) authorization, (c) data integrity, and (d) confidentiality.

5.2 In the deployment descriptor, declare a security constraint, a Web resource, the transport guarantee, the login configuration, and a security role.

5.3 Compare and contrast the authentication types (BASIC, DIGEST, FORM, and CLIENT-CERT); describe how the type works; and given a scenario, select an appropriate type.

6 The JavaServer Pages (JSP) Technology Model

6.1 Identify, describe, or write the JSP code for the following elements: (a) template text, (b) scripting elements (comments, directives, declarations, scriptlets, and expressions), (c) standard and custom actions, and (d) expression language elements.

6.2 Write JSP code that uses the directives: (a) 'page' (with attributes 'import', 'session', 'contentType', and 'isELIgnored'), (b) 'include', and (c) 'taglib'.

6.3 Write a JSP Document (XML-based document) that uses the correct syntax.

6.4 Describe the purpose and event sequence of the JSP page life cycle: (1) JSP page translation, (2) JSP page compilation, (3) load class, (4) create instance, (5) call the jspInit method, (6) call the _jspService method, and (7) call the jspDestroy method.

6.5 Given a design goal, write JSP code using the appropriate implicit objects: (a) request, (b) response, (c) out, (d) session, (e) config, (f) application, (g) page, (h) pageContext, and (i) exception.

6.6 Configure the deployment descriptor to declare one or more tag libraries, deactivate the evaluation language, and deactivate the scripting language.

6.7 Given a specific design goal for including a JSP segment in another page, write the JSP code that uses the most appropriate inclusion mechanism (the include directive or the jsp:include standard action).

7 Building JSP Pages Using the Expression Language (EL)

7.1 Given a scenario, write EL code that accesses the following implicit variables including pageScope, requestScope, sessionScope, and applicationScope, param and paramValues, header and headerValues, cookie, initParam and pageContext.

7.2 Given a scenario, write EL code that uses the following operators: property access (the . operator), collection access (the [] operator).

7.3 Given a scenario, write EL code that uses the following operators: aritmetic operators, relational operators, and logical operators.

7.4 Given a scenario, write EL code that uses a function; write code for an EL function; and configure the EL function in a tag library descriptor.

8 Building JSP Pages Using Standard Actions

8.1 Given a design goal, create a code snippet using the following standard actions: jsp:useBean (with attributes: 'id', 'scope', 'type', and 'class'), jsp:getProperty, and jsp:setProperty (with all attribute combinations).

8.2 Given a design goal, create a code snippet using the following standard actions: jsp:include, jsp:forward, and jsp aram.

9 Building JSP Pages Using Tag Libraries

9.1 For a custom tag library or a library of Tag Files, create the 'taglib' directive for a JSP page.

9.2 Given a design goal, create the custom tag structure in a JSP page to support that goal.

9.3 Given a design goal, use an appropriate JSP Standard Tag Library (JSTL v1.1) tag from the "core" tag library.
10 Building a Custom Tag Library

Old objective 10.1 deleted.

10.1 Describe the semantics of the "Classic" custom tag event model when each event method (doStartTag, doAfterBody, and doEndTag) is executed, and explain what the return value for each event method means; and write a tag handler class.

10.2 Using the PageContext API, write tag handler code to access the JSP implicit variables and access web application attributes.

10.3 Given a scenario, write tag handler code to access the parent tag and an arbitrary tag ancestor.

10.4 Describe the semantics of the "Simple" custom tag event model when the event method (doTag) is executed; write a tag handler class; and explain the constraints on the JSP content within the tag.

10.5 Describe the semantics of the Tag File model; describe the web application structure for tag files; write a tag file; and explain the constraints on the JSP content in the body of the tag.
11 J2EE Patterns

11.1 Given a scenario description with a list of issues, select a pattern that would solve the issues. The list of patterns you must know are: Intercepting Filter, Model-View-Controller, Front Controller, Service Locator, Business Delegate, and Transfer Object.

11.2 Match design patterns with statements describing potential benefits that accrue from the use of the pattern, for any of the following patterns: Intercepting Filter, Model-View-Controller, Front Controller, Service Locator, Business Delegate, and Transfer Object.


Spot false dilemmas now, ask me how!
(If you're not on the edge, you're taking up too much room.)
Ko Ko Naing
Ranch Hand

Joined: Jun 08, 2002
Posts: 3178
Hi Mr.Bates,
Do the objectives that u listed apply only to the officially released exam or do they also apply to the beta exam as well?
I feel that the objectives that u mentioned above are more specific than the ones that we got from the Evelyn's survey... It's better so that the beta tester can emphasize on the specific areas....


Co-author of SCMAD Exam Guide, Author of JMADPlus
SCJP1.2, CCNA, SCWCD1.4, SCBCD1.3, SCMAD1.0, SCJA1.0, SCJP6.0
Weerawit Maneepongsawat
Ranch Hand

Joined: Apr 11, 2002
Posts: 203
amazing!!!...
I think it's very hard for JSP 2.0. The servlet look like the same old version.
I want to test the beta...holp i get that one..
Weerawit Maneepongsawat
SCJP 1.4, SCWCD


Weerawit<br />SCJP 1.4, SCWCD 1.2, SCWCD 1.4, SCBCD 1.3, SCBCD 5.0, SCMAD 1.0, SCJA 1.0, SCDJWS, SCJD, SCEA, SCDJWS 1.5
Gustavo Torreti
Ranch Hand

Joined: May 20, 2003
Posts: 84
Originally posted by Ko Ko Naing:
Do the objectives that u listed apply only to the officially released exam or do they also apply to the beta exam as well?

Use his objectives to prepare to the beta, Mr. Naing.
Normally the beta and final versions of the exam have no difference concerning objectives.
As for the SCBCD, the objectives did not change, and only the questions had been reduced to a more human-acceptable number (they were 163 ).
I hope to be part of this exam beta testing. It reminds me of the tests that must be taken to get to University...
You may want to wait for some official answer, though.

Take care,
Gus


You were trained to handle mission impossible; 'difficult' should be a walk in the park for you.
Bert Bates
author
Sheriff

Joined: Oct 14, 2002
Posts: 8801
    
    5
Gus is correct,
These objectives are for the beta, and will also be for the real exam. There is a small possibility that these objectives might change after the beta, but if they do it will be in a tiny, tiny way.
These objectives are very stable for the purposes of directing your studies.
Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8904

Hello Bert,
When are posting mock questions. I guess before Christmas :roll:


Groovy
Bert Bates
author
Sheriff

Joined: Oct 14, 2002
Posts: 8801
    
    5
Yes! Before Christmas!
(but the question is... Christmas of which year?)
Seriously, we JUST finished creating the exam last week, we know the beta is coming soon, and we're working as fast as we can, in between shopping.
Bert
Theodore Casser
Ranch Hand

Joined: Mar 14, 2001
Posts: 1902

Cool beans. I guess that means it's time for me to start studying...


Theodore Jonathan Casser
SCJP/SCSNI/SCBCD/SCWCD/SCDJWS/SCMAD/SCEA/MCTS/MCPD... and so many more letters than you can shake a stick at!
 
 
subject: Draft objectives for SCWCD 1.4
 
Similar Threads
Questions of 1.4 exam
New forum for Sun Certified Web Component Developer
Sun Certified Web Component Developer
Can I take SCWCD 1.4 having SCJP 1.2?
SCWCD 1.4 FREE Beta Voucher Info