WebSphere Commerce Server v7.0 Development

WebSphere Commerce Server v7.0 Development

T This course, students build on the skills developed in course WC700 / VC700 / ZC700, IBM WebSphere Commerce V7 Foundation, and acquire the essential skills necessary to customize many of the key features of IBM WebSphere Commerce V7.

In-depth lectures cover the skills and knowledge students need to customize an IBM WebSphere Commerce V7 site. Lecture topics include an introduction to the integrated development environment for WebSphere Commerce, which is built upon Rational Application Developer V7. From that starting point, students develop and configure storefronts, both with and without Web 2.0 capabilities enabled. In addition, students learn how to build custom business logic and data handling through the command framework, business object document (BOD) processing framework, Enterprise JavaBeans (EJBs), and the data service layer.

Students are also introduced to many of the new features provided by WebSphere Commerce V7, including how to develop for the IBM Management Center with related activities like customizing precision marketing, promotions, Mobile Commerce, and Social Commerce. To complete the experience, students learn the basics of integrating WebSphere Commerce with other systems in a service-oriented architecture (SOA), including payments and Web services.

Hands-on lab exercises provided throughout the course reinforce lecture content, and let students gain practical experience designing and implementing customized WebSphere Commerce solutions. Students practice their newly developed WebSphere Commerce skills by performing tasks such as creating new views and commands, extending WebSphere Commerce capabilities by building custom projects in the persistence layer, deploying Web services, and developing new features for the IBM Management Center.

Exercise 1.Introduction to the WebSphere Commerce development environment

Duration: 1 hour 30 minutes Learning objectives: After completing this exercise, students should be able to: • Start the development environment • Identify common projects used in the development process • Locate store artifacts to customize • Launch the WebSphere Commerce test server • Analyze server logs for debugging and error handling

Unit 2. Developing and customizing storefront pages

Duration: 1 hour 15 minutes Learning objectives: After completing this unit, students should be able to: • Describe the behavior of the presentation layer in WebSphere Commerce • List the process for modifying the behavior of WebSphere Commerce storefront assets • Work with JavaServer Pages • Globalize storefronts • Outline the business processes used in some common sample stores • Prepare property files • Manipulate data beans • Comply with recommended development strategies and best practices

Exercise 2. Customizing storefront pages

Duration: 2 hours Learning objectives: After completing this exercise, students should be able to: • Display the Consumer Direct storefront • Find the JSP file that produces a view • Inspect the mappings in the Struts configuration file • Update a property file to modify store text • Review property-level changes in a store • Record the unique identifier of a store • Map a new view to a JSP file in the Struts configuration file • Update the WebSphere Commerce registry with new view information • Construct a new property file • Create a new JSP file for use in WebSphere Commerce • Create and load access policies to support new views

Unit 3. Developing and customizing store business logic

Duration: 1 hour 30 minutes Learning objectives: After completing this unit, students should be able to: • Explain the use of commands and the command API • Name-value pair command processing • Business object document processing • Explain the process used to extend WebSphere Commerce business logic • Relate business process from the storefront presentation to the underlying business logic • Describe issues related to command behavior, such as business contexts and access controls

Exercise 3. Customizing store business logic

Duration: 1 hour 45 minutes Learning objectives: After completing this exercise, students should be able to: • Create new task command interfaces • Create new task command implementations • Create the new controller command interface • Create the new controller command implementation class • Register the new controller command • Load access control policy • Modify the JSP file to process the controller command • Test on the WebSphere Commerce Test Servers

Unit 4. Developing and customizing the persistence layer

Duration: 1 hour 30 minutes Learning objectives: After completing this unit, students should be able to: • Provide a high-level description of the WebSphere Commerce data model • Describe the implementation of EJBs in WebSphere Commerce • Explain when and why it may be necessary to extend the WebSphere Commerce data model • Add custom SQL to existing session beans • Create new session and entity beans to extend the WebSphere Commerce data model • Develop and utilize access beans and data beans in WebSphere Commerce • Perform the process of extending WebSphere Commerce using EJBs

Exercise 4. Creating an Enterprise JavaBean in WebSphere Commerce

Duration: 2 hours Learning objectives: After completing this exercise, students should be able to: • Create a WebSphere Commerce table • Create an entity bean • Configure EJB properties • Modify EJB methods and finders • Map the database table to the EJB • Generate the access bean for the EJB • Test the entity bean

Unit 5. Developing and customizing the Web 2.0 presentation layer

Duration: 1 hour 15 minutes Learning objectives: After completing this unit, students should be able to: • Analyze the architecture of the Web 2.0 store • Design interactive storefronts using the Dojo toolkit and WebSphere Commerce extensions • Construct agile storefronts using Asynchronous Java and XML (Ajax) • Customize a store that uses Web 2.0 elements following recommended development processes

Exercise 5. Customizing a Web 2.0 storefront

Duration: 2 hours Learning objectives: After completing this exercise, students should be able to: • Identify content for Ajax enablement • Enable a JSP file for Web 2.0 content • Declare a refresh controller • Declare the shopping cart as a refresh area • Declare services and contexts • Add a Tooltip widget to catalog items • Support products with drag-and-drop functionality • Test a Web 2.0-enabled storefront

Unit 6. BOD command processing and the data service layer

Duration: 1 hour 15 minutes Learning objectives: After completing this unit, students should be able to: • Describe the purpose and function of BOD command processing in the business logic layer • Customize or extend BODs • Describe how Service Data Objects (SDOs) are used within the BOD command processing framework • Leverage the Java Emitter Template (JET) to generate service modules and implementation code • Transform logical objects to physical objects using Business Object Mediators in the Data Service Layer • Use a query template to translate XPath into SQL statements

