Programming model tutorials
WebSphere Commerce provides tutorials
that are designed to introduce the various tasks that are related
to creating customized code to develop and enhance WebSphere Commerce
applications. The following tutorials provide sample guides to customizing
elements of the WebSphere Commerce programming model.
Tutorial | Learning objectives | Description |
---|---|---|
Tutorial: Creating business logic | After completed this tutorial, you should be
familiar with the following concepts:
After completing this tutorial,
you should be familiar with the following tasks:
|
In this tutorial, you create the business logic for a new view, controller command, data bean, and entity bean. New business logic is required when a change is made to the default business logic behavior of WebSphere Commerce. This tutorial guides you through creating business logic to support an application to track bonus reward points earned by customers in a new customer loyalty program application. The assets you will create include a view, a controller command, a task command, data beans, and an entity bean. This tutorial is for demonstration purposes only and does not reflect all the logic required to build a fully functional loyalty program application. From this tutorial, you learn the common development steps for creating the previously listed code assets. |
Tutorial: Modifying a controller command | After completed this tutorial, you should be
familiar with the following concepts:
After completing this tutorial,
you should be familiar with the following tasks:
|
This tutorial demonstrates how to modify an existing controller command. In this tutorial, you restrict the number of items in a customer's shopping cart to five or fewer unique items. To implement this solution, you override the OrderItemAddCmdImpl class with your own implementation. The implementation includes logic to check for the number of items in the shopping cart. If a customer attempts to add a sixth item to the shopping cart, an exception is thrown. This exception uses a new error message. |
Tutorial: Using Struts tags, action forms, and validation | After completing this tutorial, you should
be familiar with the following concepts:
After completing this tutorial,
you should be familiar with the following tasks:
|
In this tutorial, you learn how to use Struts tags, action forms, and validation in the context of WebSphere Commerce store development. |
Tutorial: Extending a Struts action | After completing this tutorial, you should
be familiar with the following concepts:
After completing this tutorial,
you should be familiar with the following tasks:
|
In this tutorial, you learn how to extend Struts actions in the context of WebSphere Commerce store development. Specifically, you are creating a new action class, MyNewAction, that extends the WebSphere Commerce BaseAction class. |
Tutorial: Extending a BOD service to manage UserData with the Data Service layer | After completing this tutorial, you should
be familiar with the following concepts:
After completing this tutorial,
you should be able to perform the following tasks:
|
In this tutorial, you customize the Catalog service to support warranty information and care instructions for Catalog Entries. This customization updates the WebSphere Commerce schema so that it stores the new information and customizes the Catalog service to include new information. The new information is included as user data in the CatalogEntry noun. |
Tutorial: Extending a search profile to retrieve and display custom data in the storefront | After completing this tutorial, you should
be familiar with the following concepts:
After completing this tutorial,
you should be familiar with the following tasks:
|
In this tutorial, you learn how to create catalog data and display this data in the storefront by using the search-based catalog navigation noun. |
Tutorial: Displaying additional UserData in mobile native applications | After completing this tutorial, you should be familiar with the following concepts:
|
In this tutorial, you learn how to display custom UserData in a mobile native application via REST services. |