Spring WS web app deployment on different application servers

JEE libraries dependencies is one of the most delicate processes when configuring any web app deployment. Many developers include extra libraries, incoherent combinations of library versions or releases non approved for production environments due to lack of documentation or knowledge. Maven have contributed to make this process easier, however there is a long way to walk in this issue yet.

In the last years some services have been created to help with this dark task:

Below a sample configuration for a Spring WS web app with XWSS support on several application servers is exposed.

First of all, note that Spring’s application context file must declare SAAJ 1.3 usage to avoid application server dependencies problems.


  
    
  

Following WEB-INF/lib content by application server is required in order to achieve desired configuration.

Oracle Weblogic 10

Logging

Spring 2.0

Spring WS 1.0

XWSS 3.0

SUN Glassfish 2.1

It works with exactly the same configuration Weblogic 10 has. 

IBM WebSphere 6.1

Following libraries must be added to Weblogic 10 configuration.

JAXP 1.4.2

StAX 1.0

SAAJ 1.3.2

Apache Tomcat 6.0

Following libraries must be added to Weblogic 10 configuration.

Spring WS 1.0 (JDK 6 required libraries)

SAAJ 1.3.2

 

Final considerations

As it can be seen, every included library is identified by version and origin.

Responder

Introduce tus datos o haz clic en un icono para iniciar sesión:

Logo de WordPress.com

Estás comentando usando tu cuenta de WordPress.com. Cerrar sesión / Cambiar )

Imagen de Twitter

Estás comentando usando tu cuenta de Twitter. Cerrar sesión / Cambiar )

Foto de Facebook

Estás comentando usando tu cuenta de Facebook. Cerrar sesión / Cambiar )

Google+ photo

Estás comentando usando tu cuenta de Google+. Cerrar sesión / Cambiar )

Conectando a %s