Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Wiki Markup
{excerpt:hidden=true}Explains why are there two Pax Web artifacts.{excerpt}

{ops4j-style-page}

[Pax Web] comes in two flavors starting Starting with [version 0.47.0:
* pax-web-service
* pax-web-bundle

h4. pax-web-bundle
This artifact is the actual implementation of Pax Web and does not embed any required external packages from Jetty or Servlet API. It is useful to use this artifact when you want to be able to use a Jetty/Servlet version other then the one embed with pax-web-service (see bellow).

Released artifacts are available at [http://repository.ops4j.org/maven2/org/ops4j/pax/web/pax-web-bundle/].
You can provision pax-web-bundle via [paxrunner:Pax Runner]:
{code}
pax-run mvn:org.ops4j.pax.web/pax-web-bundle mvn:org.mortbay.jetty/jetty/6.1.7 mvn:org.mortbay.jetty/jetty-util/6.1.7 mvn:org.mortbay.jetty/servlet-api-2.5/6.1.7
{code}
You can see that you have to provision also jetty and Servlet API bundles (in this example version 6.1.7).

h4. pax-web-service
This artifact is a convenience bundle that embeds the artifacts required by Pax Web (Jetty and Servlet API), so you can deploy only one bundle instead of 4 (Pax Web requires Jetty, Jetty Utils and Servlet API). The packages of embedded artifacts are also exported as you may need them. 

Released artifacts are available at [http://repository.ops4j.org/maven2/org/ops4j/pax/web/pax-web-service/].
You can provision pax-web-service via [paxrunner:Pax Runner]:
{code}
pax-run mvn:org.ops4j.pax.web/pax-web-service
{code}
As you can see that no Jetty / Servlet API bundles are required.|Pax Web - 0.7.0] had been refactored into more artifacts (bundles0 in order to provide better modularity. Also, additional bundles are present due to merging of Pax Web Extender.

h1. pax-web-api
This artifact contains Pax Web API which are the classes that are added in [extension to standard HTTP Service|Http Service Extensions]. This is the only artifact you should depend, at compile time, if you are in need of Pax Web extensions.

h1. pax-web-spi
(/) TODO

h1. pax-web-runtime
(/) TODO

h1. pax-web-jsp
(/) TODO

h1. pax-web-jetty
(/) TODO

h1. pax-web-jetty-bundle
(/) TODO

h1. pax-web-extender-war
(/) TODO

h1. pax-web-extender-whiteboard
(/) TODO