Week 1 - EJB Intro Flashcards

1
Q

What are EJBs?

A

Server side components/java objects that implement business logic.
Clients interact with EJBs through container interface.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is resource pooling?

A

Expensive JDBC connection is shared between EJB instances.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What does the EJB container do?

A
  1. Provides interface for clients
  2. manages pools, resources, transactions, concurrency, security
  3. Manages lifecycle of EJB and dependency injection
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

When do POJOs become EJBs?

A

When you add the annotation.

ex:
import jakarta.ejb.Stateless;

@Stateless

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What are the 3 kinds of EJBs?

A

Session beans
Message-Driven beans
Entity beans

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly