You are on page 1of 13

1) 

  Which services are provided to EJB components by the EJB container?

- Published on 19 Oct 15

a. Transaction support
b. Persistence support
c. Naming support
d. All mentioned above
Answer    Explanation  

ANSWER: All mentioned above


Explanation:
No explanation is available for this question!

2)   Which case of a session bean obtains the UserTransaction object via the EJBContext using the
getUserTransaction() method in EJB transaction management?
- Published on 19 Oct 15

a. Bean-managed transactions
b. Container-managed transactions
c. Both A & B
d. None of the above
Answer    Explanation  

ANSWER: Bean-managed transactions


Explanation:
No explanation is available for this question!

3)   EJB QL is a Query Language provided for navigation across a network of enterprise beans and
dependent objects defined by means of container managed persistence.
- Published on 22 Jul 15

a. True
b. False
Answer    Explanation  

ANSWER: True
Explanation:
No explanation is available for this question!

4)   A message driven bean is like statefull session bean that encapsulates the business logic and
doesn't maintain state.
- Published on 22 Jul 15

a. True
b. False
Answer    Explanation  

ANSWER: False
Explanation:
No explanation is available for this question!
5)   Abbreviate the term JMS?
- Published on 22 Jul 15

a. Java Message Service


b. Java Monitor Service
c. Java Message Session
d. Java Monitor Session
Answer    Explanation  

ANSWER: Java Message Service


Explanation:
No explanation is available for this question!

6)   JMS is mainly used to send and receive message from one application to another.
- Published on 22 Jul 15

a. True
b. False
Answer    Explanation  

ANSWER: True
Explanation:
No explanation is available for this question!
7)   Which session bean maintain their state between client invocations but are not required to
maintain their state across server crashes or shutdowns?
- Published on 22 Jul 15

a. Stateful Session Bean


b. Stateless Session Bean
c. Singleton Session Bean
d. None of the above
Answer    Explanation  

ANSWER: Singleton Session Bean


Explanation:
No explanation is available for this question!

8)   Which EJB container must provide an implementation of Java Naming and Directory Interface
(JNDI) API to provide naming services for EJB clients and components?
- Published on 21 Jul 15

a. Transaction support
b. Persistence support
c. Naming support
d. All mentioned above
Answer    Explanation  

ANSWER: Naming support


Explanation:
No explanation is available for this question!

9)   EJB is a specification for J2EE server, not a product; Java beans may be a graphical component in
IDE.
- Published on 21 Jul 15

a. True
b. False
Answer    Explanation  

ANSWER: True
Explanation:
No explanation is available for this question!

10)   A session bean represents a multiple clients inside the Application Server.
- Published on 20 Jul 15

a. True
b. False
Answer    Explanation  

ANSWER: False
Explanation:
No explanation is available for this question!
11)   Which component does the Entity bean represent the persistent data stored in the database?
- Published on 20 Jul 15

a. Server-side component
b. Client-side component
c. server and client side component
d. None of the above
Answer    Explanation  

ANSWER: Server-side component


Explanation:
No explanation is available for this question!

12)   EJB is a specification for J2EE server, not a product; Java beans may be a graphical component
in IDE.
- Published on 20 Jul 15

a. True
b. False
Answer    Explanation  

ANSWER: True
Explanation:
No explanation is available for this question!
13)   EJB is like COM, Abbreviate the term COM?
- Published on 20 Jul 15

a. Component Object Model


b. Component Oriented Model
c. Common Object Model
d. Common Oriented Model
Answer    Explanation  

ANSWER: Component Object Model


Explanation:
No explanation is available for this question!

14)   JMS is also known as a messaging service.


- Published on 17 Jul 15

a. True
b. False
Answer    Explanation  

ANSWER: True
Explanation:
No explanation is available for this question!

15)   The life cycle of session bean is not maintained by the application server (EJB Container).
- Published on 17 Jul 15

a. True
b. False
Answer    Explanation  

ANSWER: False
Explanation:
No explanation is available for this question!

16)   What represents a persistent global data from the database?


- Published on 16 Jul 15

a. Entity Bean
b. Session Bean
c. Both A & B
d. None of the above
Answer    Explanation  

ANSWER: Entity Bean


Explanation:
No explanation is available for this question!

17)   Which component does the Entity bean represents the persistent data stored in the database?
- Published on 15 Jul 15
a. Server-side component
b. Client-side component
c. server and client side component
d. None of the above
Answer    Explanation  

ANSWER: Server-side component


Explanation:
No explanation is available for this question!

18)   In EJB, middleware services are provided by EJB Container automatically.


- Published on 15 Jul 15

a. True
b. False
Answer    Explanation  

ANSWER: True
Explanation:
No explanation is available for this question!

19)   Which middleware services are provided by EJB?


- Published on 15 Jul 15

a. Security
b. Transaction Management
c. Both A & B
d. None of the above
Answer    Explanation  

ANSWER: Both A & B


Explanation:
No explanation is available for this question!

20)   Which server-side component is required to be deployed on the server?


- Published on 13 Jul 15

a. EJB
b. RMI
c. Both A & B
d. None of the above
Answer    Explanation  

ANSWER: EJB
Explanation:
No explanation is available for this question!

21)   How many types of session beans are available in EJB?


- Published on 13 Jul 15

a. 2
b. 3
c. 4
d. 5
Answer    Explanation  

ANSWER: 3
Explanation:
No explanation is available for this question!

22)   Which type of instances retain no data or conversational state for a specific client?
- Published on 13 Jul 15

a. Message-Driven Bean
b. Session Bean
c. Entity Bean
d. None of the above
Answer    Explanation  

ANSWER: Message-Driven Bean


Explanation:
No explanation is available for this question!
23)   Which middleware services are provided by EJB?
- Published on 10 Jul 15

a. Security
b. Transaction Management
c. Both A & B
d. None of the above
Answer    Explanation  

ANSWER: Both A & B


Explanation:
No explanation is available for this question!

24)   Which session bean does the conversational state between multiple method calls is not
maintained by the container?
- Published on 10 Jul 15

a. Stateful Session Bean


b. Stateless Session Bean
c. Singleton Session Bean
d. None of the above
Answer    Explanation  

ANSWER: Stateless Session Bean


Explanation:
No explanation is available for this question!
25)   EJB technology is built on the top of Socket Programming
- Published on 10 Jul 15

a. True
b. False
Answer    Explanation  

ANSWER: False
Explanation:
No explanation is available for this question!

You might also like