OCMJEA 6 Syllabus

ocm

Application Design Concepts and Principles Identify the effects of an object-oriented approach to system design including the effect of encapsulation, inheritance, and use of interfaces. Identify how the Separation of Concerns principle applies to the component model of a Java EE application; including client, the web and business component containers,  and the integration and resource […]

OCPJP 7 Syllabus

Java Class Design  Use access modifiers: private, protected, and public Override methods Overload constructors and methods Use the instanceof operator and casting Use virtual method invocation Override the hashCode, equals, and toString methods from the Object class to improve the functionality of your class. Use package and import statements Advanced Class Design  Identify when and […]

OCPJBCD / SCBCD 5 Exam

OCPJBCD / SCBCD 5 Mock Exams: Mock Exam 1 Mock Exam 2 Mock Exam 3 Mock Exam 4 The Syllabus for the OCPJBCD / SCBCD 5 exam is : Section 1: EJB 3.0 Overview Identify the uses, benefits, and characteristics of Enterprise JavaBeans technology, for version 3.0 of the EJB specification. Identify the APIs that […]

OCEJWCD 6 Exam

ocejwcd-thumbnail

The OCEJWCD  certification provides knowledge required to develop Java EE 6 Enterprise applications using JSP and Servlets. This exam covers major improvements in Java EE 6 like web fragments, asynchronous servlet, annotations to create servlet or filter, etc. The following are the list of topics covered as part of this certification exam. Introduction to Java […]

OCEJWCD 6 Mock Exam – 7

ocejwcd-thumbnail

1 . Consider the following code: Which of the following lines, when inserted at //1, will ensure that an IllegalStateException is NOT thrown? Choose the one below: res.clear(); res.empty(); res.remove(); if(!res.isCommitted()) if( res.getStatus() != res.COMMITTED) 2 . Which of the following statements are correct JSP directives? <%@ page %> <%! taglib uri=”http://www.abc.com/tags/util” prefix=”util” %> <% […]

OCEJWCD 6 Mock Exam – 6

ocejwcd-thumbnail

1 . Which constant is used to notify the container to reevaluate the custom tag’s body? EVAL_BODY EVAL_BODY_TAG EVAL_BODY_AGAIN EVAL_BODY_INCLUDE 2 . Which of the following statements regarding the JSP action tag are TRUE? Provides translation-time instructions to the JSP engine Can be used to declare a JavaBean instance in a JSP page Can be […]

OCEJWCD 6 Mock Exam – 5

ocejwcd-thumbnail

1 . Assume that the following header is present in a request sent to a servlet: What will be returned when the servlet code calls request.getHeader(“Accept”)? Choose the one below: A Header object containing, name as “Accept” and value as “image/gif” A Header object containing, name as “Accept” and value as “image/gif, image/jpeg, image/bmp” A […]

OCEJWCD 6 Mock Exam – 4

ocejwcd-thumbnail

1 . Consider the following web.xml code: Which of the following statements are correct? Choose the one below: The servlet code should use “manager” as a parameter in request.isUserInRole() method The servlet code can use “manager” or “supervisor” as a parameter in request.isUserInRole() method The servlet code should use”supervisor” as a parameter in request.isUserInRole() method […]

OCEJWCD 6 Mock Exam – 3

ocejwcd-thumbnail

1 . Regarding the processing of a BodyTag handler,in which of the following cases a BodyContent object will be “pushed” into the pageContext? If the doStartTag() returns EVAL_BODY_INCLUDE If the doStartTag() returns EVAL_BODY_BUFFERED If the doStartTag() returns SKIP_BODY If the doStartTag() DOES NOT return SKIP_BODY A BodyContent object it is always created and pushed no […]

OCEJWCD 6 Mock Exam – 2

ocejwcd-thumbnail

1 . You are using a tag library with prefix “generator”, which supports a tag named “random”.This tag generates a random number and sets it to a variable named “value”.Which of the following will output this value in the page? <generator:random>value</generator:random> <generator:random><%=value%></generator:random> <generator:random><% int value;%> <%=value%></generator:random> <generator:random><%getParameter(“value”)%></generator:random> None of the above 2 . Which of […]

Close
Please support the site
By clicking any of these buttons you help our site to get better