I know there are some requirement we need to keep in mind whether to deploy an application as EAR but I would like to understand what are all the advantages of deploying Pega as war moreover where can I find information on how it is deployed
EAR is supported by J2EE compliant servers like Websphere, JBoss and weblogic.
Functionawise the biggest advantage is the Transaction processing (i.e ability to do 2 phase commit) and use of Message driven beans (MDB) for asynchronopus communication. Other than that resource like Java Thread and connection pooling are handled and optimzed by these application servers. In some appservers you can also configure resources (memory, threads) and monitor performance based on your requirment. Clustering is another advantage, which comes not from EAR file but due to the App Servers which supports these EAR deployments.