Example 3: Stateless/Stateful Adapter

A simple (or stateless) adapter writes data into a file. You can use MESA Developer Studio SDK to define the file name, path in the BPML, and what data you would like to write into the file in the BPML. The adapter writes the data into the specific file.

The process of creating and installing a simple adapter using Mesa Developer Studio SDK involves several steps. The following list provides a high-level overview of what is required.

For a stateful adapter, the procedure is similar, but the adapter definition and Java coding are different (steps 1 and 2).
  1. Define the adapter in XML.
  2. Code the adapter in Java.
  3. (Optional) Create an adapter instance in XML.
  4. Package and deploy the adapter in the Sterling B2B Integrator production environment.
  5. Start using the adapter in the production environment.