Customizing WebSphere Commerce Accelerator commands
- In the WebSphere Commerce development environment, navigate to the WebSphereCommerceServerExtensionsLogic project.
- Right-click on the project, and select New, and then Source Folder.
- In the Folder Name field on the New Source Folder dialog, enter myCustomSource.
- Click Finish to create the new folder.
- Right-click on the new folder, and select New, and then Package.
- In the Name Field on the New Java Package dialog, enter com.myCompany.logic.component, where myCompany represents some custom directory name.
- Click Finish to create the new package.
- Right-click on the new package, and select New, and then Class.
- In the Name field, enter MyCommandNameControllerCmdImpl.
- In the Superclass field, enter the following: com.ibm.commerce.tools.component.CommandNameControllerCmdImpl.
- Click Finish. The file opens in the editor.
- Update the CMDREG database table to reference the new controller command class.
Related concepts
Related tasks