The Business Process Archive Manager supports a subset of the API functions offered by Business Process Choreographer. They use the same packages, so binary compatibility is ensured. For more information about the Business Process Archive Manager API refer to the JavaDoc for the packages com.ibm.bpe.api and com.ibm.task.api.
Whereas Business Process Choreographer provides several API renderings (EJB, REST, JAX-WS, JAX-RPC, and JMS), the Business Process Archive Manager only offers an EJB version of the APIs.
The following table summarizes which kinds of API operations can be performed on objects in an archive database.
| API operations on | Business Process Choreographer | Business Process Archive Manager |
|---|---|---|
| Templates | Read, start instance | Read |
| BPEL processes | Create, read, update, delete | Read, delete |
| Human tasks | Create, read, update, delete | Read, delete |
| Query tables | Create, read, update, delete | Create, read, update, delete |
| Stored queries | Create, read, update, delete | Create, read, update, delete |
| Work items | Create, read, update, delete | None |
| Work baskets | Create, read, update, delete | Read, delete |
| Business categories | Create, read, update, delete | Read, delete |
If you want to implement a client that can work with completed instances that have been moved to an archive database, consider the following: