Tutorial - WebSphere Commerce V7

  1. Tutorials

  2. Program model
    1. Create new business logic
    2. Modify an existing controller command
    3. Extend the object model and modifying an existing task command
    4. Add a finder to an existing entity bean

  3. Extend a Struts action
    1. Prepare the workspace
    2. Create an action extending BaseAction
    3. Configure TopCategoriesDisplay to use MyNewAction
    4. Test the implementation
    5. Extend a Struts action summary

  4. Use Struts tags, action forms, and validation
    1. Prepare the workspace
    2. Enable back-end logic
    3. Review the replacement Contact Us JSP page featuring a form
    4. Create a dynamic action form
    5. Associate the action form with an action
    6. Changing the implementation of the Contact Us view
    7. Test the new implementation of the Contact Us view
    8. Add the Validator plug-in
    9. Describe the Validator rules to be used for the HTML form data
    10. Add the consumer direct store error message properties files as a Struts
    11. Add custom messages to the consumer direct store error message properties
    12. Enable the action form to work with the Validator framework
    13. Update the controller command configuration
    14. Update MyContactUsDisplay.jsp to display validation error messages
    15. Test the validation functionality
    16. Use Struts tags, action forms, and validation summary

  5. Web services
    1. Define an inbound Web service
    2. Prepare the workspace
    3. Create the XML schema for a Web service
    4. Create the WSDL document for a Web service
    5. Map the WSDL document to the WebSphere Commerce Web services framework
    6. Configure message mapping for the Web service request
    7. Create a Web service response JSP page
    8. Register a Web service response JSP page with WebSphere Commerce
    9. Add caching support for a Web service response JSP page
    10. Test the Web service
    11. Define an inbound Web service summary
    12. Define a User Registration Web Service
    13. Define the SyncCustomer schema
    14. Define the WSDL
    15. Map a WSDL document to the WebSphere Commerce Web Services Framework
    16. Configure message mapping for a Web service request
    17. Create a Web service ConfirmBOD responses JSP page
    18. Register a Web service response JSP page with WebSphere Commerce
    19. Test Web SyncCustomer service
    20. Define a User Registration Web service summary

  6. Create an outbound Web service client for WebSphere Commerce
    1. Set up the development environment for creating an outbound Web Service
    2. Generate the MyCompanyMember data objects from the external system WSDL
    3. Implement the MyCompanyMember client API
    4. Create a task command to send and receive messages
    5. Integrate the MyCompanyMember client API with WebSphere Commerce
    6. Configure the WebSphere Commerce messaging system
    7. Generate the MyCompanyMemberServices sample user Web service
    8. Deploy and validating the MyCompanyMember client
    9. Create an outbound Web service client for WebSphere Commerce summary

  7. Create a WebSphere Commerce service module (SOI)
    1. Create the Get TutorialStore service
    2. Define the TutorialStore noun
    3. Generate the TutorialStore service module projects
    4. Generate the SDOs for the TutorialStore noun
    5. Implement the component facade
    6. Implement the client library
    7. Deploy and validating the TutorialStore service module with JUnit
    8. Create the Get TutorialStore service summary
    9. Create the Process TutorialStore service
    10. Modify the TutorialStore service module projects
    11. Regenerate the SDOs for the TutorialStore noun
    12. Implement the component facade
    13. Implement the client library
    14. Deploy and validating the TutorialStore service module with JUnit
    15. Create the Process TutorialStore service summary

  8. Create a new WebSphere Commerce BOD service module
    1. Define the TutorialStore noun
    2. Generate the TutorialStore service module projects
    3. Generate the SDOs for the TutorialStore noun
    4. Implement the persistence layer for the WebSphere Commerce BOD programming model
    5. Add language specific exception messages
    6. Implement Business Object Mediators to transform logical SDOs and physical SDOs
    7. Configure the data service layer for the TutorialStore service module
    8. Implement the business logic layer
    9. Implement the client library
    10. Implement access control
    11. Deploy and validating the TutorialStore service module with JUnit
    12. Summary: Creating a new WebSphere Commerce BOD service module

  9. Customize Web services and WebSphere Portal to support a new search
    1. Create the project structure in the WebSphere Commerce development environment
    2. Changing the code to allow additional search parameters
    3. Register the new command
    4. Test the new fetch command
    5. Create a JSP Snippet to display the price search fields
    6. Changing SearchDisplay.jsp to use the new search expression
    7. Add an expression-builder for the new search expression
    8. Test the new search expression
    9. Customize Web services and WebSphere Portal to support a new search expression
    10. Customize Web 2.0 and Web services to support customization of the OrderItem noun using the UserData field
    11. Prepare the database for the new engraving attributes
    12. Customize the client library and component facade
    13. Update the order shopping flow to include the customized code
    14. Customize the Web 2.0 store to show engraving attributes
    15. Test the customization
    16. Summary: Customizing Web 2.0 and Web services to support customization of the OrderItem

  10. Customize Web 2.0 and Web services to support personalization
    1. Prepare the database for new engraving attributes
    2. Create the overlay type
    3. Create the SDO genmodel file
    4. Generate the SDO code from the genmodel file
    5. Use the new SDO to customize the client library and component facade
    6. Update the order shopping flow
    7. Customize the store
    8. Test the customization
    9. Customize Web 2.0 and Web Services to support personalization of order items
    10. Create an Atom feed to display recipes in a remote widget
    11. Define URLs for recipe Atom feeds
    12. Run a pattern to create the Java classes for the recipe Atom feeds
    13. Create a feed formatting JSP file for the recipe Atom feed
    14. Test the recipe Atom feed
    15. Create a remote widget to display the recipe Atom feed on a social network
    16. Add a Share link to a store page so that customers can share the recipe widget
    17. Customize the data load utility
    18. Create an XML input file
    19. Create a custom data reader
    20. Configure the data load utility
    21. Verify the customization
    22. Deploy the customized code

  11. Management Center
    1. Add new properties to a WebSphere Commerce service using the data service layer
    2. Customize the WebSphere Commerce schema
    3. Customize the physical layer to include the new information
    4. Add query templates to include the new information
    5. Create an access control policy to secure the new information
    6. Validate the Catalog customization with JUnit
    7. Add new fields in the Catalogs tool
    8. Part 1: Adding language insensitive properties in the Catalogs tool
    9. Extend the resource bundle and properties files
    10. Add a new column to the product list view
    11. Create a new tab for warranty information
    12. Define combo box values
    13. Test the customization
    14. Customize store UI using the getData tag
    15. Test the customization in the store
    16. Part 2: Adding a language-sensitive property in the Catalogs tool
    17. Add product care instructions to the warranty page
    18. Deploy the customized code

  12. Customize the Catalogs tool to upload data from custom tables
    1. Create custom versions of the configuration files
    2. Test the customization

  13. Add new search conditions in the advanced search of the Catalogs tool
    1. Extend the Advanced Search dialog to include extended properties as search
    2. Extend the controller JSP file to transfer extended search parameters
    3. Configure parametric search to search on custom data
    4. Create a new expression builder to override a default expression builder
    5. Add the extended properties as a column to a list view
    6. Test the customizations
    7. Deploy the customized code

  14. Add a validation rule in the Marketing tool
    1. Add a new validation rule for a Web activity on the OpenLaszlo client side
    2. Add a new validation for the server side
    3. Display the server side error message
    4. Test the customization
    5. Deploy the customized code
  15. Extend simple search in the Catalogs tool
    1. Configure parametric search for custom data
    2. Create a new expression builder in the get-data-config.xml file
    3. Create a new controller JSP file to retrieve and mediate the Management Center object
    4. Create new resource bundles for custom text strings
    5. Define the new search definition by extending the wcfSearchDefinition class
    6. Add the new search definition into the Search Widget in the Catalogs tool
    7. Test the customizations
    8. Deploy the customizations
    9. Summary: Extending simple search in the Catalogs tool

  16. Create a new promotion type
    1. Model the runtime promotion XML for the new promotion type
    2. Plan the user interface customization
    3. Create new resource bundles for custom text strings
    4. Create the child object definition for the new promotion type
    5. Create the object template
    6. Create the gift reward grid class for the user interface
    7. Create the promotion properties view for the user interface
    8. Add the new promotion type to the Promotion Type Selector window
    9. Register a serialization JSP file
    10. Create and registering the XSL template
    11. Test the new promotion type in the Management Center
    12. Test the new promotion type in the storefront
    13. Create the Project BOD service module
    14. Create an extended sites store for the Recipes tool customization
    15. Define the Project noun
    16. Define the database schema
    17. Generate the Project service module projects
    18. Generate the SDOs for the Project noun
    19. Implement the persistence layer for the WebSphere Commerce BOD programming model
    20. Add language specific exception messages
    21. Implement Business Object Mediators to transform logical SDOs and physical SDOs
    22. Configure the data service layer for the Project service module
    23. Implement the business logic layer
    24. Implement the client library
    25. Implement access control
    26. Validate the Project service module with JUnit
    27. Summary: Creating the Project BOD services module

  17. Add a Recipes tool to the Management Center
    1. Create a new user with the Recipe Manager role to access the Recipes tool
    2. Work with UI text and images for a Management Center object
    3. Model the Recipe noun to Management Center object definitions
    4. Define top and organizational objects in the explorer view
    5. Define primary objects
    6. Define child objects and reference objects for a primary object
    7. Define search
    8. Define views for a Management Center object
    9. Define a library class for all OpenLaszlo classes
    10. Define the main Recipes tool definition
    11. Integrate between the Management Center client and service module
    12. Retrive Management Center objects by transforming Nouns into XML
    13. Process Management Center services by transforming URL requests into BODs
    14. Test the Recipes tool customization
    15. Summary: Creating a new Recipes tool to the Management Center

  18. Support extended sites in the Recipes tool
    1. Create a new relationship for the RecipeTutorial sample store
    2. Model Management Center object definitions
    3. Changing Management Center views to display the new objects
    4. Modify JSP files to display the Management Center objects.
    5. Test the Recipes tool extended sites customization
    6. Summary: Supporting extended sites in the Recipes tool

  19. Modify the storefront to display Recipe information
    1. Create new expression builders to process Recipe service requests
    2. Create and registering new storefront JavaServer Pages files
    3. Modify existing JSPs files to interact with the new Recipe JSP files
    4. Summary: Modifying the storefront to display Recipe information

  20. Extend the Recipes tool to support workspaces
    1. Enable workspace support for the service module
    2. Enable change control for the noun
    3. Include change control information in the response of a Get service
    4. Test the customization
    5. Summary: Extending the Recipes tool to support workspaces

  21. Add a new locale for Management Center
    1. Configure and load bootstrap files
    2. Include locale information into WebSphere Commerce configuration file
    3. Create files for the new locale in Management Center
    4. Test the customization
    5. Track and displaying the most viewed recipes
    6. Define a new marketing action to track and display the most viewed recipes
    7. Create a new Command to capture the recipe view statistics
    8. Calculate the top viewed recipes from the statistics data
    9. Create a new Task Command to display the top viewed recipes
    10. Customize Management Center to support creating a new Web activity for most viewed recipes
    11. Create an e-Marketing Spot in the storefront to display the most viewed recipes
    12. Verify the customization in the storefront
    13. Summary: Tracking and displaying the most viewed recipes

  22. Content management
    1. Manage content with workspaces using the WebSphere Commerce Accelerator
    2. Manage content with workspaces using the Management Center
    3. Create a content-managed resource
    4. Add content managed resources to the Catalog service module

  23. Sales Center
    1. Extend a page in an editor
    2. Determine what extend
    3. Modify the user interface
    4. Add tooltip help to the new page
    5. Add infopop help to the new page
    6. Test the changes
    7. Modify the OrderGiftDataBean class
    8. Send gift information from the server to the client
    9. Deploy the changes
    10. Extend a page in an editor - Summary
    11. Customize the appearance of the IBM Sales Center
    12. Determine extension points
    13. Create a new plug-in
    14. Deploy the assets
    15. Customize the appearance of the IBM Sales Center summary
    16. Load the completed tutorial code
    17. Add a new search option in the IBM Sales Center
    18. Determine the id of the user interface widget
    19. Examine the Find Product dialog definition
    20. Create a new plug-in
    21. Create a properties file
    22. Create a set of control widget elements
    23. Create a gridCompositeDefinition
    24. Extend the stackCompositeDefinition
    25. Point to the new search option implementation
    26. Write code to search for the new search option
    27. Add the manufacturer part number data to the search result
    28. Register the new search option code
    29. Test the new search option changes
    30. Examine the search result table definition
    31. Display the new search option in the search result table
    32. Point to the new table definition
    33. Test the completed tutorial and view the reply BOD
    34. Deploy the changes
    35. Add a new search term: Summary
    36. Load the completed tutorial code
    37. Add a column to the order items table
    38. Create a customer and an order
    39. Determine the ID of the user interface widget to modify
    40. Create a new plug-in
    41. Specify required plug-ins for the new plug-in
    42. Register custom extension with system configurator
    43. Create a properties file for the new order items table
    44. Create a new definition for the user interface widget
    45. Point to the new widget definition
    46. Test the user interface changes
    47. Extend the reply BOD from the WebSphere Commerce Server
    48. Register the WebSphere Commerce Server Extension
    49. Verify the customization is successful
    50. Deploy the changes
    51. Add an editable column to the Order Items table by creating a new widget manager
    52. Create two fulfillment centers for the ConsumerDirect store
    53. Determine the ID of the user interface widget to modify
    54. Create a custom Sales Center plug-in
    55. Create a properties file for the new Order Items table
    56. Create a new definition for the user interface widget
    57. Point to the new widget definition
    58. Create the new widget manager for the new editable column
    59. Determine which BOD is used to communicate from the server to the client
    60. Create a new class and add code to get the fulfillment list
    61. Verify the ShowStore BOD
    62. Extend the request handler on the Sales Center client to read the BOD message
    63. Verify that the customization for ShowStore is successful
    64. Determine which BOD is used to store information about the fulfillment center
    65. Create a new class to extend from the ShowSalesOrder class
    66. Add the code to the new ExtendedShowSalesOrder class
    67. Verify the customization code for ExtendedShowSalesOrder
    68. Deploy the changes
    69. Customize the Madisons store
    70. Changing the appearance of the Madisons starter store
    71. Register a new color in WebSphere Commerce Accelerator
    72. Test the new color registration
    73. Changing the color
    74. Test the new color change
    75. Register a new style in WebSphere Commerce Accelerator
    76. Test the new style registration
    77. Exchange the positions of the logo and the search area
    78. Exchange the positions of the advertisements in the right sidebar and the scrolling e-Marketing Spot at the bottom
    79. Changing the font size
    80. Test the new style in WebSphere Commerce Accelerator
    81. Add the Recipe tool to the Madisons starter store
    82. Create and registering the new JSP files to display Recipe information
    83. Create JavaScript file for adding selected products into shopping cart
    84. Create recipe quick info widget
    85. Customize the ConsumerDirect sample store
    86. Customize the consumer direct sample store using snippets
    87. Publish a consumer direct sample store
    88. Create a sales catalog in MyApparelStore
    89. Create categories in MyApparelSalesCatalog
    90. Add merchandise to MyApparelSalesCatalog
    91. Display MyApparelSalesCatalog using a JSP code snippet
    92. Test MyApparelSalesCatalog
    93. Create the MyApparelPromotion promotion
    94. Create the MyApparelSpot e-Marketing Spot
    95. Display the MyApparelSpot e-Marketing Spot
    96. Test the MyApparelSpot e-Marketing Spot
    97. Import and editing the e-mail template
    98. Register the e-mail template
    99. Prepare the e-mail content
    100. Create a customer segment and customer to target with the e-mail activity
    101. Create an e-mail activity
    102. Display a catalog entry thumbnail using an object snippet
    103. Add parameters to send to the object snippet
    104. Create a new parameter for CatalogEntryThumbnailDisplay.jspf
    105. Deploy the snippet changes
    106. Summary of customizing the consumer direct sample store using snippets
    107. Example: Using JSP code and object snippets

  24. Add a new Change Flow feature
    1. Add the new feature to the flow repository
    2. Add the option to enable or disable the feature to the Change Flow notebook
    3. Make the feature configurable
    4. Enable the feature by default in a multiple-site environment
    5. Add style options
    6. Define a new style in the style configuration file
    7. Create the style sheets
    8. Create new header, footer, and sidebar JSP pages
    9. Add style features to the feature repository
    10. Create preview images for the new style
    11. Add dynamic text
    12. Add properties to hold and display the dynamic text
    13. Create a preview page for the location of the text message
    14. Add a section to the storefront configuration file
    15. Update the JSP page
    16. Customize
    17. Create views for multiple catalogs in a store
    18. Create sales catalogs
    19. Create URL references
    20. Add hypertext links
    21. Use an ATP catalog
    22. Enable the store to use available to promise inventory
    23. Install loading tools
    24. Load ATP catalog assets
    25. Add ATP catalog entries to an order
    26. Examine the results of testing ATP catalog assets for an order
    27. Source data
    28. Create a multicultural store
    29. Configure bootstrap files
    30. Include language data
    31. Create files for the new locales
    32. Group locales by country and store
    33. Rapid store development and deployment
    34. Background information
    35. Update the env batch file
    36. Run WebSphere Commerce utilities
    37. Deploy precompiled JSP files to the WebSphere Commerce Server
    38. Precompile the JSP files
    39. Package the source and compiled JSP files
    40. Deploy the precompiled JSP files to the production server
    41. Tutorial summary

  25. Migrate members super class references
    1. Contracts
    2. Extend the existing contract model
    3. Create a new business policy
    4. Register the new terms and conditions object
    5. Create the enterprise bean
    6. Create an access bean and deploying
    7. Update WebSphere Commerce Accelerator to use the new term and condition
    8. Invoke the new business policy
    9. Customize a contract (Rebate scenario)

  26. Import and exporting contracts
    1. Understand contract XML files
    2. Import and exporting a contract using the WebSphere Commerce Accelerator
    3. Import and exporting a contract using XML files
    4. HTML Utility for importing and exporting contracts
    5. Catch shopper address alternatives in the calculation framework
    6. Canadian tax configuration
    7. Search
    8. Search Performance Improvement
    9. Search performance improvement for Apache Derby
    10. Search performance improvement: 11-step program for DB2 environment

  27. Payments
    1. Configure the SimpleOffline plug-in with two payment methods
    2. Configure the payment system to use synchronous event
    3. Create a payment configuration group for the store
    4. Configure each XML configuration file in the payment configuration group for two payment methods
    5. Configure the XML configuration files for the payment plug-in controller
    6. Configure the XML configuration files for the SimpleOffline payment plug-in
    7. Configure two payment business policies for the store
    8. Develop a payment plug-in
    9. Payment Service Provider Simulator
    10. Import the Payment Service Provider Simulator EAR file into the WebSphere Commerce Developer workspace
    11. Set up the Payment Service Provider Simulator database
    12. Configure the virtual host and transport chain of the Payment Service Provider Simulator Web service
    13. Add the Payment Service Provider Simulator project to the WebSphere Commerce Test Server
    14. Test the Payment Service Provider Simulator
    15. Generate the Payment Service Provider Simulator Web service client project
    16. Add the Payment Service Provider Simulator Web service client project as a utility JAR file to the WebSphere Commerce EAR file
    17. Step 1: Creating the payment plug-in EJB project
    18. Step 2: Creating the payment plug-in session bean
    19. Step 3: Implementing the payment plug-in API methods
    20. Step 4: Creating the error message properties file
    21. Step 5: Creating the payment plug-in deployment descriptor file
    22. Step 6: Updating the payment system mapping file
    23. Step 7: Updating the payment method configuration files
    24. Step 8: Deploying and publishing the WebSphere Commerce EAR file
    25. Step 9: Specifying the merchant configuration properties
    26. Step 10: Updating the KEYS table
    27. Step 11: Testing the payment plug-in
    28. Step 12: Packaging and deploying the payment plug-in from Rational Application Development to WebSphere Commerce Server
    29. WebSphere Commerce Payments
    30. Step 1: Accessing the WebSphere Commerce Payments user interface
    31. Step 2: Creating a WebSphere Commerce Payments merchant and authorizing a cassette
    32. Step 3: Defining WebSphere Commerce Payments users
    33. Step 4: Assigning user roles
    34. Step 5: Creating an account
    35. Step 6: Creating a brand
    36. Step 7: Creating orders using the Sample Checkout
    37. Step 8: Approving orders
    38. Step 9: Depositing payments
    39. Step 10: Settling batches
    40. Step 11: Issuing a credit
    41. Step 12: Viewing batch totals
    42. Portal
    43. Call the TutorialStore service in a portlet
    44. Add the TutorialStore client library to the MVCPortlet project
    45. Create a new TutorialStore portlet in the MVCPortlet project
    46. Add the GetStore portlet JSP file to the MVCPortlet project
    47. Register a MVCPortlet render to use GetStore portlet JSP
    48. Test the GetStore portlet
    49. Summary: Calling the TutorialStore service in a portlet

  28. Dynamic caching
    1. Improve WebSphere Commerce performance with dynamic caching
    2. Set up the dynamic cache environment
    3. Changing the refresh interval
    4. Install the cache monitor
    5. Tutorial: Installing the ESI cache monitor
    6. Set up the cachespec.xml to full-page cache TopCategoriesDisplay
    7. Invalidate cache
    8. Timeout
    9. Invalidate cache using command invalidation
    10. Invalidate cache using dynacache API and the CACHEIVL table
    11. Invalidate cache using dependency trees
    12. Accept cache identifiers
    13. Add WebSphere Commerce DC_RequestAttributes
    14. Accept cache identifiers using method calls into the WebSphere Application
    15. Accept cache identifiers using cookies
    16. Accept cache identifiers using method calls into the CommandContext
    17. Use dynacache's API to not cache
    18. Use dynacache's API to not cache a full page matching a caching rule
    19. Use dynacache's API to not cache a fragment on a page
    20. Configure edge side caching using ESI
    21. Enable Edge caching
    22. Cache full pages using ESI caching
    23. Cache fragments using ESI caching
    24. Operate dynacache in a production environment
    25. Tune parameter: Delay Offload Entries Limit
    26. Tune parameter: delay offload
    27. Tune parameter: cleanup frequency
    28. Tune parameter: flush to disk
    29. Set up cache replication in a clustered environment
    30. Configure cache monitor in a clustered environment
    31. Use WebSphere Commerce

  29. Work with assets in extended sites
    1. Create a new product in an extended sites store
    2. Change an asset store product from within an extended sites store
    3. Change an existing promotion in an extended sites store
    4. Change an asset store promotion from within an extended sites store
    5. Preview the changes in the store
    6. Tutorial: Working with assets in extended sites summary

  30. Create RFQs
    1. Create a new RFQ request (buyer: buyer (buy-side))
    2. Submit and viewing a new RFQ request (buyer)
    3. Create a new response to an RFQ request (seller)
    4. Submit and viewing a new RFQ response (seller)
    5. Close an RFQ request (buyer)
    6. Evaluate responses (buyer: buyer (buy-side))
    7. Select an RFQ winner (buyer)
    8. Complete an RFQ request (buyer)

  31. Conduct an e-mail campaign
    1. Create e-mail content
    2. Create an e-mail template
    3. Configure e-mail activities
    4. Create and test the e-mail activity