File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes SCBCD Exam Study Material Collection Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "SCBCD Exam Study Material Collection" Watch "SCBCD Exam Study Material Collection" New topic
Author

SCBCD Exam Study Material Collection

Randall Stevens
Ranch Hand

Joined: Jul 01, 2003
Posts: 65
Note: The information below was taken from all of the discussions since July 29, I make no guarantees as to the correctness of the information.
EJB 2.0 Specification
Books
Mastering EJB 2.0 by Ed Roman
Head First EJB by Kathy Sierra and Bert Bates
Enterprise JavaBeans (3rd Ed.) from O'Reilly
Spec Mapping
1. EJB Overview
1.1 -> 1.2, 2.1, 2.3
1.2 -> 24.2
1.3 -> 24.1.2
1.4 -> 25 + *'s responsibilities sections all over the spec
1.5 -> 23.3
2. Client View of a Session Bean
2.1 -> 6.2.1, 6.3
2.2 -> 6.5
3. Session Bean Component Contract
3.1 -> 7.4, 7.5.1, 7.5.5, 7.9.1
3.2 -> 7.4.1, 7.7.5
3.3 -> 7.5.1, 7.5.2, 7.5.3
3.4 -> 7.6, 7.7, 7.8, 7.9
3.5 -> 7.10, 7.11
3.6 -> 7.10.2, 7.10.5, 7.10.6, 7.10.3, 7.10.4, 7.10.7, 7.10.8
4. Session Bean Lifecycle
4.1 -> 7.6, 7.8
4.2 -> 7.6.1, 7.8.2
4.3 -> 7.6.3
5. Client View of an Entity
5.1 -> 9.5, 9.6, 9.4.1
5.2 -> 9.10
5.3 -> 9.9
5.4 -> 9.5, 9.6
6. Component Contract for Container-managed Persistence (CMP)
6.1 -> 10.3, 10.3.1
6.2 -> 10.3.2, 10.3.4
6.3 -> 10.3.6, 10.3.7, 10.3.8
6.4 -> 10.3.13
6.5 -> 10.3.13
6.6 -> 10.6
7. CMP Entity Bean Lifecycle
7.1 -> 10.5
7.2 -> 10.5.2, 10.6
7.3 -> 10.5.3, 10.7
8. Entity Beans
8.1 -> 10.5.4
8.2 -> 10.8, 10.3.5
9. EJB-QL
9.1 -> 11.2.6, 11.2.7, 11.2.8
9.2 -> 11.3
9.3 -> 11.2.7.5, 11.2.7.7, 11.2.7.8, 11.2.7.9, 11.2.7.10, 11.2.7.11
10. Message-Driven Bean Component Contract
10.1 -> 15.3, 15.5
10.2 -> 15.4
10.3 -> 15.4.3
10.4 -> 15.7, 15.8
11. Transactions
11.1 -> 17.2, 17.3.1, 17.3.3, 17.3.4
11.2 -> 17.4, 17.7.4
11.3 -> 17.4.1, 17.6.2, 17.6.3
11.4 -> 17.6.1, 17.6.2, 17.6.3
12. Exceptions
12.1 -> 18
12.2 -> 18.2, 18.3
12.3 -> 18.2, 18.3.1, 18.3.2, 18.4
12.4 -> 18.2, 18.3
12.5 -> 18.4
13. Enterprise Bean Environment
13.1 -> 20.2
13.2 -> 20.2, 20.3, 20.4
13.3 -> 20.2, 20.3, 20.4, 20.5
14. Security Management
14.1 -> 21.2.5.3, 21.3.1, 21.3.2, 21.3.3, 21.4.2
14.2 -> 21.2, 21.3, 21.4, 21.6, 21.7, 22.1, 22.2, 22.3, 22.4
14.3 -> 21.2.5
14.4 -> 21.2.5.3, 21.3, 21.4.2, 21.4.3, 22.3

Web Pages
http://www.ourbangla.com/scbcdbetaexam.doc
http://www.geocities.com/rahmanjava/index.html
http://www.gayanb.com
http://www.jdiscuss.com
http://www.theserverside.com (Ed Roman�s Book is listed in PDF format)
http://suned.sun.com/US/certification/bcd.html
http://www.wickedlysmart.com/HeadFirst/HeadFirstEJB/EJBExamObjectives.pdf

Mock Questions
Q1. Which statement is true about stateful session beans, but is NOT true about stateless session beans
A. State can be cached but is not representative of the client state
B. State can be cached but is representative of client state
C. State is persistent
D. State is cached first, then persisted.
Q2. Which statement on passivation is true
A. Containers must set the transient values to null or zero
B. Containers must use java technology serialization to passivate a bean instance
C. Container calls ejbPassivate to save the entity bean instance's state to the database
D. Container can use any serialization technique to passivate a bean instance as long as it follows Java technology serialization rules.
Q3. Which transaction attribute should be set in the deployment descriptor for a method to guarantee that the method is NOT invoked with a transaction
A. RequiresNew
B. Supported
C. Never
D. Mandatory
Q4. What is the benefit of using DAO's with BMP based entity beans
A. Less code than a CMP entity bean
B. Faster data access than CMP
C. Reduced coupling with entity bean
D. Easier to code than CMP entity bean
Q5. Which pattern is used by the Home interface of an EJB
A. Proxy
B. Decorator
C. Mediator
D. Factory
Answers: B, A, C, C, D

