IT Certification Exam Preparation
 Cart      FAQ   support@whizlabs.com
 Certification Exams

SCBCD Certification Primer

An SCBCD Certification primer  

Seema Manivannan ()
Co-Author, Whizlabs SCBCD Exam (310-090) Simulator
Sep. 8, 2003

The Enterprise Java Beans (EJB) architecture is server-side component architecture for the development and deployment of distributed business applications. The EJB container provides system-level services such as transactions, security, persistence, and scalability to its enterprise beans. The EJB 2.0 specification allows developers to develop portable applications that are database-independent and free of database access code.

Related Links

The Sun Certified Business Component Developer (SCBCD) for the Java 2 Platform, Enterprise Edition 1.3 Exam was launched worldwide on August 25, 2003. Earning this new title requires the knowledge of design, development, assembling, testing, and deployment of EJB 2.0 applications.

This article provides information and guidelines towards achieving success in this certification.
Significance of EJB Certification

The Business Component Certification is for those specializing in leveraging the Java 2 Platform, Enterprise Edition (J2EE platform) technologies used to develop server-side components that encapsulate the business logic of an application.

Passing the exam would demonstrate a thorough understanding of the EJB 2.0 features, architecture, and APIs and also the development, deployment, and integration lifecycle of EJB applications.

About the Exam
The certification aspirants need to appear for 1 exam, which features 70 questions.

Prerequisites
The Sun Certified Business Component Developer Certification requires you to be a Sun Certified Programmer for the Java platform (any edition).

The exam is intended for business component developers who are responsible for:
Analyzing, designing, developing, and testing EJB technology applications
Deploying EJB technology applications
Integrating EJB applications with legacy applications
Some objectives have been strengthened. You can expect more in-depth questions in the following subject areas:

Objectives
The exam concentrates on the features of the 3 enterprise bean types and the responsibilities of the 6 distinct roles in implementing EJB applications.

Following is a list of the main objectives of the SCBCD Certification Exam (for a detailed list of the objectives, click here):
EJB Overview
Client View of a Session Bean
Session Bean Component Contract
Session Bean Life Cycle
Client View of an Entity
Component Contract for Container-Managed Persistence (CMP)
CMP Entity Bean Life Cycle
Entity Beans
EJB-QL
Message-Driven Bean Component Contract
Transactions
Exceptions
Enterprise Bean Environment
Security Management

Exam type
The exam consists of the following question types:
Multiple Choice
Fill in the Blanks
Drag and Drop
The majority of questions would be of multiple-choice type, with the number of correct choices clearly indicated.

You can expect a significant number of drag-and-drop questions for this exam.
Many of them would ask you to match between 2 lists, for example, a list of deployment descriptor elements would be provided and you would be asked to drag and drop the appropriate EJB role responsible for fulfilling it. Another commonly asked question would require you to drag and arrange the lifecycle events of an enterprise bean in the correct order.

Passing Score
The passing percentage for the exam is 64%, for which you need to answer 45 questions correctly out of the total 70 questions.

Time Limit
The time allotted for the exam is 120 minutes, which is more than adequate.

 Top  
How to Prepare

To perform well in the exam, you must have at least some working knowledge of EJB. If you are a beginner, you can start by learning the basic concepts from books covering EJB 2.0, and develop some simple applications of your own.

For hands-on-practice, you can use Sun's J2EE Reference Implementation Server which comes with J2EE APIs, development and deployment tools, and Cloudscape database. For a free download of the same, click here.
 Top  
EJB 2.0 Specifications

The ultimate reference for the exam is the EJB 2.0 Specifications. These specifications can be considered as the bible for the exam, because every concept tested in the exam would be within the scope of this document. You can also refer to the books listed here, but remember that they have not been written with this certification exam in mind. So, they would not cover everything required for the exam and a lot of material covered therein would not be included in the exam objectives.

It is important for you to focus on the exam objectives, so concentrate on the sections in the EJB 2.0 specifications, which map to the objectives. For the benefit of the exam aspirants, a mapping between the objectives and the EJB 2.0 specifications has been created by Valentin Crettaz, co-author of Whizlabs SCBCD Preparation Kit and Moderator, SCBCD Discussion forum, JavaRanch. You can explore the same at Cheatsheets by Valentin Crettaz.

It is also helpful to know which sections of the specifications can be skipped, as they are not part of the objectives. You can check out a posting by Kathy Sierra (JavaRanch Moderator), where she has given a detailed list of what is not covered in the exam.

 Top  
Resources
Books
The books that are recommended for reference are:
Head First EJB (By Kathy Sierra and Bert Bates)
Mastering Enterprise Java Beans Second Edition (By Ed Roman)
Enterprise JavaBeans, 3rd Edition (By Richard Monson-Haefel)

Training Courses
There are some training courses recommended by Sun Microsystems for SCBCD Certification. To get more information on these courses click here.
You can also check Whizlabs SCBCD Instructor-led, Online Training with Unconditional 150% Test PASS Guarantee.

EJB Tutorials
The following sites have some useful tutorials on EJB:
Javaworld
Technical Article on ebeans
Intro to J2EE online Training

Discussion Forums

Active participation in discussion forums also helps to a great extent in the preparation.
Javaranch
Whizlabs

Preparation Kits
Using exam simulators aids your exam preparation in many ways:
- You can identify your areas of weaknesses, so that you can focus more on them.
- Moreover, you can get a feel of the actual exam environment and the question types.

Whizlabs has launched the new SCBCD exam simulator that ensures your success in the exam with its high-quality mock tests and quick revision tips for the exam. Check out the Whizlabs SCBCD Preparation Kit.

Other useful resources
Last but not the least, you can refer to the following links, which provide revision notes, tips, and other useful information for the exam:
Important SCBCD links by Valentin Crettaz
Cheat Sheets by Valentin Crettaz
Beta Exam at Ourbangla
Online Book by Mike Cogan
 Top  
Sample Questions

Question 1
Match the following roles with their responsibilities by dragging the responsibilities in the empty boxes in front of the roles.

Choices
Roles (A-E):
 A. The Bean Provider
 B. The Application Assembler
 C. The Deployer
 D. The EJB Container Provider
 E. The System Administrator

Responsibilities (1-5):
        1. Ensures that all <env-entry-value> elements contain meaningful data.
        2. Monitors the deployed enterprise beans applications at runtime.
        3. Writes the primary key class for an entity bean.
        4. Defines security roles in the deployment descriptor.
        5. Implements the java:comp/env environment naming context.

Correct choice:
A-3; B-4; C-1; D-5; E-2

Explanation:
When developing an entity bean, the Bean Provider must provide the entity bean class and any dependent classes, the primary key class, as well as the entity bean (local and/or remote) home and component interfaces.

The Application Assembler can define one or more security roles in the deployment descriptor. Groups of methods are then mapped onto these security roles in order to define the security view of the application. It is worth noting that if the Application Assembler does not define security roles, this task will need to be performed by the Deployer.

The Bean Provider may fill in the environment entry value elements with some data. When the bean is assembled with other beans, the Application Assembler may modify or set those values in case the Bean Provider left them unassigned. However, the Deployer has the final say and may change the environment entry values in order to set them to meaningful values in the context of the deployment environment.

The EJB Container Provider must implement the java:comp/env naming context, and provide it to the enterprise beans at runtime, so that environment entries can be looked up in the bean instances.

Apart from being responsible for monitoring the deployed applications at runtime, the System Administrator must also configure the EJB container, set up security management, and integrate resource managers with the EJB container.

Please refer to sections 10.6.1, 20.2.3, 20.2.4, 21.3.1, and 25.5 of the EJB 2.0 specification for further details.

Question 2
Consider the following session bean home interface located through the Java Naming and Directory Interface (JNDI).

Context initialContext = new InitialContext();
ProcessPaymentHome ppHome = (ProcessPaymentHome)
initialContext.lookup("java:comp/env/ejb/pphome");

Which exceptions must be declared in the signatures of the methods contained in the ProcessPaymentHome interface?

Choices
A. RemoteException
B. FindException
C. Any application specific exception
D. CreateException
E. RuntimeException

Correct choice:
C; D

Explanation:
Choices C and D are the correct answers.

