wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Enterprise JavaBeans (part1)

Total questions: 10

Worksheet time: 10mins

Name
Class
Date
1.

EJB stands for Enterprise JavaBeans

a)

YES

b)

NO

2.

How many components in the EJB architecture?

a)

2

b)

3

c)

4

3.

EJB components run inside an EJB container and EJB container runs inside a Java application server

a)

TRUE

b)

FALSE

4.

EJB container is one of the components in the EJB architecture.

a)

TRUE

b)

FALSE

5.

The function of JavaBeans is similar to Enterprise JavaBeans.

a)

TRUE

b)

FALSE

6.

The EJB object implements the "remote interface" of the EJB component on the server.

a)

TRUE

b)

FALSE

7.

What are the three types of EJB?

a)

Session beans

b)

Entity beans

c)

Message-driven beans

d)

Object beans

8.

In session beans, which bean's state that guaranteed a "thread safety"?

a)

Singleton beans

b)

Stateless session beans

c)

Stateful session beans

9.

_____ are associated with database transactions and may provide data access to multiple users.

a)

Message-driven beans

b)

Entity beans

c)

Session beans

10.

Which bean that is useful for long-running jobs?

a)

Session bean

b)

Entity bean

c)

Message-driven bean