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.
- 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.
- If you do not already have a src folder create one. Right-click WebSphereCommerceServerExtensionsLogic then select New / Source Folder.
- Open the src folder. Right-click the title, src, and select New > Package.
- In the New Java Package page, type com.mycompany.commerce.customization.catalog in the name field.
- Click Finish.
- Import all the required projects:
- Right-click WebSphereCommerceServerExtensionsLogic and select Properties
- In the Properties window select Java Build Path.
- Click the Libraries tab.
- Click Add External Jars.
- Browse to WCDE_installdir/workspace/WC
- Select Catalog-Client and Click Open.
- 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 - Click OK to close the Properties dialog.