Exercise 6. BOD command processing and the data service layer

Duration: 3 hours Learning objectives: After completing this exercise, students should be able to: • Create a registered shopper • Create a new WebSphere Commerce table • Create a noun to support the logical model • Generate the service module using the Java Emitter Template (JET) • Configure the service module • Generate SDOs for a noun • Implement the persistence layer for the WebSphere Commerce BOD programming model • Add language-specific exception messages • Implement Business Object Mediators to transform logical SDOs and physical SDOs • Configure the Data Service Layer for the service module • Register the new Get command in the command registry • Implement the client library • Implement access control • Deploy and validate the service module with JUnit

Unit 7. IBM Management Center, precision marketing, and promotions

Duration: 1 hour 15 minutes Learning objectives: After completing this unit, students should be able to: • Describe the Management Center runtime and development architecture • Develop custom functionality in Management Center using OpenLaszlo • Identify Management Center development flow and customization points • Describe multi-channel precision marketing • Configure precision marketing and create new marketing activities • Customize new promotion features • Configure "Best Deal" support

Exercise 7. Customizing the IBM Management Center for WebSphere Commerce

Duration: 2 hours Learning objectives: After completing this exercise, students should be able to: • Change the text on a column header • Create a new tabbed pane in the list view • Add a new precision marketing element • Implement the task command for a precision marketing target element • Create a new target element in the Management Center • Test a new precision marketing target

Unit 8. Web services and messaging

Duration: 1 hour Learning objectives: After completing this unit, students should be able to: • Explain the messaging services architecture and define predefined messages • List the features in WebSphere Commerce that support integration • Describe the administration and use of integration features • Describe the process of developing new behaviors to support integration • Define a service-oriented architecture (SOA) and explain the role of Web services in SOA and WebSphere Commerce • Develop a Web service for use in WebSphere Commerce • Deploy a Web service in WebSphere Commerce

Exercise 8. Implementing a Web service in WebSphere Commerce

Duration: 2 hours 30 minutes Learning objectives: After completing this exercise, students should be able to: • Generate Service Data Objects (SDOs) from Web Services Description Language (WSDL) • Implement a Web service client API • Create a task command to send and receive messages to and from a Web service • Integrate a Web service client API with WebSphere Commerce • Configure the WebSphere Commerce messaging system • Generate a sample user Web service • Deploy a Web service client • Test an outbound Web service client for WebSphere Commerce

Unit 9. Mobile Commerce and Social Commerce

Duration: 1 hour Learning objectives: After completing this unit, students should be able to: • Enable mobile store pages • Explain the Short Message Service (SMS) infrastructure and configuration • Configure Mobile Commerce for using SMS gateways • Explain Social Commerce features for WebSphere Commerce • Describe Social Commerce administration • Configure WebSphere Commerce Developer for Social Commerce • Work with social content widgets on storefront pages • Integrate social content with precision marketing • Leverage the WebSphere sMash application for providing social content • Troubleshoot social content

Unit 10. Payments

Duration: 45 minutes Learning objectives: After completing this unit, students should be able to: • Summarize the payments architecture, including the use of payment rules and payment-specific commands • Customize payment rules • Describe the WebSphere Commerce implementation of payment plug-ins • List and describe the payment plug-ins provided in WebSphere Commerce V7 • Explain the development and configuration of payment plug-ins

Unit 11. Best practices

Duration: 30 minutes Learning objectives: After completing this unit, students should be able to: • Describe many common best practices for development in WebSphere Commerce • Select the best strategies for efficient and effective customization • Design plans for storefront development • Compose approaches for logic and data customizations • Employ Web and component services to maximize productivity

Unit 12. IBM Gift Center for WebSphere Commerce

Duration: 45 minutes Learning objectives: After completing this unit, students should be able to: • Explain the differences between IBM Gift Center, IBM Gift Registry, and WebSphere Commerce • Describe how to customize the behavior of IBM Gift Center • Describe factors that affect the customization of IBM Gift Center, such as: • Access control • Authentication and password management • Exception handling • Messaging

Exercise 9. Customizing IBM Gift Center

Duration: 1 hour 30 minutes Learning objectives: After completing this exercise, students should be able to: • Modify the appearance and behavior of Gift Center artifacts • Update resource bundles to support globalization • Edit Gift Center configuration files

Unit 13. IBM Sales Center for WebSphere Commerce

Duration: 45 minutes Learning objectives: After completing this unit, students should be able to: • Describe the IBM Sales Center architecture • Work with the IBM Sales Center development environment • Leverage the development environment editors in an IBM Sales Center project

Exercise 10. Customizing IBM Sales Center

Duration: 1 hour 30 minutes Learning objectives: After completing this exercise, students should be able to: • Launch the IBM Sales Center development environment • Identify the customization points for IBM Sales Center • Create a new plug-in for IBM Sales Center customization • Leverage existing plug-ins for IBM Sales Center customization • Register customized extensions with the System Configurator • Write new property files • Define new widgets in IBM Sales Center • Extend business object documents (BOD) to use in IBM Sales Center • Troubleshoot IBM Sales Center customizations

Unit 14. Course summary

Duration: 30 minutes Learning objectives: After completing this unit, students should be able to: • Explain how the course met its learning objectives • Submit an evaluation of the class • Identify other WebSphere Education courses related to this topic • Access the WebSphere Education Web site • Locate appropriate resources for further study