开发者

JavaEE API for WebLogic

There are different server specific JavaEE API implementations like: glassfish-javaee or jboss-javaee.

They are distributed as a sep开发者_开发知识库arate .jar file and could be attached to some project using Maven dependencies.

Is there something like this desinged specifically for WebLogic AS?

I expected weblogic.jar file contains requered artifacts, but it doesn't look like this.

Any ideas?


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/

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