Multiple choice technology architecture

What are valid activities of the container when a request arrives for a method of a bean instance?

  1. Acknowledge receipt of the request to the client

  2. Start a transaction

  3. Check security for the client

  4. Discard the request.

  5. Directly and immediately pass the request to the bean's methods.

Reveal answer Fill a bubble to check yourself
B,C Correct answer
Explanation

When a request arrives for an EJB method, the container performs several preprocessing tasks before invoking the bean: it can start a transaction context if the method requires one, and it checks security credentials to verify the client's authorization. The container does not simply pass requests directly - it provides these middleware services first.