We have a JAVA application which uses JSF framework in the front-end(xhtml pages) and SOAP web services in the backend. To consume the SOAP webservice I am using wsimport tool*(JAX-WS portable artifacts)*.
Now the application is hosted in a clustered environment. Request is sent to the Apache load balancing server which in turn call the two app servers(Where the application is deployed) each having five instances.
The performance is good when up to 10-15 users access the application simultaneously. But, when the number of users increases for example 20-25 users, The response time of the application is very slow. The SOAP response is very quick but the application could not handle the huge data load.
Can anyone advice how to handle this and improve the application's performance.