Tutorials > Program model > Web services > Customize Web services and WebSphere Portal to support a new search

< Previous | Next >


Create the project structure in the WebSphere Commerce development environment

In this step we will create the project structure to be used in WebSphere Commerce Developer.


Procedure

  1. In the WebSphere Commerce development environment we will find a project named WebSphereCommerceServerExtensionsLogic located in the Enterprise Explorer view from the Java EE perspective. Open this project by double clicking on it.

  2. If you do not already have a src folder create one. Right-click WebSphereCommerceServerExtensionsLogic then select New > Folder.

  3. Open the src folder. Right-click the title, src, and select New > Package.

  4. In the New Java Package page, type com.mycompany.commerce.catalog in the name field.

  5. Click Finish.

  6. Import all the required projects:

    1. Right-click WebSphereCommerceServerExtensionsLogic and select Properties

    2. In the Properties window select Java Build Path.

    3. Click the Libraries tab.

    4. Click Add External Jars.

    5. Browse to WCDE_INSTALL/workspace/WC

    6. Select Catalog-Client and Click Open.

    7. Repeat steps d through f for the following external JAR files:

      Jar Directory
      Catalog-DataObjects WCDE_INSTALL/workspace/WC
      Catalog-Server WCDE_INSTALL/wc.modules/ejbs/cloudscape
      Foundation-Core WCDE_INSTALL/workspace/WC
      Foundation-DataObjects WCDE_INSTALL/workspace/WC
      Foundation-Server WCDE_INSTALL/workspace/WC

    8. Click OK to close the Properties dialog.

< Previous | Next >


+

Search Tips   |   Advanced Search