Creating a Java Development Component

Use

Using this procedure, you create a Java development component (DC) project, in which you develop the callable object.

To be able to use the interfaces that Guided Procedures (GP) requires for background callable objects, you must also configure the project by adding the appropriate used DCs to it.

Prerequisites

The following DCs must be available in your development configuration:

  • caf/eu/gp/api

  • com.sap.exception

  • com.sap.security.api.sda

  • tc/logging

Procedure

  1. Open the Java Perspective of the SAP NetWeaver Developer Studio, and choose Start of the navigation pathFile Next navigation step New Next navigation step Project….End of the navigation path

  2. Select Start of the navigation pathDevelopment Component Next navigation step Development Component Project. Choose Next.End of the navigation path

  3. Select the software component where you want to create your DC. Choose Next .

  4. Enter a name for the development component – for example, bckg_co . Select the appropriate domain. For type, select Java . Choose Finish .

  5. Go to Start of the navigation pathWindow Next navigation step Show View  Next navigation step Other…  Next navigation step Java  Next navigation step JavaDCExplorer.End of the navigation path

    Expand the tree of the development component that you have created, select Start of the navigation pathDCMetaData Next navigation step DCDefinition Next navigation step Used DCsEnd of the navigation path , and open the context menu.

  6. Choose Add Used DC… .

    Browse your development configuration to select DC caf/eu/gp/api and its public part external .

    For dependency type select Build Time .

    Choose Finish .

  7. Repeat the previousstep to declare build-time dependencies to the following DCs:

    • com.sap.exception

    • com.sap.security.api.sda

    • tc/logging

Result

Your Java DC project is ready for development.

Go on with implementing the background callable object .