Next >
Tutorial: Customizing Web 2.0 and Web services to support customization of the OrderItem noun using the UserData field
Customizing Web 2.0 and Web services to support customization of the OrderItem noun using the UserData field.Extended description of tutorial.
Learning objectives
This tutorial is designed to show you the steps involved in extending the OrderItem noun of the Web services architecture to include new information. UserData will be used to transfer the new Order information from the example Web2.0 store to WebSphere Commerce where it will persist to the database. In this tutorial, you will customize the shopping flow to allow the customer the ability to keep track of engraving information for an Order Item. After this customization a customer will see options in their shopping cart before they check out for any items that have the ability to be engraved. For example, wine glasses will have the options for the text to be engraved as well as the size and font of that text.
Time required
Expect this work flow to take about 4 hours to complete.
Audience
This work flow is intended for advanced WebSphere Commerce Store developers who are responsible for creating new business logic.
Prerequisites
Before beginning this tutorial ensure that you have:
- Installed WebSphere Commerce Developer.
- Installed WebSphere Commerce Developer Fix pack 2.
- Installed the component-services iFeature from WebSphere Commerce enhancements for version 6.
- Enabled WebSphere Commerce services.
- Set up the development environment for creating WebSphere Commerce services.
- Installed and set up the Madison (Web 2.0) store .
Knowledge prerequisites To complete this tutorial you should be familiar with the following terms and concepts:
- WebSphere Commerce Developer
- An understanding of the Java programming language.
- A basic understanding of the database type used in your WebSphere Commerce development environment.
- A basic understanding of JSP pages.
- A basic understanding of EJB beans.
- A basic understanding of access beans.
- A basic understanding of XML.
Lessons in this tutorial
- Prepare the database for the new engraving attributes
In this step, you will create engraving attributes.- Customizing the client library and component facade
This section explains the customizing the client library and component facade..- Updating the order shopping flow to include your customized code
This section refers to updating the order shopping flow to include the customized code..- Customizing the Web 2.0 store to show engraving attributes
This section explains how to customize the Web 2.0 store to show engraving attributes.- Testing your customization
This section is about testing your customization.- Customizing Web 2.0 and Web services to support customization of the OrderItem
This section summarizes the tutorial. Next >