One of the major issues I have with my project using Struts2 and CXF is the single thread per request nature of Struts2 CXF seems to initialize the definition of WSDL into the memory per thread. For large WSDL file, it usually takes 10-15 seconds for a Xeon based server. I tried to use a for loop inside an Action of Struts2 to test the performance, the first call takes 15 seconds, subsequential calls takes 1 second. This is fine with Struts1 but not with Struts2 because each request is a seperate thread!
How could I solve this performance problem with Struts2 and CXF?
