JWorld@TW the best professional Java site in Taiwan
      註冊 | 登入 | 全文檢索 | 排行榜  

» JWorld@TW » Java Certification » SCWCD  

按列印兼容模式列印這個話題 列印話題    把這個話題寄給朋友 寄給朋友    訂閱主題
reply to postflat modego to previous topicgo to next topic
本主題所含的標籤
無標籤
作者 SCWCD 1.3 與 1.4 的差異 [精華]
swanky

暴走熊

版主

發文: 461
積分: 9
於 2004-03-12 19:54 user profilesend a private message to usersend email to swankyreply to postreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
本文列出新舊版的對照
與我所發現的異同
日後會慢慢補強比對的部分
歡迎大家幫忙訂正、補完

SCWCD 1.3
Section 1: The Servlet Model
# 1.1 For each of the HTTP methods, GET, POST, and PUT, identify the corresponding method in the HttpServlet class.
# 1.2 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.
# 1.3 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
# * Redirect an HTTP request to another URL
# 1.4 Identify the interface and method to access values and resources and to set object attributes within the following three Web scopes:
# * Request
# * Session
# * Context
# 1.5 Given a life-cycle method: init, service, or destroy, identify correct statements about its purpose or about how and when it is invoked.
# 1.6 Use a RequestDispatcher to include or forward to a Web resource.


SCWCD 1.4
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.


新的1.2、1.3加入了cookie的部分
舊的1.6被併到新的3.5

SCWCD 1.3
Section 2: The Structure and Deployment of Modern Servlet Web Applications
# 2.1 Identify the structure of a Web Application and Web Archive file, the name of the WebApp deployment descriptor, and the name of the directories where you place the following:
# * The WebApp deployment descriptor
# * The WebApp class files
# * Any auxiliary JAR files
# 2.2 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


SCWCD 1.4
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.


新版多了web.xml的<mime-mapping>、<welcome-file>

SCWCD 1.3
Section 3: The Servlet Container Model
# 3.1 Identify the uses for and the interfaces (or classes) and methods to achieve the following features:
# * Servlet context init. parameters
# * Servlet context listener
# * Servlet context attribute listener
# * Session attribute listeners
# 3.2 Identify the WebApp deployment descriptor element name that declares the following features:
# * Servlet context init. parameters
# * Servlet context listener
# * Servlet context attribute listener
# * Session attribute listeners
# 3.3 Distinguish the behavior of the following in a distributable:
# * Servlet context init. parameters
# * Servlet context listener
# * Servlet context attribute listener
# * Session attribute listeners


SCWCD 1.4
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.


新版多了3.3的Filter

SCWCD 1.3
Section 4: Designing and Developing Servlets to Handle Server-side Exceptions
# 4.1 For each of the following cases, identify correctly constructed code for handling business logic exceptions, and match that code with correct statements about the code's behavior: Return an HTTP error using the sendError response method; Return an HTTP error using the setStatus method.
# 4.2 Given a set of business logic exceptions, identify the following: The configuration that the deployment descriptor uses to handle each exception; How to use a RequestDispatcher to forward the request to an error page; Specify the handling declaratively in the deployment descriptor.
# 4.3 Identify the method used for the following: Write a message to the WebApp log; Write a message and an exception to the WebApp log.


此部分被刪減併到新版2.2、2.3

SCWCD 1.3
Section 5: Designing and Developing Servlets Using Session Management
# 5.1 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 objects into a session object
# * 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
# 5.2 Given a scenario, state whether a session object will be invalidated.
# 5.3 Given that URL-rewriting must be used for session management, identify the design requirement on session-related HTML pages.


SCWCD 1.4
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.


關於session的部分差不多

SCWCD 1.3
Section 6: Designing and Developing Secure Web Applications
# 6.1 Identify correct descriptions or statements about the security issues:
# * Authentication, authorization
# * Data integrity
# * Auditing
# * Malicious code
# * Web site attacks
# 6.2 Identify the deployment descriptor element names, and their structure, that declare the following:
# * A security constraint
# * A Web resource
# * The login configuration
# * A security role
# 6.3 Given an authentication type: BASIC, DIGEST, FORM, and CLIENT-CERT, identify the correct definition of its mechanism.


SCWCD 1.4
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.


關於security的部分差不多

SCWCD 1.3
Section 7: Designing and Developing Thread-safe Servlets
# 7.1 Identify which attribute scopes are thread-safe:
# * Local variables
# * Instance variables
# * Class variables
# * Request attributes
# * Session attributes
# * Context attributes
# 7.2 Identify correct statements about differences between the multi-threaded and single-threaded servlet models.
# 7.3 Identify the interface used to declare that a servlet must use the single thread model.


此部分被刪減併到新版3.2

