XWSS 2.0 EA2 performance optimizations
As I mentioned XWSS 2.0 EA2 has significant performance improvements when compared to XWSS 1.X releases. Integration of JAXWS 2.0 and XWSS 2.0 is written to perform optimized security processing. XWSS 2.0 EA2 analyses supplied security configuration file to check what level of optimization can be performed. To take advantage of maximum level of optimization one must set optimize attribute on JAXRPCSecurity element to true.
<xwss:JAXRPCSecurity xmlns:xwss="http://java.sun.com/xml/ns/xwss/config" optimize="true">
<xwss:Service>
<xwss:SecurityConfiguration >
<xwss:Sign/>
....
....
</xwss:SecurityConfiguration>
</xwss:Service>
<xwss:SecurityEnvironmentHandler>
sample.SecurityEnvironmentHandler
</xwss:SecurityEnvironmentHandler>
</xwss:JAXRPCSecurity>
I have observed very good results for couple of message level security scenarios. If you are just doing UsernameToken authentication I would strongly recommend you to give it a try.
Let us know if you find any issues , we will try to fix them.