Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 1 About the TIBCO Object Service Broker System : Accessing TIBCO Object Service Broker from an External Environment

Accessing TIBCO Object Service Broker from an External Environment
What is an External Environment?
All programs and applications run on a specific operating system platform (an environment). Although written in different languages with different areas of focus, they are sustained by and commonly share the resources of the environment where they run.
TIBCO Object Service Broker is Open to Its External Environment
In a similar way, TIBCO Object Service Broker makes its data and resources available to those applications that can make use of Object Integration Gateway, the SDK (C/C++), SDK (Java), Telnet 3270, ODBC, or JDBC interfaces.
General Steps
For Telnet 3270
1.
2.
The user starts their Telnet 3270 Emulator program, supplying the name of the host where the active osMon resides and the number of the port where this osMon is listening.
3.
On the login screen that appears, they enter their user ID and password, and any session parameters that they want to have override those in session.prm.
4.
The Telnet 3270 Emulator program tells osMon, via Telnet 3270, that it wants to start a session and run the first rule. The client passes the session parameters to the osMon.
5.
6.
7.
8.
9.
10.
The user modifies text on the console and presses a PF key or Enter. Modified screen tables, along with the name of the PF key that the user pressed, are made available to the rule. The rule continues its execution after the DISPLAY statement.
11.
12.
Depending on the algorithm in the rule, step 7 to step 10 can be repeated any number of times.
For SDK (C/C++)
1.
2.
3.
The program requests a session startup by issuing a STARTSS SDK (C/C++) request, supplying session parameters that include the name of the Execution Environment to host the session.
4.
The SDK (C/C++) client tells osMon that it wants to start a session with the supplied session parameters.
5.
6.
7.
8.
9.
The program asks for a rule to be called by issuing a CALLRULE supplying a rule name, parameters, and optionally some commarea data.
10.
11.
12.
The program asks the session to stop the current transaction, committing or rolling back any changes made by the rule, by issuing a STOPTR call.
13.
14.
Steps #3. to #13. can be repeated any number of times according to the program algorithm. The order of these steps is not essential as long as it complies with basic SDK (C/C++) sequencing rules. Also, a program can work with any number of sessions at any time.
For SDK (Java)
1.
2.
3.
The program requests a session startup by creating a Session object using the second form of the Session constructor or by calling a start method on a previously created Session object, supplying session parameters that include the name of the Execution Environment to host the session.
4.
The SDK (Java) client tells osMon that it wants to start a session with the supplied session parameters.
5.
6.
7.
8.
9.
The program asks for a rule to be called by calling a call method supplying a rule name, parameters, and optionally some commarea data.
10.
11.
12.
The program asks the session to stop the current transaction, committing or rolling back any changes made by the rule, by issuing a stopTrans call.
13.
14.
Steps #3. to #13. can be repeated any number of times according to the program algorithm. The order of these steps is not essential as long as it complies with basic SDK (Java) sequencing rules. Also, a program can work with any number of sessions at any time.
For osBatch
Because osBatch embeds the functionality of osee, the osBatch execution flow is different from all other clients.
1.
The user starts osBatch, supplying a parameter string that includes Execution Environment parameters, including the name of the Data Object Broker to connect to, and session parameters, including the first rule name.
2.
3.
4.
5.
6.
7.

Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved