Tutorials > Content management
Tutorial: Creating a content-managed resource
This tutorial describes how to extend the workspaces content management function in WebSphere Commerce to include new resources. It demonstrates how to introduce a new table into WebSphere Commerce, create an entity bean for that table, make this new resource content managed, and manage it using the WebSphere Commerce Accelerator.
Learning objectives
- Create a new resource
- Make the resource content-managed
- Integrate the new resource
- Preview the new resource
Time required
Expect this tutorial to take between four and five hours to complete:
Skill level
Advanced
System requirements
Before beginning this tutorial make sure that you have set the following in up the development environment:Source code for this tutorial.
Ensure that you are familiar with the following programming languages and concepts:
- Java programming language
- The database type you are using in the WebSphere Commerce development environment. Note that Apache Derby is not supported on workspaces.
- JSP pages
- Enterprise Java beans
- WebSphere Commerce Workspaces, including workspaces tooling and the workspaces data model.
Modules in this tutorial
- Create the new resource
Part one shows you how to create a new resource.
- Make the resource content managed
To make a resource content managed you: create a resource container, create a resource manager, register the resource container, and register the resource manager XML file.
- Integrate the new resource
At the end of Part 3, we will be able to perform the following tasks:
- Preview the new resource - Testing using WebSphere Commerce Workspaces and Preview
This section of the tutorial focuses on using the WebSphere Commerce tools to make use of and preview our new resource using workspaces. The workspace administration tool is used to create a workspace, task group and task. The WebSphere Commerce Accelerator is used to work on a workspace task and create a new sales catalog. It is also used to preview the new sales catalog in the store.