Using CORBA Server-to-Server Communication

     Previous  Next    Open TOC in new window  Open Index in new window  View as PDF - New Window  Get Adobe Reader - New Window
Content starts here

Java Joint Client/Server Applications

This topic includes the following sections:

Notes: The BEA Tuxedo CORBA Java client and BEA Tuxedo CORBA Java client ORB were deprecated in Tuxedo 8.1 and are no longer supported. All BEA Tuxedo CORBA Java client and BEA Tuxedo CORBA Java client ORB text references, associated code samples, should only be used to help implement/run third party Java ORB libraries, and for programmer reference only.
Note: Technical support for third party CORBA Java ORBs should be provided by their respective vendors. BEA Tuxedo does not provide any technical support or documentation for third party CORBA Java ORBs.

 


Development Process

Table 3-1 outlines the development process for Java joint client/server applications.

Table 3-1 Development Process for Java Joint Client/Server Applications
Step
Description
1
Write the OMG IDL for the callback interface and the CORBA interfaces you want to use in your BEA Tuxedo application.
2
Generate the skeletons and client stubs.
3
Write the methods that implement the operations for each interface.
4
Initialize the ORB.
5
Write the client main portion of the joint client/server application.
6
Create a callback object using the Callbacks Wrapper object.
7
Establish communication with an ISH.
8
Invoke operations on the BEA Tuxedo object by passing an object reference for the callback object.
9
Specify configuration information.
10
Compile the joint client/server application.

Because the callback object in a joint client/server application is not transactional and has no object management capabilities, you do not need to create a Server Description File (filename.xml) for it. However, you still need to create a Server Description File for the BEA Tuxedo objects in your BEA Tuxedo application.

 


Support for Joint Client/Server Applications

Notes: Release 8.0 of the CORBA environment of the BEA Tuxedo product does not support Java servers. Support for Java servers was included in versions 5.0 and 5.1 of the BEA WebLogic Enterprise product. That support was removed when BEA WebLogic Enterprise was merged with BEA Tuxedo in release 8.0.

An implementation of a joint client/server employs a callback object. Figure 3-1 illustrates the concept of a joint client/server application using a callback object.

Figure 3-1 The Concept of a Joint Client/Server Application

The Concept of a Joint Client/Server Application

For a complete example of a joint client/server application, see Chapter 6, "Building the Advanced Sample Application," in Using the CORBA Notification Service. The subscriber component in the Advanced sample application implements a joint client/server application.


  Back to Top       Previous  Next