In the previous recipe, the
default work manager was created to limit the concurrency of all applications deployed in the PROD_Cluster cluster.
In this recipe, a new custom work manager
myWebServiceWM will be created, with a maximum thread constraint named
myWebServiceMaxThreads, configured with 20, and a capacity constraint of 20 as well.
myWebServiceWM will be associated with the
myWebService.war application so only the concurrency for the requests of this application will be limited to 20 threads per Managed Server.
The work manager will be defined in the Administration Console. The application also must update a descriptor in order to be associated with the ...