!--a11y-->
Load Balancing of the SAP Web AS for Java
Applications 
The purpose of load balancing is to distribute inbound requests optimally to the available resources.
The SAP Web Application Server provides load balancing at various levels.
These are shown as (1) and (2) in the graphic below.

· Load Balancing Between Many SAP Web AS Instances (1)
You can also start a system with many Java
dispatchers, for which the
SAP Web Dispatcher
or a different load balancer is already activated as a Web switch.
This is
described in
Load Balancing Between
Many Java Instances.
· Load Balancing Within the SAP Web AS Instance (2)
In the
J2EE Instance
the
Java
Dispatcher distributes the inbound requests to the
Server Processes,
to which it is connected. The J2EE dispatcher runs the load balancing when the
first session request arrives. The dispatcher ensures that subsequent requests
get to the server process that is processing this session. For more
information see the following sections:
Load Balancing by the
Java Dispatcher
Load Balancing for
J2EE Web Applications
Registering Server
Processes for HTTP Load Balancing
