BEA Logo BEA WebLogic Commerce Server Release 3.1.1

  Corporate Info  |  News  |  Solutions  |  Products  |  Partners  |  Services  |  Events  |  Download  |  How To Buy

 

   WebLogic Commerce Server Doc Home   |   Product Catalog Management   |   Previous Topic   |   Next Topic   |   Contents   |   Index

 

Welcome to WebLogic Commerce Server Product Catalog Management! This document explains how to use BEA WebLogic Commerce Server to build and customize a Web-based product catalog. The catalog provides commonly used items and attributes that are found on e-commerce Web sites. JavaServer Page (JSP) templates are provided as a starting point, and you can easily customize the presentation of each page to match your business branding requirements and design preferences. The documented product catalog schema identifies the structure and relationships of the database tables. Behind the scenes, pre-built Enterprise Java Beans (EJBs) and other Commerce Server features provide the computing infrastructure and scalability that enables your site to support many concurrent users. Property files and administration screens allow you to manage the product catalog's behavior and content.


 

Introduction to the Product Catalog

What Does the Product Catalog Provide?

Catalog Hierarchy

Product Catalog Development Roles

How Are the Product Catalog Features and Other Commerce Features Linked?

Using Commerce Server and Personalization Server Features in an Application

Next Step

 

The Product Catalog Schema

The Entity-Relation Diagram

The Catalog Schema Is Based on Dublin Core Standard

The WLCS_CATEGORY Database Table

The WLCS_PRODUCT Database Table

The WLCS_PRODUCT_CATEGORY Database Table

The WLCS_PRODUCT_KEYWORD Database Table

The WLCS_CAT_PROP_* Database Tables for Custom Attributes

The WLCS_CAT_ENTITY_ID Database Table

The WLCS_CAT_PROP_ID Database Table

The WLCS_CAT_PROP_BOOLEAN Database Table

The WLCS_CAT_PROP_INTEGER Database Table

The WLCS_CAT_PROP_FLOAT Database Table

The WLCS_CAT_PROP_TEXT Database Table

The WLCS_CAT_PROP_DATETIME Database Table

The WLCS_CAT_PROP_USER_DEFINED Database Table

The SQL Files and Defined Constraints

 

Using the Product Catalog Database Loader

The Input File for DBLoader

The dbloader.properties File

Running the DBLoader Program

To Run the Program

DBLoader Log Files

DBLoader Validations

Important Database Considerations

Using Database-specific Data Loaders

Using Third-party Data Loaders

 

Catalog Administration Tasks

Starting the Server

Starting the Administration Tool

Changing the Administrator Password

Loading Data into the Product Catalog

Adding Categories to the Catalog

Adding Items to the Catalog

Controlling the Visibility of Items in the Catalog

Assigning Items to Categories

What if I Have a Large Amount of Data?

Using the Administration Screens to Assign Items to Categories

Edit the Attributes for Categories and Items

Editing Category Attributes

Editing Product Item Attributes

Edit the Availability of an Item

How Are Categories and Items Displayed to the Web Site User?

Deleting Items or Removing Items from One or More Categories

Caching Considerations

Deleting an Item from the Catalog

Removing an Item from One or More Categories

Removing Categories

Moving Items from One Category to Another Category

Define Custom Attributes for Items

Improving Catalog Performance by Optimizing the Catalog Cache

Cache-Related Values in WeblogicCommerce.properties

Considering Hardware Costs Versus the Cost of Dissatisfied Web Site Users

What's in Each Cache Initially?

The Catalog Cache Administration Screen

Using the wlcs-catalog.properties File

Location

Some Property Values You Might Modify

Editing the Catalog Schema Definition

 

The Product Catalog JSP Templates and Tag Library

Introduction

JSP Templates Overview

On Which JavaServer Page Will My Users Start?

Web Applications and the weblogic.properties File

XML Deployment Descriptor Files

commercewf Property Set and DestinationDeterminer

Sequence Review and the Browser View

JavaServer Pages (JSPs)

main.jsp Template

Sample Browser View

Location in the WebLogic Commerce Server Directory Structure

Tag Library Imports

Java Package Imports

Location in the Default Webflow

Included JSP Templates

Events

Dynamic Data Display

Form Field Specification

browse.jsp Template

Sample Browser View

Location in the WebLogic Commerce Server Directory Structure

Tag Library Imports

Java Package Imports

Location in the Default Webflow

Included JSP Templates

Events

Dynamic Data Display

Form Field Specification

details.jsp Template

Sample Browser View

Location in the WebLogic Commerce Server Directory Structure

Tag Library Imports

Java Package Imports

Location in the Default Webflow

Included JSP Templates

Events

Dynamic Data Display

Form Field Specification

search.jsp

Sample Browser View

Location in the WebLogic Commerce Server Directory Structure

Tag Library Imports

Java Package Imports

Location in the Default Webflow

Included JSP Templates

Events

Dynamic Data Display

Form Field Specification

searchresults.jsp

Sample Browser View

Location in the WebLogic Commerce Server Directory Structure

Tag Library Imports

Java Package Imports

Location in the Default Webflow

Included JSP Templates

Events

Dynamic Data Display

Form Field Specification

Query-based Search Syntax

Using Comparison Operators to Construct Queries

Searchable Catalog Attributes

Controlling the Number of Search Results

Input Processors

CatalogIP

GetProductItemIP

GetCategoryIP

KeywordSearchIP

ExpressionSearchIP

MoveAttributeIP

RemoveAttributeIP

Pipeline Components

CatalogPC

GetCategoryPC

GetProductItemPC

GetParentPC

GetAncestorsPC

GetProductItemsPC

GetSubcategoriesPC

MoveAttributePC

RemoveAttributePC

SearchPC

The Catalog JSP Tag Library: cat.tld

The <catalog:getProperty> Tag

Format

Attributes

Example

The <catalog:iterateViewIterator> Tag

Format

Attributes

Examples

The <catalog:iterateThroughView> Tag

Format

Attributes

Examples

 

Using the API to Extend the Product Catalog

Overview of the Product Catalog API

Catalog Architecture and Services

Catalog Architecture

Catalog Manager

Product Item Manager

Category Manager

Custom Data Manager

Catalog Query Manager

The Catalog Cache

Writing Your Own Catalog Service

Create New Services

Sample Source Code

Changes to ejb-jar.xml

Changes to weblogic-ejb-jar.xml

 

Product Catalog Internationalization Support

Support for Multiple Languages

Language and Country Codes

About the CatalogRequest Object

Persisting Language Information to the Catalog Database

Product Items and Categories

Image Support

Limiting Search Results by Language

Using the Catalog Architecture to Maintain Internationalized Product Catalogs

Method 1: Filtering Product Catalog Content

Method 2: Parsing Language-Specific Data

Two Languages

Multiple Languages

Method 3: Multiple Product Catalog Instances

Method 4: Language-Based Service Routing