冰镇可乐 发表于 2017-2-15 07:27:51

WebLogic 10.3 JarBuilder工具使用

  在使用Tomcat或者其他客户端调用weblogic ejb时,必须依赖于众多的weblogic jar才能,weblogic提供了一个JarBuilder工具来解决这个问题,通过以下方式,生成wlfullclient.jar后,将该包拷贝到对应的classpath下即可,例如war的web-inf/lib下。
  生成JDK1.6的client:
  cd WL_HOME/server/lib
  java -jar wljarbuilder.jar
  将在WL_HOME/server/lib下生成wlfullclient.jar
  对应JDK1.5,执行命令需要更改为,其他相同:
  java -jar wljarbuilder.jar -profile wlfullclient5
  其他参考:
  集成maven和weblogic
  Weblogic (10.3) and Maven Integration – Part 1
http://www.blogwitter.com/2009/08/29/weblogic-10-3-and-maven-integration-3-2/
  Weblogic (10.3) and Maven Integration – Part 2 (t3 admin channel)
  http://www.blogwitter.com/2009/08/24/weblogic-10-3-creating-t3-admin-channel/
  以上两篇篇幅比较长,高手一点的看一下一篇即可明白:
  Remote Deploy to Weblogic 10.3 with the Weblogic-Maven-Plugin and JDK 1.6
  http://old.nabble.com/Solved%3A-Remote-Deploy-to-Weblogic-10.3-with-the-Weblogic-Maven-Plugin-and-JDK-1.6-td23585919.html
页: [1]
查看完整版本: WebLogic 10.3 JarBuilder工具使用