How to Design Your Application Server
To minimize the overhead required to make connections on behalf of global transactions, you should group transactions that require access to the same databases into application servers. For example, if the “display_employees” and “print_employees” services require access to the “employees” database, and the “process_payroll” and “process_raises” services require access to both the “employees” database and the “accounting” database, design your application servers as shown in the following diagram: