Show TOC Start of Content Area

Procedure documentation Importing the Support Classes to a Developer Studio Project  Locate the document in its SAP Library structure

Use

After you have generated the required support classes for the callback object, you must import them to the NetWeaver Developer Studio. You do this in a newly created project where you will develop all the necessary classes for the client side application.

Procedure

...

       1.      Create a new Java project in the Java Perspective of the Developer Studio by choosing File New Project from the main menu. Then choose Java Java Project and then choose Next.

       2.      Give the new project a name Client.

       3.      Choose Next to go to the next screen and set a classpath to the JAR files the client application needs.

       4.      From the New Java Project screen choose Libraries tab. Then:

                            a.      Choose Add JARs and then choose the UtilCallback.jar that appears on the new JAR Selection screen. Choose OK to add it to the project’s classpath.

                            b.      Choose Add External JARs. Browse to the <Developer_Studio_dir>\plugins\com.tssap.ext.libs.j2ee_1.3\lib directory and choose the ejb20.jar. Choose OK to add it to the project’s classpath, too.

This graphic is explained in the accompanying text

                            c.      Choose Finish.

After completing this step, you have the Client project created and the necessary JAR files added to its classpath. Now you can go on and import the support classes to this project.

       5.      In the Client project, create the examples.iiop package by accessing the context menu of the Client and choosing New Package.

       6.      Insert the callback object’s support classes that you have generated on the previous step to the examples.iiop package. To do that, use the Import function from the context menu for the examples.iiop package.

This graphic is explained in the accompanying text

Result

You have inserted the necessary classes in the Client project that the client-side application needs to manage the remote calls to the callback object.

This graphic is explained in the accompanying text

With this step completed, you can go on and implement the callback object and the UtilCallback bean’s remote client.

Next Step:

Implementing the Callback Object

 

End of Content Area