===============================================================Section 1: The Servlet Technology Model
--------------------------------------------------------------------------------
? 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.
? 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.
? 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.
? 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.
Section 2: The Structure and Deployment of Web Applications
--------------------------------------------------------------------------------
? 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.
? Describe the purpose and semantics of the deployment descriptor.
? Construct the correct structure of the deployment descriptor.
? Explain the purpose of a WAR file and describe the contents of a WAR file, how one may be constructed.
Section 3: The Web Container Model
--------------------------------------------------------------------------------
? For the ServletContext initialization parameters: write servlet code to access initialization parameters; and create the deployment descriptor elements for declaring initialization parameters.
? 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.
? 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.
? 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.
? 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.
Section 4: Session Management
--------------------------------------------------------------------------------
? Write servlet code to store objects into a session object and retrieve objects from a session object.
? 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.
? 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.
? 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.
Section 5: Web Application Security
--------------------------------------------------------------------------------
? Based on the servlet specification, compare and contrast the following security mechanisms: (a) authentication, (b) authorization, (c) data integrity, and (d) confidentiality.
? In the deployment descriptor, declare a security constraint, a Web resource, the transport guarantee, the login configuration, and a security role.
? 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.
Section 6: The JavaServer Pages (JSP) Technology Model
--------------------------------------------------------------------------------
? 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.
? Write JSP code that uses the directives: (a) 'page' (with attributes 'import', 'session', 'contentType', and 'isELIgnored'), (b) 'include', and (c) 'taglib'.
? Write a JSP Document (XML-based document) that uses the correct syntax.
? 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.
? 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.
? Configure the deployment descriptor to declare one or more tag libraries, deactivate the evaluation language, and deactivate the scripting language. 6.7Given 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).
Section 7: Building JSP Pages Using the Expression Language (EL)
--------------------------------------------------------------------------------
? 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.
? Given a scenario, write EL code that uses the following operators: property access (the . operator), collection access (the [] operator).
? Given a scenario, write EL code that uses the following operators: aritmetic operators, relational operators, and logical operators.
? 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.
Section 8: Building JSP Pages Using Standard Actions
--------------------------------------------------------------------------------
? 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).
? Given a design goal, create a code snippet using the following standard actions: jsp:include, jsp:forward, and jsp:param.
Section 9: Building JSP Pages Using Tag Libraries
--------------------------------------------------------------------------------
? For a custom tag library or a library of Tag Files, create the 'taglib' directive for a JSP page.
? Given a design goal, create the custom tag structure in a JSP page to support that goal.
? Given a design goal, use an appropriate JSP Standard Tag Library (JSTL v1.1) tag from the "core" tag library.
Section 10: Building a Custom Tag Library
--------------------------------------------------------------------------------
? 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.
? Using the PageContext API, write tag handler code to access the JSP implicit variables and access web application attributes.
? Given a scenario, write tag handler code to access the parent tag and an arbitrary tag ancestor.
? 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.
? 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.
Section 11: J2EE Patterns
--------------------------------------------------------------------------------
? 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.
? 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.
分享到:
相关推荐
SCWCD 310-081 是Sun Microsystems(现已被Oracle收购)认证的Java Web组件开发专家考试,这是Java EE(企业版)开发者证书的一部分。这个认证主要测试候选者在开发基于Java的Web应用程序方面的技能,特别是涉及到...
310-083是这个认证考试的代码,它主要涵盖了Servlet、JSP(JavaServer Pages)以及Java Web应用的基础知识。 Servlet是Java编程语言中的一个接口,用于扩展服务器的功能,它可以接收并响应来自HTTP客户端的请求。...
### SCWCD 310-083 题库分享知识点解析 #### 一、SCWCD 310-083 认证介绍 - **认证全称**:Sun ...以上是基于SCWCD 310-083题库分享文件中提到的知识点进行的详细解析,希望能够帮助到准备参加该认证考试的朋友。
标题中的"SCWCD_310-081+083_完整题库"表明这是一个针对SCWCD考试的综合练习资源,包括了310-081和310-083两个部分的题目。这两个考试编号可能对应着不同版本的SCWCD考试大纲,涵盖了不同的知识点和技能要求。 310-...
SCWCD310-083是Sun Certified Web Component Developer for Java EE 5的考试,这是一份针对Java Web开发人员的专业认证。以下是对笔记中提到的关键知识点的详细解释: 1. **JSP动作标签**: - `<jsp:include>` ...
这个"310-081 SCWCD题库"显然是为了帮助备考SCWCD 310-081认证的人准备的资源,它可能包含了大量的模拟试题和答案,以帮助考生熟悉考试格式和内容。 SCWCD认证主要涵盖以下关键知识点: 1. **Servlet技术**:...
SCWCD,全称Sun Certified Web Component Developer,是Oracle(原Sun Microsystems)公司推出的一项针对Java Web开发的专业认证。这个认证主要考察开发者在构建动态Web应用程序方面的能力,包括Servlet、JSP(Java...
以上三个题目涵盖了JSP的基本概念、标签库的应用以及表达式语言和标准动作的使用,这些都是SCWCD认证考试中的重要内容。通过这些例子,可以帮助考生更好地理解J2EE 5环境下Web组件开发的关键技术和最佳实践。
今天(7.31)下午刚刚过了SCWCD,98%,那一题不知道错在哪里。把我的复习资料传上来,都是网上搜索的,剔除了没有用的过时的资料,其中的head first笔记和276题量的题库是一定要过一遍的,都是原题。祝好运。
SCWCD 276 题库(昨天,我就是凭借这个题库通过)276道真题,只要把这个题库吃透,通过肯定没有问题,因为我就是昨天通过的(310-083)。以防题库更新,请大家尽快去考~
SCWCD,全称为Sun Certified Web Component Developer,是Oracle公司为Java EE平台提供的一项专业认证,旨在测试开发者在创建Web组件,如Servlets、JSP(JavaServer Pages)以及相关技术方面的能力。310-083是SCWCD...
SCWCD (Sun Certified Web Component Developer) 310-083 是Sun Microsystems(现在属于Oracle公司)提供的一个认证考试,旨在测试开发者对于Java EE平台下Web组件开发的理解与应用能力。该考试重点考察JSP、Servlet...
Sun Certified Web Component Developer (SCWCD) for J2EE 5 认证 - **认证名称**:Sun Certified Web Component Developer for J2EE 5 - **考试类型**:Sun - **考试代码**:310-083 - **总题数**:239 #### ...
SCWCD,全称Sun Certified Web Component Developer,是Oracle(原Sun Microsystems)公司推出的一项针对Java Web开发的专业认证。310-083是SCWCD考试的一个版本号,这个模拟器是针对该版本考试的练习工具。SCWCD...
"310-081" 是SCWCD(Sun Certified Web Component Developer)认证考试的一个常见代号,这个称号是Java Web开发领域的专业认证,主要针对Servlet和JSP(JavaServer Pages)技术。SCWCD认证是Java EE(Enterprise ...
代号:310-083 该文档题量:239 主要看前100题,我考了两次,出的题都是在100以内。 我考式时出的题全是这套题上的,没有一个没在这套题上。包括一个原版题和一个我自己终结题(只是加了说明和注释)。 说明:资源...