在netweaver中创建应用程序客户端
用途
In the SAP NetWeaver Developer Studio, you create application client components using Application Client 5 Projects. It helps you organize the components of the application client, and its deployment descriptors.
步骤
Creating an Application Client 5 Project
...
1. Choose File → New → Project → J2EE → Application Client Project 5.
2. Specify the project name and location.
3. Optionally, you can add the project to an Enterprise Application Project by choosing the Add project to an EAR option.
You can always add the project to an Enterprise Application Project later.
4. Choose Finish.
Adding Native Libraries to the Connector
...
1. Select the appClientModule folder of the Application Client Project in the Project Explorer.
2. In the context menu, choose Properties → Native Library.
3. In Location path, specify the directory where the native libraries are located.
Use External Folder if the libraries are located outside the Developer Studio.
Use Workspace if their location is within the Developer Studio workspace.
4. Choose OK.
Editing the Deployment Descriptors
...
1. In the appClientModule/META-INF directory of the Application Client Project, select the relevant deployment descriptor in the Project Explorer.
2. Choose Open with → XML Editor in the context menu.
3. Using the context menu of the XML Editor, add the necessary elements to the descriptor, and save the changes.
结果
If you have not already done so, you can add the Application Client Project to an Enterprise Application Project. In this way, the application client will become part of the enterprise application EAR file.