Monday 25 February 2013

WCS Development Environment



WebSphereCommerceServerExtensionsLogic --> project has extended java related code, it can be anything.
WebSphereCommerceServerExtensionsData --> This has EJB related code, if any new ejb module has to be developed, we have to do changes in this project
WC --> This project has configuration files, i.e., xml files, mediator files (BOD related) etc
Stores --> This project has all stores related .properties files (resource bundle), jsp, css, js, images, etc. If any of the stores are published using Accelerator - a folder of that store is created in this project.
Rest --> Rest relted code has to be written here.


WebSphere Commerce workspace

WebSphere Commerce Developer provides a fully configured workspace for Rational Application Developer.

Initially, the workspace exposes only those projects that are necessary for customization, namely:

WC
    This server project contains the WebSphere Commerce EAR file.
CommerceAccelerator
    The Web module for the WebSphere Commerce Accelerator. The WebSphere Commerce Accelerator tools can be customized by creating and modifying assets in this Web module.
LOBTools
    IBM Management Center for WebSphere Commerce adds this Web project. The Web project contains the Management Center assets; these assets can be customized.
OrganizationAdministration
    The Web module for the Organization Administration Console. The Organization Administration Console can be customized by creating and modifying assets in this Web module.
SiteAdministration
    The Web module for the Administration Console. The Administration Console can be customized by creating and modifying assets in this Web module.
Stores
    The Web module for WebSphere Commerce stores. Stores can be customized by creating and modifying assets in this Web module.
WebSphereCommerceServerExtensionsData
    This EJB module is used to create custom enterprise beans.
WebSphereCommerceServerExtensionsLogic
    This Java project is initially empty and is used to create new Java classes.
WebServicesRouter
    This Web module is initially empty and is used to store custom web services.

If necessary, other projects such as WebSphere Commerce EJB modules can be imported into the workspace and subsequently customized.
Note: When customizing existing WebSphere Commerce code, issues arise when applying WebSphere Commerce fix packs or migrating to a new release of WebSphere Commerce. To retain the changes you need to reapply your customizations after applying a fix pack or migrating to a new release of WebSphere Commerce.

To work on several development projects at a time, multiple workspaces can be created by installing WebSphere Commerce Developer multiple times.