REQUIREMENT client.cpp.orbix |
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 |
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.
# 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. |
||||||||
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