Invokers

Instantiated by the Bean Invoker Factory, invokers enables Struts actions or Java(TM) request handlers to access the business processes and Single Action EJBs through an EJB call.

When a request comes from a requester (the requester might be a request handler or a Struts action), the request brings a request ID and a session ID to the Bean Invoker Factory. The request ID indicates what kind of transaction the client is requesting, and the session ID identifies the session of this transaction request. The Bean Invoker Factory generates or allocates an invoker with the request ID and session ID. The Bean Invoker Factory then returns the invoker to requester so that the requester can send the request to the application logic layer.