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 Doubts Regarding Questions of SCBCD5.0 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "Doubts Regarding Questions of SCBCD5.0" Watch "Doubts Regarding Questions of SCBCD5.0" New topic
Author

Doubts Regarding Questions of SCBCD5.0

Hanuma Deepak Muvvala
Ranch Hand

Joined: Nov 20, 2005
Posts: 158
1) Which two types of beans support this Timer service? (Choose two.)
a) Stateless session beans
b) Stateful session beans
c) EJB 2.1 entity beans
d) EJB 3.0 entities

The answer given is a,b but I think they are a) and c).
________________________________________
2). Which statement about EJB 2.x and EJB 3.0 API interoperability is correct?
a) A stateless session bean written to the EJB 3.0 API can be adapted to an EJB 2.1 client interface.
b) The developer cannot mix APIs. For example, the developer cannot write an EJB 3.0 session bean while also implementing an EJB 2.1 EJBHome interface.
c) The EJB 2.1 API requires the use of a stateful session bean's home interface to obtain a reference to the bean's component interface. The developer cannot use dependency injection to obtain a reference to such a home interface in an EJB 3.0 client of such a bean.
d) An adapter class has to be used when accessing EJB 2.0 environment variables of a stateless session bean, when such a bean is deployed in an EJB 3.0 container.

The anwers given is c) I think it is wrong.

Can any one explain me please, Thanks in Advance

Deepak...
Hanuma Deepak Muvvala
Ranch Hand

Joined: Nov 20, 2005
Posts: 158
Does any body have idea? Please help me.

Thanks....
Deepak
Benoît de Chateauvieux
Ranch Hand

Joined: Aug 10, 2007
Posts: 183
Hi hanumadeepak muvvala,

You're right: the answers of the first question are A and C.
And the right answer of the second question is A.

Here are all the answers of this test:

ANSWER
1.a
2.a
3.b
4.c
5.ac
6.a
7.a
8.d
9.c
10.a
11.ad
12.c
13.b
14.b
15.b
16.d
17.d
18.c
19.a
20.c
21.b
22.bd
23.ac
24.b
25.b
26.a
27.c
28.b
29.ab
30.c

Beno�t


SCJP5 | SCBCD5 | SCEA5 Part 1
Hanuma Deepak Muvvala
Ranch Hand

Joined: Nov 20, 2005
Posts: 158
Hi Beno�t,
Thank you very much I didnt mention the name of exam but you have specified answers also, I hope these are answers for sun practice questions only, If not please correct me.

Thanks,
Deepak..........
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Doubts Regarding Questions of SCBCD5.0