XmlBlaster Logo

REQUIREMENT

client.cpp.orbix

XmlBlaster Logo


Type NEW
Priority LOW
Status CLOSED
Topic C++ clients can access xmlBlaster with the ORBIX Corba library
Des
cription

There is support for ORBIX to access xmlBlaster from CORBA clients.

Support was developed against ORBIX ASP 5.1. Other ORBIX versions should work as well. Make sure to follow the ORBIX installation instructions.

Configure
Property Default / Example Description Implemented
- - - yes

To compile you can use the xmlBlaster/build.xml file.

Please take a copy from xmlBlaster/build.properties into your home directory (it has precedence there) and adjust the path settings to find CORBA and the XML parser. Example:

#------------------------------------------------------------------------------
# C++ SunOS 5.8 sparc example with Orbix ASP 5.1 with OMNITHREAD
# compiled with CC: Forte Developer 7 C++ 5.4 2002/03/09
use-CC        = 1
CORBACPP_HOME = /opt/iona
corba.product = ORBIX
CORBACPP_VER  = asp/5.1
thread.impl   = OMNITHREAD
CXX           =
#------------------------------------------------------------------------------
      

Compile it with ant:

cd xmlBlaster
build -verbose cpp

This creates:
   xmlBlaster/lib/libmlBlasterClient.so
and some test clients in
   xmlBlaster/demo/c++/bin
   xmlBlaster/testsuite/src/c++/bin
      

After compilation please set the environment that the C++ test clients can find the shared libraries.
With Windows you should add all directories containing dll libraries to your path setting.
On Linux and Solaris the shared library path is burned into the executable so you need to set LD_LIBRARY_PATH only when you move libraries to other locations (try ldd TestGet).
Set the ORBIX specific environment settings:

# Example for sh, ksh or bash on UNIX
cd /opt/xmlBlaster/demo/c++/bin
. /opt/iona/etc/bin/XXX_env
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/xmlBlaster/lib:/opt/xerces-c1_6_0/lib

# Start xmlBlaster server somewhere and try a C++ client:
cd xmlBlaster/demo/c++/bin
HelloWorld2
     

NOTE: Configuration parameters are specified on command line (-someValue 17) or in the xmlBlaster.properties file (someValue=17). See requirement "util.property" for details.
Columns named Impl tells you if the feature is implemented.
Columns named Hot tells you if the configuration is changeable in hot operation.

Todo

Testsuite is missing.

See http://www.iona.com
See http://www.xmlblaster.org/xmlBlaster/doc/doxygen/c++/namespaces.html
See REQ client.cpp
See REQ client.cpp.compile

This page is generated from the requirement XML file xmlBlaster/doc/requirements/client.cpp.orbix.xml

Back to overview