title: First call to JAX-WS web service is too slow
body: <h2>Overview:</h2>
  <p>currently we have a web application with multiple module in it.
  We are using following technology stack</p>
  <ol>
  <li>JAX-WS</li>
  <li>Spring framework (except spring MVC)</li>
  <li>JSF</li>
  <li>Hibernate</li>
  </ol>
  <p><em><strong>Application Server:</strong></em> IBM Websphere 7.0 (Production), Apache Tomcat 7.0.X (Development)
  We are using JAX-WS annotations to mark a class as web service, beside this we don't use any JAXB annotation in Data Objects, we are leaving this task for ws runtime.</p>
  <h2>Problem statement:</h2>
  <p>Once we deploy application on Apache Tomcat, web service doesn't get published on AS.
  As a solution we need to add &quot;org.springframework.remoting.jaxws.SimpleJaxWsServiceExporter&quot; property in spring context file and then web service starts working perfectly. But when we deploy the application on WAS, web service gets publish without setting fore mentioned property. When we make first request to web service it respond slowly, during R&amp;D of this issue we found following things;</p>
  <ol>
  <li>IBM using AXIS2 Web service engine</li>
  <li>JAXB implementation load classes like <code>className_used_in_web_service_method$JaxbAccessorM_getFieldName_setFieldName_java_util_Set from: &lt;unknown&gt;</code> for all the classes in hierarchy. This only happen first time.
  We were trying to load these at application start-up time, but couldn't succeeded.
  Can anyone please help us to tackle this issue?</li>
  </ol>