Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

JavaEE API for WebLogic

There are different server specific JavaEE API implementations like: glassfish-javaee or jboss-javaee.
They are distributed as a separate .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?

like image 220
kardanov Avatar asked Jul 15 '26 07:07

kardanov


1 Answers

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/

like image 50
3 revsJeff West Avatar answered Jul 17 '26 21:07

3 revsJeff West



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!