Accessing the Siebel Java Data Bean
A Java client that uses the Siebel Java Data Bean to connect to the Siebel Server requires JAR files. These files allow the Java language to access the objects and methods of the Siebel Object Interface. These files are specific to the version of the Siebel application. Do not use these JAR files with other versions. For more information, see About the Siebel Java Data Bean Object Interface.
To access the Siebel Java Data Bean
Add the following JAR files to the CLASSPATH:
Siebel.jar
SiebelJI_lang.jar
To install the Siebel Java Data Bean interface, do one of the following:
Use the Siebel Enterprise Server installer. Make sure the EAI Connector option contains a check mark. For more information, see the Siebel Installation Guide.
Install Siebel Tools. The Siebel Tools installer installs the Siebel Java Data Bean interface by default when you install Siebel Tools.
Start a new SiebelDataBean Java object.
-
To call the Login method for the object you started in the preceding step, use the following code:
SiebelDataBean l_sdb = new SiebelDataBean(); l_sdb.login(<parameters>);
You must use the Login method. You cannot use an object interface method that returns an active Siebel object because no Siebel objects are currently active. You must use your own Siebel objects. For more information, see step 2 in Accessing the Siebel COM Interface.