Implementing the service commands in the BOD command framework

Creating the service commands for a BOD service module consists of running the Design Pattern Toolkit and then customizing and extending the template code that is generated.

Before you begin

Creating an HCL Commerce service module

Procedure

  1. Open the MyServiceModule-Server EJB project.
  2. Implement the shell commands in the com.mycompany.commerce.myservicemodule.facade.server.commands package. If your noun has Change or Sync as verbs, implement ChangeNounPartCmdImpl, where NounPart is the name of a noun part in your noun. If your noun has Get as a verb, implement GetNounCmdImpl If your noun has Process as a verb, implement ProcessNounCreateActionCmdImpl and ProcessNounDeleteActionCmdImpl.