Customizing WebSphere Commerce Accelerator commands

  1. In the WebSphere Commerce development environment, navigate to the WebSphereCommerceServerExtensionsLogic project.

  2. Right-click on the project, and select New, and then Source Folder.

  3. In the Folder Name field on the New Source Folder dialog, enter myCustomSource.

  4. Click Finish to create the new folder.

  5. Right-click on the new folder, and select New, and then Package.

  6. In the Name Field on the New Java Package dialog, enter com.myCompany.logic.component, where myCompany represents some custom directory name.

  7. Click Finish to create the new package.

  8. Right-click on the new package, and select New, and then Class.

  9. In the Name field, enter MyCommandNameControllerCmdImpl.

  10. In the Superclass field, enter the following: com.ibm.commerce.tools.component.CommandNameControllerCmdImpl.

  11. Click Finish. The file opens in the editor.

  12. Update the CMDREG database table to reference the new controller command class.

Related concepts

Related tasks