Overview
Prior to thisrelease, the weblogic.jar file could be bundled with a client application toprovide WebLogic Server specific value added features, such as:
- Enhanced JDBC and WLS specific JMX interfaces
- WLS T3 Client
- WLS-IIOP Client
For WebLogic Server10.0 and higher releases, client applications should use the wlfullclient.jarfile to provide the WebLogic Server specific functionary previously provided inthe weblogic.jar file. You can generate the wlfullclient.jar file for clientapplications using the JarBuilder tool. See Creatinga wlfullclient.jar File for a Client Application.
Note: |
Continuing to use weblogic.jar may result in a ClassNotFoundException. |
wlfullclient.jar生成方法
方法一:
- 進入weblogic的安裝目錄例如{wls_server}\wlserver_10.3\server\lib;
- 運行java -jar wljarbuilder.jar就能生成wlfullclient.jar文件 。
源文檔 <http://blog.csdn.net/magister_feng/article/details/7350016>
方法二:
Using the WebLogic JarBuilder Tool
Use the following steps to create a wlfullclient.jar file for a client application:
- Change directories to the server/lib directory.
cd WL_HOME/server/lib - Use the following command to create wlfullclient.jar in the server/lib directory:
java -jar ../../../modules/com.bea.core.jarbuilder_1.0.0.0.jar - You can now copy and bundle the wlfullclient.jar with client applications.
- Add the wlfullclient.jar to the client application's classpath.