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 […]

OCMJEA Mock Exam – 11

ocmjea-thumbnail

252 . A session bean called SomeBean has a method called someMethod(), which calls someOtherMethod (same bean) followed by someOtherBeanMethod() of SomeOtherBean. If SomeMethod() starts a BMT transaction, which of the following are true? Choose the one below: SomeOtherMethod also has to be use BMT since it’s part of the same bean SomeOtherMethod can use […]

OCMJEA Mock Exam – 10

ocmjea-thumbnail

227 . You can traverse through the elements of many Java Collection objects because they provide a way to access their elements sequentially. What design pattern is used here? Visitor Observer Builder Iterator Proxy Decorator 228 . Compact Computers is a small computer assembly company. Any customer currently has the following choices for a PC: […]

OCMJEA Mock Exam – 9

ocmjea-thumbnail

202 . The Remote Interface of an Enterprise Bean extends from? java.ejb.EJBRemote javax.ejb.RemoteInterface javax.ejb.EJBObject javax.rmi.RemoteReference 203 . Which of the following are not applicable to the Primary Key Class? It must implement the java.io.Serializable interface It must provide a default constructor It must override hashCode() and equals() Cannot be undefined if the PK is a […]

OCMJEA Mock Exam – 8

ocmjea-thumbnail

177 . You are designing a 3-tier architecture for a new application your company intends to deploy as part of it’s marketing strategy. This application will allow users to book rental cars over the web and is estimated to save the company millions over the next few years. Due to the sheer number of users, […]

OCMJEA Mock Exam – 7

ocmjea-thumbnail

152 . You have just started a new job working for a top finance company and you have been asked to provide a user-friendly interface to an existing mainframe application. You don’t have any access to the mainframes source code. What is the best technique for this? Choose the one below: It can’t be done […]

OCMJEA Mock Exam – 6

ocmjea-thumbnail

127 . In EJB 2.0 what is the Component interface? The interface that Message-Driven Beans must implement There is no component interface in EJB 2.0 The new name for the Home interface The new name for the Remote interface 128 . You are working on a new application that will help your company co-ordinate sales […]

OCMJEA Mock Exam – 5

ocmjea-thumbnail

102 . What do Isolatable and Durable mean with reference to ACID? Isolatable means only 1 transaction can execute at a time Isolatable means the transaction is the same as other transactions in structure Isolatable means a transaction must execute without the interference from other processes or transactions Isolatable means the transaction was started and […]

OCMJEA Mock Exam – 4

ocmjea-thumbnail

77 . You need to replace ASP scripts. What J2EE technology do you use? JMS, JSP and Servlets JSP and Servlets JTA, JSP and Servlets Applets 78 . As part of your new application you need to connect to a database. You don’t have any access to the database server so you can’t change the […]

OCMJEA Mock Exam – 3

ocmjea-thumbnail

52 . You are working for a web design company and one of your clients would like to convert their website that currently uses Perl and CGI scripts over to a language that is easier to maintain and reuse. Their website is a sports betting website where the customer is able to logon and place […]