I am in the process of figuring out which technology is the best out there between axis2 and jax-ws and one of the dimensions I am having issues with is ws-security and other related ws-* standards with jax-ws. Is there a way to encapsulate all the ws-* standards related features into jax-ws without installing the metro stack in an application server? In theory...I would like to take an .ear/.war file with web services(jax-ws) and ws-security (in particular) and deploy it on any application server at my disposal...is this possible?
"In theory, there is no difference between theory and practice. But, in practice, there is."<br /> - Jan L.A. van de Snepscheut
Joined: Mar 22, 2005
Axis 2 and Rampart (its WS-Security implementation) can easily be bundled as a web app. While Metro can run on any servlet container, it apparently requires a couple of jar files in a shared directory, instead of WEB-INF/lib. (At least that's what I glance from the installation instructions.) It may be worth a try to see of those can't be moved to WEB-INF/lib as well, though.