Mock Questions 2
1-Entity Bean pooling guarantee (only one)
a) Increase scalability
b) Increase reliability
c) Increase performance
d) other
2- What is the type of EJB that: "All beans instance is equal when it is NOT invoked in the server client-invoked method":
a) Stateless
b) Stateful
c) CMP
d) BMP
3-IIOP is (choice 2):
a) security
b) connectless
c) connection based
d) used for remote connection
4- Session Bean prove fine granted to data access object?
Yes or no?
5- What are the services the EJB? (choice 2)
a) Html generation
b) Transaction services
c) lifecycle management
d) remote-method invocator
6- What design patters prove transparency access to remote object?
7- What decrease the maintenance?
a) High complexity
b) code factory
c) code reuse
Mock Questions 3
1) Which will survive an EJB server crash? (choose all that apply)
A) Stateful session bean instances
B) Stateless session bean instances
C) Message-driven bean instances
D) An entity bean's primary key
E) An entity
2) Which are guaranteed by EJB 2.0?
A) Server crashes will be transparent to entity bean clients.
B) Server crashes will be transparent to stateless session bean clients.
C) You can do synchronous message handling through message-driven beans.
D) You can have both a local and remote client view for stateless session beans.
E) You can have both a local and remote client view for entity beans.
F) You can have both a local and remote client view for message-driven beans.
G) You can have nested transactions in stateful session beans using BMT.
3) Which APIs are provided by the container?
A) JMX
B) JSP
C) JAXP
D) JDO
E) JavaMail
F) JXTA
G) JCE
4) Given this declaration in the DD:
<method-permission>
<role-name>minion</role-name>
....
</method-permission>
assuming the rest of it is filled in correctly, WHO is responsible for supplying this info?
A) App Assembler
B) Deployer
C) Bean Provider
5) Given this code:
try {
Advice a = aHome.create();
Handle aHandle = a.getHandle();
} catch (Exception ex) {...}
Which are true? (Assume everything compiles and works correctly)
A) aHandle must be Serializable.
B) Advice must extend EJBHome
C) The object referenced by aHandle is from a class implemented by the container
D) The Bean Provider implemented the aHome.create() method.
E) getHandle() declares a RemoteException
F) Handle extends java.rmi.Remote
G) The object referenced by 'a' IS-A java.rmi.Remote
6) Which are true about Session bean passivation?
A) Passivation always uses Serialization.
B) A bean can be removed even while in a passivated state.
C) A bean can be passivated even while in a transaction.
D) Both stateless and stateful session beans can be passivated.
E) A UserTransaction reference cannot be passivated.
F) A 'Connection' reference cannot be passivated.
G) A resource manager connection factory reference cannot be passivated.
H) A reference to a bean's private JNDI environment can be passivated.
I) A null reference can be passivated.
J) Under some circumstances, the bean might be passivated *without* getting an ejbPassivate method call.
7) Which must NOT be invoked on a bean's EJBContext until AFTER the execution of the setSessionContext method in a stateless session bean using CMT?
A) getEJBLocalHome
B) getEJBObject
C) getUserTransaction
D) getCallerPrincipal
E) isCallerInRole
F) setRollbackOnly
G) getRollbackOnly
H) getEJBLocalObject
8) Which are true about entity beans?
A) A client can get the beans primary key by calling a method defined in javax.ejb.EJBObject
B) A local client can remove a bean using either the component or home interface of the bean.
C) A remote client can remove a bean using either the component or home interface of the bean.
D) A local client is guaranteed to find at least ONE create() method in the bean's home interface.
E) A remote client is guaranteed to find at least ONE create() method in the bean's component interface.
F) A local client is guaranteed to have access to the getters and setters of a CMP bean's persistent fields.
Answers:
1 - D
2 - A, D, E
3 - C, G
4 - A
5 - A, E, G
6 - B, C, F, H, I
7 - C, F, G
8 - A, B, C, F
Marcelo Sousa Ancelmo
Ranch Hand

Joined: Jan 17, 2002
Posts: 497

Wow, that�s Great, will help us a lot


Marcelo Sousa Ancelmo - Brazil
Valentin Crettaz
Gold Digger
Sheriff

Joined: Aug 26, 2001
Posts: 7610
For those who are interested, we are putting together a "SCBCD Links" page that we will soon publish in this forum.
Please be patient and stay with us


SCJP 5, SCJD, SCBCD, SCWCD, SCDJWS, IBM XML
[Blog] [Blogroll] [My Reviews] My Linked In
Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8919

Actually I wanted to suggest you the same.
Originally posted by Valentin Crettaz:
For those who are interested, we are putting together a "SCBCD Links" page that we will soon publish in this forum.

[ August 28, 2003: Message edited by: Pradeep Bhat ]

Groovy
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: SCBCD Exam Study Material Collection