SCWCD 1.3
Section 8: The JavaServer Pages Technology Model
# 8.1 Write the opening and closing tags for the following JSP tag types:
# * Directive
# * Declaration
# * Scriptlet
# * Expression
# 8.2 Given a type of JSP tag, identify correct statements about its purpose or use.
# 8.3 Given a JSP tag type, identify the equivalent XML-based tags.
# 8.4 Identify the page directive attribute, and its values, that:
# * Import a Java class into the JSP page
# * Declare that a JSP page exists within a session
# * Declare that a JSP page uses an error page
# * Declare that a JSP page is an error page
# 8.5 Identify and put in sequence the following elements of the JSP page lifecycle:
# * Page translation
# * JSP page compilation
# * Load class
# * Create instance
# * Call jspInit
# * Call _jspService
# * Call jspDestroy
# 8.6 Match correct descriptions about purpose, function, or use with any of the following implicit objects:
# * request
# * response
# * out
# * session
# * config
# * application
# * page
# * pageContext
# * exception
# 8.7 Distinguish correct and incorrect scriptlet code for:
# * A conditional statement;
# * An iteration statement


SCWCD 1.4
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).


新版多了許多新東西

SCWCD 1.3
Section 9: Designing and Developing Reusable Web Components
# 9.1 Given a description of required functionality, identify the JSP page directive or standard tag in the correct format with the correct attributes required to specify the inclusion of a Web component into the JSP page.

Section 10: Designing and Developing JSP Pages Using JavaBeans Components

# 10.1 For any of the following tag functions, match the correctly constructed tag, with attributes and values as appropriate, with the corresponding description of the tag's functionality:
# * Declare the use of a JavaBeans component within the page.
# * Specify, for jsp: useBean or jsp: getProperty tags, the name of an attribute.
# * Specify, for a jsp: useBean tag, the class of the attribute.
# * Specify, for a jsp: useBean tag, the scope of the attribute.
# * Access or mutate a property from a declared JavaBean.
# * Specify, for a jsp: getProperty tag, the property of the attribute.
# * Specify, for a jsp: setProperty tag, the property of the attribute to mutate, and the new value.
# 10.2 Given JSP page attribute scopes: request, session, application, identify the equivalent servlet code.
# 10.3 Identify techniques that access a declared JavaBean component.


SCWCD 1.4
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.


多了EL

SCWCD 1.3
Section 11: Designing and developing JSP Pages Using Custom Tags
# 11.1 Identify properly formatted tag library declarations in the Web application deployment descriptor.
# 11.2 Identify properly formatted taglib directives in a JSP page.
# 11.3 Given a custom tag library, identify properly formatted custom tag usage in a JSP page. Uses include:
# * An empty custom tag
# * A custom tag with attributes
# * A custom tag that surrounds other JSP code
# * Nested custom tags

Section 12: Designing and Developing a Custom Tag Library
# 12.1 Identify the tag library descriptor element names that declare the following:
# * The name of the tag
# * The class of the tag handler
# * The type of content that the tag accepts
# * Any attributes of the tag
# 12.2 Identify the tag library descriptor element names that declare the following:
# * The name of a tag attribute
# * Whether a tag attribute is required
# * Whether or not the attribute's value can be dynamically specified
# 12.3 Given a custom tag, identify the necessary value for the bodycontent TLD element for any of the following tag types:
# * Empty-tag
# * Custom tag that surrounds other JSP code
# * Custom tag that surrounds content that is used only by the tag handler
# 12.4 Given a tag event method (doStartTag, doAfterBody, and doEndTag), identify the correct description of the methods trigger.
# 12.5 Identify valid return values for the following methods:
# * doStartTag
# * doAfterBody
# * doEndTag
# * PageConext.getOut
# 12.6 Given a "BODY" or "PAGE" constant, identify a correct description of the constant's use in the following methods:
# * doStartTag
# * doAfterBody
# * doEndTag
# 12.7 Identify the method in the custom tag handler that accesses:
# * A given JSP page's implicit variable
# * The JSP page's attributes
# 12.8 Identify methods that return an outer tag handler from within an inner tag handler.


SCWCD 1.4
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.


新版多了JSTL1.1的"core" tag library
Custom Tag Library的部分改變很多

SCWCD 1.3
Section 13
# 13.1 Given a scenario description with a list of issues, select the design pattern (Value Objects, MVC, Data Access Object, or Business Delegate) that would best solve those issues.
# 13.2 Match design patterns with statements describing potential benefits that accrue from the use of the pattern, for any of the following patterns:
# * Value Objects
# * MVC
# * Data Access Object
# * Business Delegate


SCWCD 1.4
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.


新版少了Data Access Object;多了Intercepting Filter、Front Controller、Service Locator
Value Objects改名為Transfer Object


swanky edited on 2004-03-13 07:47
reply to postreply to post
話題樹型展開
人氣 標題 作者 字數 發文時間
11322 [精華] SCWCD 1.3 與 1.4 的差異 swanky 19963 2004-03-12 19:54
» JWorld@TW »  Java Certification » SCWCD

reply to postflat modego to previous topicgo to next topic
  已讀文章
  新的文章
  被刪除的文章
Jump to the top of page

JWorld@TW 本站商標資訊

Powered by Powerful JuteForum® Version Jute 1.5.8