Develop > Controller layer > Management Center Web application > Customize the Management Center Web application
Create new objects
You can create new client objects and validation errors.
To create a new client object:
Procedure
- Design the client object.
- Define retrieval services by creating the controller and serialization JSP files that transform information retrieved from the WebSphere Commerce server into the XML format expected by the Management Center client. See Define retrieval services for a custom Management Center object for more information.
- Define processing services by creating the Management Center object definition file and the Struts actions that are used when processing (for example, creating) a client object. See Define process services for a custom Management Center object for more information.
- Optional: Customize error handling by Map of validation error reason codes and Changing the validation error message sent back as a response.
What to do next
- Define retrieval services for a custom Management Center object
To define a Management Center object to be returned to the Management Center, create JSP fragments to transform the information returned by the WebSphere Commerce service into the XML representation expected by the Management Center.
- Define process services for a custom Management Center object
Defining the authoring services such as create, save, and delete for the Management Center object to the WebSphere Commerce OAGIS service consists of first defining the URL parameter mapping to the Noun in the BOD request, then configuring the Struts action to indicate the Verb and additional processing information.
- Changing the validation error message sent back as a response
To change the validation message returned to the Management Center, add a new property in the primary resource bundle defined in the configuration file. The primary resource bundle contains the default error message override.