Search code examples
javaweblogicshared-librarieswarjdeveloper

How to Deploy Java EE Project which reference external JAR files in weblogic


I have a web application which consist of JSP pages, Servlet and Consumes Web Services. It also references apache axis and excel libraries. Now I want to deploy my application directly in Weblogic server How do i do that.Whcih archive shud i make WAR or JAR?? ALso how to ensures that it covers all the referenced libraries. I have made my application in Jdeveloper, but I dont want to deploy it using Jdevelper..


Solution

  • I would package my solution as a .war file, containing all dependent .jar files.

    That way your solution is self-contained. You can deploy to an app server containing other apps with their own versions of your libraries (dependent or developed). If you put the dependent jars directly into the app server (as you can do), then you're forcing those versions on all applications deployed, and that could well cause you grief.

    The downside is that your developed .war file can become sizable. It's not normally a major problem, and I wouldn't worry about it until it's identified as an issue.