Wednesday, February 18, 2009

Install and Configure Orbix

In this post i will discuss the environment variables to be set for the orbix to work fine at any time.
We will also discuss the step to create the IONA.property file.

As a first step download the latest version from IONA. The version i used is 6.3. After downloading the file click the asp.exe file and follow the onscreen options to complete the installation. Once you have installed we need to ensure that the following environment variables are set, so right click 'My Computer' and select 'properties' and then go to 'advanced' tab and select 'environment variables'. Add the following values if not found.

IT_LICENSE_FILE C:\Program Files\IONA\etc\licenses.txt

IT_PRODUCT_DIR C:\Program Files\IONA

IT_CONFIG_DIR C:\Program Files\IONA\etc

JAVA_HOME C:\Program Files\Java\jre1.6.0_07
(OR)
JAVA_HOME C:\Program Files\Java\jdk1.6.0_07\jre

PATH C:\Program Files\IONA\asp\6.3\bin;C:\Program Files\IONA\bin;C:\Program Files\Java\jdk1.6.0_07\jre\bin\server;C:\Program Files\Java\jdk1.6.0_07\bin

CLASSPATH C:\Program Files\IONA\lib\art\omg\1.3\omg.jar;C:\Program Files\IONA\lib\art\art\1.3\art.jar;C:\Program Files\IONA\etc\domains\sample\iona.properties

As a next step now create a iona.properties file in the location JDKHome/jre/lib with the following code

org.omg.CORBA.ORBClass=
com.iona.corba.art.artimpl.ORBImpl

org.omg.CORBA.ORBSingletonClass=
com.iona.corba.art.artimpl.ORBSingleton

Tools for Corba

Two best tools that i witnessed while starting to work on this standard for corba is visibroker and orbix. Both are product from Borland and IONA respectively. After a long troubled testing on both the tools i decided to work on orbix and hence any of the tutor on my blog will be related to orbix tools and its services. Both the vendor provide a period of time to evaluate the product. IONA will provide a license file at text file through email, once you have registered to them.

For more info on visibroker visit : Borland site
For more info on orbix visit : IONA

My First Project ! Working on Corba

CORBA is an open, standard solution for distributed object systems. You can use CORBA to describe your enterprise system in object-oriented terms, regardless of the platforms and technologies used to implement its different parts. CORBA objects communicate directly across a network using standard protocols, regardless of the programming languages used to create objects or the operating systems and platforms on which the objects run.

CORBA solutions are available for every common environment and are used to integrate applications written in C, C++, Java, Ada, Smalltalk, and COBOL, running on embedded systems, PCs, UNIX hosts, and mainframes. CORBA objects running in these environments can cooperate seamlessly. Through COMet, IONA’s dynamic bridge between CORBA and COM, they can also interoperate with COM objects.

For more information on corba visist the official site http://www.omg.org/