Tutorials > Program model > Web services > Customize Web services and WebSphere Portal to support a new search
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
- 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.
- If you do not already have a src folder create one. Right-click WebSphereCommerceServerExtensionsLogic then select New > Folder.
- Open the src folder. Right-click the title, src, and select New > Package.
- In the New Java Package page, type com.mycompany.commerce.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_INSTALL/workspace/WC
- Select Catalog-Client and Click Open.
- 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
- Click OK to close the Properties dialog.