Broker 10.15 | webMethods Broker Documentation | webMethods Broker Client Java API Programmer's Guide | Using Broker Clients | Creating and Destroying Broker Clients | Using Several Broker Clients
 
Using Several Broker Clients
You might find that a number of programming situations are made easier by creating several Broker clients within a single application.
*If your application has several phases of operation, you can use a separate client to represent each phase.
*Because different Broker clients can belong to distinct client groups, they can subscribe to and publish different event types. You can use this feature to divide the work your application needs to perform.
*A multi-threaded application can spawn separate threads for each Broker client, which can result in a cleaner programming model.