Tutorial: Customizing 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.

  1. In your WebSphere Commerce development environment you will find a project named WebSphereCommerceServerExtensionsLogic located in the Package Explorer under Other Projects from the J2EE 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 / Source 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.customization.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_installdir/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_installdir/workspace/WC
      Catalog-Server WCDE_installdir/wc.modules/ejbs/cloudscape
      Foundation-Core WCDE_installdir/workspace/WC
      Foundation-DataObjects WCDE_installdir/workspace/WC
      Foundation-Server WCDE_installdir/workspace/WC

    8. Click OK to close the Properties dialog.

< Previous | Next >