EJB 3 - Basic
This exam verifies general understanding of JSR 220: Enterprise JavaBeans, Version 3.0 (EJB3)
concepts like POJOs as EJBs, annotations, dependency injection, configuration by exception, remote and local business interfaces requirements and interceptors. It’s required to distinguish the purpose of all beans type and to know the scope of the EJB specification.
JPA is out of scope of this exam and it’s covered by separate JPA Exam.
The exam is mainly focused to Session Beans and overall concepts and architecture of EJB. The message driven bean, JCA, Security and Transaction management details are will be covered by EJB 3.0 Intermediate exam.
It is assumed and highly recommended that exam takers are familiar with the EJB 3.0 concepts as outlined in EJB 3.0 Simplified API
specification.
| Released | Beta | Frozen | ||
|---|---|---|---|---|
General 3 questions
Know what is and what is not in scope of EJB specification (e.g. clustering and failover).
Distinguish different types of beans (stateless or stateful session, entity, message driven) and their specific purpose. Know the transparent distributed nature of an EJB having a client-side stub and a server-side skeleton. Describe the notion of J2EE containers and deployment. Distinguish between of local and remote business interface(s). Know the proper use of annotations and their relation to deployment descriptor. Understand the notion of configuration by exception. |
26 | 79 | 29 | |
Session Beans |
|
|||
Client View 4 questions
Understand how to access EJBs from local and remote clients. Distinguish between remote and local interface and know their benefits and drawbacks.
Be aware of transparent distributed nature of an EJB having a client-side stub and a server-side skeleton. |
11 | 5 | 32 | |
State 3 questions
Understand the difference between stateless and a stateful session beans, and the notion of conversational state.
|
10 | 7 | 19 | |
Annotations and Dependency Injection 2 questions
Know the properly use of annotation to configure stateless and stateful session beans and their lifecycle methods.
Use dependency injection (@EJB, @Resource) to configure beans and be aware of its limitations. Be aware of precedence of deployment descriptor configuration over annotations. |
14 | 13 | 28 | |
Instance-Pooling & lifecycle 2 questions
Identify the benefits of stateless session bean instance pooling and it’s limitation of usage with stateful session beans.
Know the difference between stateful and stateless session bean lifecycle, activation/pasivation process, and have a notion about lifecycle callbacks methods. Understand why the state of stateful session beans must be Serializable. Be aware of the difference between system and application exceptions and their impact to session bean lifecycle. Know when the @PostConstruct(ejbCreate), @PreDestroy(ejbRemove), setSessionContext are called. |
12 | 26 | 32 | |
Packaging (Ejb-jar) 1 question
Know the file name and location of deployment descriptor file, and its general structure.
|
3 | 0 | 13 | |
Interceptors 2 questions
Know the javax.interceptor package.
Understand how AOP fits into EJB environment and how to configure EJBs to be intercepted. Be able to write, use and configure EJB interceptors; use them properly to configure beans lifecycle methods. Have a notion of default interceptors and how to include or exclude them. |
16 | 40 | 20 | |
Exam information
- 21 minutes
- 17 questions (435)
- 75% required
- +3 √
- - 15 points
- 15 day delay
- status: released