It is important to note that the object retrieved from JNDI is directly cast to the correct interface type without being narrowed first. This clearly indicates that we are dealing with the local client view of a session bean. This rules out choice A, as RemoteException must only be declared when dealing with remote client views.

Choice B is incorrect since even if the exception called were FinderException, the answer would still be incorrect, as only entity bean home interfaces define finder methods.

Choice C is correct since any application specific exceptions might be thrown from the methods declared in the home interface of a session bean.

Choice D is correct since session bean home interface have to declare at least one create method and the throws clause of create methods must include CreateException.

Choice E is incorrect since RuntimeException is an unchecked exception and it is not mandatory to declare such exceptions in the throws clause of the methods.
Please refer to sections 6.2.1 and 7.10 of the EJB 2.0 specification for further details.

Question 3
Consider the following code taken from some enterprise bean class (Assume all reference variables have been declared properly and the code has been compiled successfully):

EJBObject obj = ejbContext.getEJBObject();
Object pkey = obj.getPrimaryKey();

What type of bean may contain such code?

Choices
A. Message-driven bean
B. Stateless session bean
C. Entity bean
D. Stateful session bean
E. None of the above

Correct choice:
C

Explanation:
Choice C is the correct answer.
Primary keys only make sense for entity beans. As a result, the only possible answer is choice C.

Please refer to sections 9.9 and 9.10 of the EJB 2.0 specification for further details.

 Top  
Exam Tips

While reading the EJB 2.0 Specifications, make small revision notes and mock questions for important concepts. This will help you understand and memorize them better.

There are many questions about the division of responsibilities between the 6 EJB roles - like bean provider and application assembler. These are scattered throughout the specifications document, so make charts listing down the responsibilities for each role.

In case of Multiple Choice questions, you are able to go back and review previous questions and change your answers at any time during the exam. However, in the case of Drag and Drop (D & D) questions, the answer gets reset if you try to review it. That means if you need to make any modification, you have to answer the whole question again. So when you attempt the D & D questions, finalize the answers before you leave the question, so that you don't need to review the answer again.

Some candidates have reported memory and display problems in the case of D & D questions. So make sure you choose a computer with high performance for the exam.

There might be questions where you are asked to compose the EJB-QL query (by dragging and dropping query elements) that would fetch a particular result. In such cases, putting the query together on paper before attempting the question on the screen would make it quite simple.

 Top  
Summary

As a server-side component model for developing Java-based, multi-tier distributed enterprise applications, EJB architecture can considerably reduce implementation time and costs. Its potential for ease of development, portability, and reusability assures a promising future for this technology.

Even experienced business component developers are not exposed to every feature mentioned in the EJB specifications. For instance, a bean provider might not be aware of the behavior of the container in various situations. The exam focuses on what is guaranteed by the EJB technology and what is not.

Being a Sun Certified Business Component Developer can really boost your knowledge, confidence, interest, and career prospects in this exciting technology.

I wish you best of luck for the exam!

 Top  
About the Author

Seema Manivannan has a Bachelor of Technology degree in Electrical and Electronics and a PG in Advanced Computing from C-DAC. Her work experience of over 6 years includes software development, teaching, and content development in Java and related technologies. She holds SCJP, SCWCD, and SCBCD Certifications.

She has been with Whizlabs for over 2 years, where she has co-authored the Sun Certification exam simulators. She is an experienced corporate trainer and conducts Instructor-led online trainings for the SCJP and SCWCD exams for Whizlabs. She is also the moderator of the Whizlabs SCBCD discussion forum. You can reach her at .

 Top  
Feedback

What do you think of this article?
Exceeded Expectations




Name


E-mail ID


Suggestions


 Top  
   
Java Certification: SCJA, SCJP, SCWCD, SCBCD, SCEA, SCMAD, SCDJWS | SCJP 5.0 Online Training
Project Management Institute PMI: PMP Certification ITIL: ITIL
Articles & Tutorials

  Home | Careers | Feedback | Contact Us | FAQs | Site Map

Privacy Policy | Copyrights & Trademarks 

Copyright © Whizlabs Software Pvt. Ltd. 2000-2008