Connecting Apama Applications to External Components > Developing Custom Clients > The EngineClient API > The Java EngineClient API > Overview of the EngineClientBean > Recommended usage
Recommended usage
The recommended way of using the EngineClient Bean is as follows
1. Call the default constructor of the bean (the one with no parameters)
2. Call setHost() to set the host on which the remote correlator is running
3. Call setPort() to set the port on which to contact the remote correlator
4. Call connectNow() or any other method which creates a connection to the remote correlator. All the specialized operations listed in the following sections will create a connection if one does not already exist when they are called.
Copyright © 2013-2015 Software AG, Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.
Use, reproduction, transfer, publication or disclosure is prohibited except as specifically provided for in your License Agreement with Software AG.