17.2. WLM

Workload Management (WLM) is the primary mechanism for load-distribution of requests directed at EJBs. In a simple, non-load-balanced EJB in WebSphere, each client of the bean holds a stub that contains a CORBA reference to the corresponding bean on the server. Whenever the client invokes an operation on that bean, the request is simply forwarded to the server object associated with that CORBA reference. Note that the client can be a stand-alone Java program using RMI/IIOP, a servlet operating within a WebSphere servlet engine, or another EJB.

When using the WLM facility, the simple client stub is augmented by a smart stub that contains a collection of CORBA references to multiple instances of the same bean in different servers. Whenever ...

Get WebSphere V3.5 Handbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.