Currently browsing category

Certifications, Page 2

ocejwcd-thumbnail

OCEJWCD 6 Mock Exam – 4

1 . Consider the following web.xml code: Which of the following statements are correct? Choose the one below: The servlet code should …

ocejwcd-thumbnail

OCEJWCD 6 Mock Exam – 3

1 . Regarding the processing of a BodyTag handler,in which of the following cases a BodyContent object will be “pushed” into the …

ocejwcd-thumbnail

OCEJWCD 6 Mock Exam – 2

1 . You are using a tag library with prefix “generator”, which supports a tag named “random”.This tag generates a random number …

ocejwcd-thumbnail

OCEJWCD 6 Mock Exam – 1

1 . A web.xml for a web application contains the following: What should formlogin.html contain? Choose the one below: A base 64 …

OCPJBCD Mock Exam – 4

1 . Which of the following statements are true about the Entity class? Entity class must not have no-arg constructor Entity class …

OCPJBCD Mock Exam – 3

1 . A stateless session bean must commit a transaction before a business method? True False 2 . A message-driven bean must …

OCPJBCD Mock Exam – 2

1 . Can we use the annotation @PrePassivate for more than one method in a bean? Yes No 2 . What should …

OCPJBCD Mock Exam -1

1 . Application Exception myException can automatically mark transaction for roll back? ApplicationException is applied to the myException class <exception-class>myException</exception-class> is used …

ocmjea-thumbnail

OCMJEA Mock Exam – 11

252 . A session bean called SomeBean has a method called someMethod(), which calls someOtherMethod (same bean) followed by someOtherBeanMethod() of SomeOtherBean. …

ocmjea-thumbnail

OCMJEA Mock Exam – 10

227 . You can traverse through the elements of many Java Collection objects because they provide a way to access their elements …