JavaEE API for WebLogic

好久不见. 提交于 2019-12-01 23:15:33
Jeff West

Ideally you would want to use the javaee-api dependency, not something that is server specific. For the things that are server-specific (not core EE API) then you could include weblogic.jar or use the utilities with WebLogic to create the WLFullClient.jar file.

Java EE 5:

<dependency>
    <groupId>javaee</groupId>
    <artifactId>javaee-api</artifactId>
    <version>5</version>
    <scope>provided</scope>
</dependency>

Java EE 6:

<dependency>
  <groupId>javax</groupId>
  <artifactId>javaee-api</artifactId>
  <version>6.0</version>
  <scope>provided</scope>
</dependency>

More info here: http://www.xinotes.org/notes/note/591/

UPDATE: I would suggest reading this information about client JAR files: http://download.oracle.com/docs/cd/E12840_01/wls/docs103/client/basics.html

You may also be interested in the WebLogic Maven Plugin. Here is a YouTube video describing how to use it: http://www.youtube.com/watch?v=GcwcGtz0dyc

...and the example project with Maven here: https://www.samplecode.oracle.com/sf/projects/oracle-parcel-svc/

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!