Understanding > WebSphere Commerce and service-oriented architecture (SOA) > WebSphere Commerce Web services > WebSphere Commerce BOD command framework
Commerce Feature Pack
Business logic layer design patterns
The new BOD programming model in Feature Pack 3 introduces four advanced BOD processing patterns: Get, Change, Process, and Sync. These patterns use abstract commands to handle the processing of Business Object Documents. The patterns also use a common OAGIS processing model that uses the BODs directly rather than transforming them into name-value pairs.
The new versions of the design patterns are:
- Business Object Document Get processing pattern
The Business Object Document Get processing pattern describes the design pattern used to perform searching for and retrieving of data.- Business Object Document Change processing pattern
The Business Object Document Change processing pattern adds, changes, or deletes a business object. This processing pattern is similar to the SOI Change pattern. In the SOI Change pattern implementation, Change requests map to existing WebSphere Commerce controller commands. The request Business Object Document is converted into the name-value pair parameters that are passed to the controller command. This enables reuse of existing business logic as a service. One limitation of this implementation is that the SOI Change request can only have one action. Because this design pattern uses BOD processing commands, the limitation of one action in the Change request is lifted. The other major difference is that the BOD Change pattern uses service data objects (SDO) to pass data, instead of name-value pairs.- Business Object Document Process processing pattern
The Business Object Document Process pattern performs a single action on a single noun. Based on the information within that noun, a Process controller will control the actions of the business logic. This Process controller will read common data across the actions within the request, instantiate the task command implementations for those actions, and execute them.- Business Object Document Sync processing pattern
The Business Object Document Sync processing pattern is used by systems that contain master data records to push out notifications when their data has changed. The Sync request contains the updated version of the business object and the request is sent out to all other listening systems to update their version of the business object.
Related tasks
Work with WebSphere Commerce service modules
Implementing the service commands in the BOD command framework
Implementing access control in the BOD command framework
Add a custom user or error message to a BOD service module
Last updated: 25 November 2009