Overview of loading store data
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 loading utilities.
The loading utilities provides six command-line utilities that use to prepare data for loading as well as to load data into your store. These utilities use XML data files to manage the information.
The data preparation, loading, and extraction processes that you can perform using the loading 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.
- idresgen
Generates identifiers for XML elements that require them prior to loading into a database.
- massload
Loading utilities command-line utilities...
- dtdgen
Creates DTDs and schema files for use with the loading utilities. For more information refer to:
- Generate a DTD
- Example of wc.dtd output for the DTD Generate utility
- Map loading utilities data to a database schema
- massextract
Extracts a selected subset of data from a database in the form of an XML file.
- txttransform
Transforms data between a character-delimited variable format and an XML format.
Related concepts
Related tasks