Bookshelf Home | Contents | Index | PDF |
Transports and Interfaces: Siebel Enterprise Application Integration > Integrating with Java > About Running the Java Data Bean > Connect String and Credentials for the SiebelDataBeanWhen using the SiebelDataBean directly, without any generated code, three arguments must be passed to the login method. A fourth argument, language code, is optional. The connect string has the following form: siebel:// siebel://mymachine:2321/mysiebelenterprise/SCCObjMgr_enu When using generated code, by default, these parameters are taken from the file siebel.properties, which must be in the classpath of the JVM. These properties are read from siebel.properties at the time an instance of the generated business service class is created using the parameterless constructor. They may be overridden by calling the methods setConnectString, setUserName, setPassword, and setLanguage any time prior to calling initialize() or invoking a business service method (such as mGenericMethod in Table 26). This is the behavior when the default (parameterless) constructor of the generated Java class is used. Alternatively, the generated class provides the following four constructors with arguments:
|
Transports and Interfaces: Siebel Enterprise Application Integration |