ORB Configuration
Introduction
An ORB makes it possible for CORBA objects to communicate with each other by connecting objects making requests (clients) with objects servicing requests (servers).
Java provides the ORB
class to obtain references to objects implemented anywhere on the network. The ORB class also provides "pluggable ORB implementation" APIs that allow another vendor's ORB implementation to be used.
To choose an orb implementation we have to specify standard java corba properties and how obtain a reference to the NameService.
Standard Java CORBA Properties
| Property Name | Property Value |
| org.omg.CORBA.ORBClass | class name of an ORB implementation |
| org.omg.CORBA.ORBSingletonClass | class name of the ORB returned by init() |
Reference to the NameService
We have to specify in the ORB implementation used how to obtain an initial object reference to the NameService.
If we use JACORB, we have to add a property named ORBInitRef.NameService in the wsdl file.
Here's an example of how to set all the informations needed for the JACORB implementation in the wsdl file:
<imolacorba:address name="<CORBA_SERVANT>" localizationType="<LOCALIZATION_TYPE>">
<imolacorba:orb>
<imolacorba:property name="org.omg.CORBA.ORBClass" value="org.jacorb.orb.ORB"/>
<imolacorba:property name="org.omg.CORBA.ORBSingletonClass" value="org.jacorb.orb.ORBSingleton"/>
<imolacorba:property name="ORBInitRef.NameService" value="corbaloc::localhost:1050/NameService"/>
</imolacorba:orb>
</imolacorba:address>
Using JacORB with GlassFishESB
The classes configured in the WSDL must be reacheable at runtime. For example, to use jacORB with GlassFishESB, the ORB libraries (with their dependencies) must be added to the lib/ext directory of the GlassFish domain.
- avalon-framework-4.1.5.jar
- idl.jar
- jacorb.jar
- logkit-1.2.jar
This page (revision-18) was last changed on
25-Jun-09 06:14 AM, -0700
by 213.174.165.189.
This page was created on
02-May-07 01:43 AM, -0700 by 213.174.165.188.
More info...
| Version |
Date |
Author |
Size |
Changes ... |
|
18
|
25-Jun-09 06:14 AM, -0700
|
213.174.165.189 |
2268 |
to previous
|
|
17
|
03-Apr-08 00:56 AM, -0700
|
213.174.165.189 |
1919 |
to previous
|
to last
|
|
16
|
01-Apr-08 05:58 AM, -0700
|
213.174.165.189 |
1940 |
to previous
|
to last
|
|
15
|
20-Aug-07 06:17 AM, -0700
|
213.174.165.188 |
2368 |
to previous
|
to last
|
|
14
|
02-May-07 05:54 AM, -0700
|
213.174.165.188 |
2186 |
to previous
|
to last
|
|
13
|
02-May-07 05:54 AM, -0700
|
213.174.165.188 |
2184 |
to previous
|
to last
|
|
12
|
02-May-07 05:54 AM, -0700
|
213.174.165.188 |
2184 |
to previous
|
to last
|
|
11
|
02-May-07 05:53 AM, -0700
|
213.174.165.188 |
2182 |
to previous
|
to last
|
|
10
|
02-May-07 04:07 AM, -0700
|
213.174.165.188 |
1615 |
to previous
|
to last
|
|
9
|
02-May-07 04:05 AM, -0700
|
213.174.165.188 |
1615 |
to previous
|
to last
|
|
8
|
02-May-07 03:52 AM, -0700
|
213.174.165.188 |
1610 |
to previous
|
to last
|
|
7
|
02-May-07 03:40 AM, -0700
|
213.174.165.188 |
1626 |
to previous
|
to last
|
|
6
|
02-May-07 03:39 AM, -0700
|
213.174.165.188 |
1628 |
to previous
|
to last
|
|
5
|
02-May-07 03:39 AM, -0700
|
213.174.165.188 |
1628 |
to previous
|
to last
|
|
4
|
02-May-07 03:31 AM, -0700
|
213.174.165.188 |
1659 |
to previous
|
to last
|
|
3
|
02-May-07 03:31 AM, -0700
|
213.174.165.188 |
1660 |
to previous
|
to last
|
|
2
|
02-May-07 02:06 AM, -0700
|
213.174.165.188 |
372 |
to previous
|
to last
|
|
1
|
02-May-07 01:43 AM, -0700
|
213.174.165.188 |
24 |
to last
|