REFLEX Logo

Enterprise RComponents Client Control (ActiveX/JavaBean)

[ Enterprise RComponents Client JavaBean | Enterprise RComponents Client ActiveX TLB | Visual Basic Enterprise RComponents Client ActiveX Demo ]
To ease the building of REFLEX Enterprise RComponent clients a custom component in the form of a JavaBean and ActiveX control (TLB) has been provided, details of which can be found below.

Enterprise RComponents Client JavaBean

This standard JavaBean provides access to RComponents via CORBA/IIOP through the EJB container using the REFLEX RComponent stateless session bean. This component is also available as an ActiveX TLB for use with Visual C++/Visual Basic (via the ActiveX bridge provided with the Java Plug-in). The bean exposes two properties, available via either ActiveX/Bean property sheets, enabling the component to communicate with the specified host address, and JNDI named component. After setting these properties an application using the JavaBean component can invoke (via IIOP) functionality on the RComponent. The JavaBean component also allows the user to get various information from RComponent's metalevel such as the current configuration and supported call interfaces.

For further information on the Enterprise RComponents Client JavaBean see the documentation.

The JavaBean is available in JAR form here.

Enterprise RComponents Client ActiveX TLB

The above JavaBean has been packaged as an ActiveX TLB (type library) using the Java plugin (version 1.3.1) beans.ocx control. Because of registry incompatibilities between versions we recommend installation of version 1.3.1. The control will not register correctly unless this version is installed. To use the control,
  1. Install the Java Plug-in 1.3.1
  2. Get the ZIP file containg the control
To use the control you must first extract the ZIP into a suitable directory, then register it by clicking on the "DistibREFLEXBean.reg" file to merge the control information into the Windows registry. You can then import the control into either Visual C++ or Visual Basic in the usual manner, setting its properties for host, and component before deployment. See the API for method detail. For re-distribution all files contained in this ZIP must be deployed with the application for successful installation to occur on a client machine.

Visual Basic Enterprise RComponents Client ActiveX Demo

A simple configuration monitor has been developed using Visual Basic and the Enterprise RComponents Client Control. The program monitors the state of the REFLEX Enterprise RComponents demo for the simple share pricing web service. To use the monitor on another component or host simply change the values in the interface.

To install the program,

  1. Install the Java Plug-in 1.3.1
  2. Get the ZIP file containg the application and unzip
  3. Click on setup.exe to install.
  4. Run the program from the start menu.
Note - You must use version 1.3.1 of the Java plug-in to run this program.

Source code is available here.