+

Search Tips   |   Advanced Search

Make inbound calls.

Secure optimized local adapters for inbound support.

Parent

Use optimized local adapters for inbound support

Depending on what to achieve and what systems you are working with, choose the method to use to make calls with the native APIs.

  1. Use the optimized local adapter native APIs to call a stateless session bean and connect from an external address space to WebSphere Application Server .
    In this method, you start an EJB application from an external native language program using the primitive APIs and retrieve the response. This method is designed for applications that want more flexibility and where the response area maximum length is not known before the call.

  2. Use the optimized local adapter Invoke API to call a stateless session bean and connect from an external address space to WebSphere Application Server .
    In this method, you start an EJB application with the Invoke API from an external native language program and retrieve a response. This method is designed for exploiters that want a simplified path where the response area length is known before the call.

  3. Use the optimized local adapter to call an EJB application from WebSphere Application Server from an external address space in a client-initiated transaction.
    In this method, you begin a transaction in a client environment, and call an EJB application running on WebSphere Application Server. The new transaction is propagated to the WAS. This method is only supported when calling from a transaction-enable environment, like CICS.

  4. Use the optimized local adapter to call an EJB application from WebSphere Application Server while ignoring the transaction context.
    In this method, you begin a transaction in a client environment, and call an EJB application that is deployed on WebSphere Application Server, and ignore the transaction context. This method is only supported when calling from a transaction-enable environment, like CICS.


What to do next

(Optional) Monitor optimized local adapters.


Subtopics


Related tasks

  • Use the optimized local adapters native APIs to invoke an EJB application from an external address space
  • Use the Invoke API to call an enterprise bean from an external address space
  • Calling an enterprise bean from an external address space within a client-initiated transaction
  • Calling an enterprise bean from an external address space while ignoring the client transaction context