After creating your store data, you can choose to package it as a store archive and publish it using Publish wizard or the PublishStore utility. If you do not package the store as a SAR file you can load data assets directly into the WebSphere Commerce Server database using the WebSphere Commerce Loader package. Refer to Loading WebSphere Commerce database asset groups for information on the loading process for WebSphere Commerce database asset groups.
The Loader package provides six command-line utilities and two related administrative tools that you can use to prepare data for loading as well as to load data into your store. These utilities use Extensible Markup Language (XML) data files to manage the information.
The data preparation, loading, and extraction processes that you can perform using the Loader package utilities are shown in the following figure.
The two processes that are most commonly used to load store data into a WebSphere Commerce Server database are resolving identifiers and loading the data.
- ID Resolver
This utility generates identifiers for XML elements that require them prior to loading into a database. For information on the ID Resolver utility, refer to:
- Load
This utility loads an XML input file into a target database. For information on this utility, refer to:
You can use the following Loader package command-line utilities to manage your data:
- DTD Generate
This utility creates document type definition (DTD) and schema files for use with the Loader package. For more information refer to:
- Extract
This utility extracts a selected subset of data from a database in the form of an XML file. For more information refer to:
- Text Transform
This utility transforms data between a character-delimited variable format and an XML format. For more information refer to:
- XML Transform utility
This utility converts an XML file into an alternate XML format. For more information refer to:
The WebSphere Commerce Loader package also includes the following tools to assist in the administration of its data-management functions:
- Text Transformation tool
The Text Transformation tool transforms data between a character-delimited variable format and an XML data format. For more information refer to:
- XSL editor
The XSL editor provides an interface for editing XSL files, which the XML Transformer can use. Using the XSL editor, you establish the association from an element in a source DTD to an element in a target DTD when defining the mapping rules for transforming data between XML formats. For more information refer to: