Websphere 具有共享库功能。将您的 jar 添加到共享库中,然后使用 websphere 管理控制台将该库添加到您的应用程序中。
Using shared libraries at the application level
To define a shared library named VersionCheckerV2_SharedLib and associate it
to our ClassloaderTest application, do the following steps:
1. In the administrative console, select Environment → Shared Libraries.
2. Select the scope at which you want this shared library to be defined, such as
Cell, and click New
添加
Select Applications → Application Types→ WebSphere enterprise
applications.
6. Select the ClassloadersExample application.
7. In References, select Shared library references.
8. Select AppName in the Application row.
9. Click Reference shared libraries.
10.Select the VersionCheckerV2_SharedLib and click the >> button to move it
to the Selected column
用于shared library
此任务。使用本书作为指导。