Bookshelf Home | Contents | Index | PDF | ![]() ![]() |
Transports and Interfaces: Siebel Enterprise Application Integration > Integrating Siebel Business Applications with Java Applications > 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, these parameters can be taken from the siebel.properties file, which must be in the classpath of the Java Virtual Machine (JVM). These properties are read from siebel.properties at the time an instance of the generated business service class is created using that explicitly specifies siebel.properties, for example: Siebel_AccountBusServAdapter svc = new Siebel_AccountBusServAdapter("siebel.properties"); They can 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 GenericMethod in Table 22). This is the behavior when the default (no-argument) 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 | Copyright © 2011, Oracle and/or its affiliates. All rights reserved. Legal Notices. | |