1. How you dump the Orbix configuration?

To get all the Orbix configuration for a domain, run the following command:
itadmin config dump
This will work in both CFR and file based domains.

The output will look something like:
★ plugins:it_arm_interceptors:shlib_name = "it_arm_interceptors"
★ plugins:itrp:shlib_name = "it_itrp"
★ plugins:itrp:live_time = "2"
★ plugins:it_mbean_monitoring:shlib_name = "it_mbean_monitoring"
★ plugins:it_mbean_monitoring:ClassName = "com.iona.management.logging.mbean_monitoring.MBeanMonitoringPlugIn"
★ plugins:basic_codeset:shlib_name = "it_basic_codeset"
★ plugins:basic_codeset:ClassName = "com.iona.corba.codeset.BasicCodeSetPlugIn"
★ plugins:iiop_tls:ClassName = "com.iona.corba.iiop.tls.IIOPTLSPlugIn"
★ plugins:iiop_tls:shlib_name = "it_iiop_tls"

2. Are Orbix 6 libraries thread safe?

Orbix 5 and Orbix 6 is designed to write multi-threaded (and single threaded) application from the ground up. However, the following describes in more details about Orbix thread safety:
All Orbix library public APIs are thread safe.
Per CORBA specification, add_ref/remove_ref operations in the idl generated code is thread safe.

Regarding the rest of the generated code, Orbix IDL -> C++ code generator generates mappings for user-defined IDL types, as well as client-side proxy invocation code (-base switch) and server-side servant dispatch code (-poa switch). The client-side invocation code and server-side dispatch code are thread-safe. The mappings generated for user-defined IDL types are not thread safe for concurrent modification but are thread-safe for concurrent reads.

3. How to change the port of the Orbix Notification Service?

Yes, the port of the Orbix Notification service can be changed easily during the Orbix domain deployment process. Running itconfigure in expert mode allows you to change the IIOP port of the Orbix Notification Service. For further information please see the chapter "Creating a Domain in Expert Mode" in the Orbix Deployment Guide and the chapter "Managing the Notification Service" in the Enterprise Messaging Guide.

4. How you can retrieve the local IP address on client side within an interceptor?

OAccessing the local address on the client-side, e.g. in an interceptor can be achieved by using the following code:

CORBA::Object_var obj = orb->resolve_initial_references("IT_IPTransport");
if (CORBA::is_nil(obj))
{
self_addr = (const char*) 0;
return;
}
IT_ATLI2_IP::IPTransport_ptr ip_transport = IT_ATLI2_IP::IPTransport::_narrow(obj);

if (CORBA::is_nil(ip_transport))
{
self_addr = (const char*) 0;
return;
}

CORBA::String_var hostname = ip_transport->local_node_name();
IT_ATLI2_IP::IPAddressSeq_var ip_addresses =
ip_transport->name_to_addresses(
hostname,
0,
IT_ATLI2_IP::PROTOCOL_TCP,
IT_UtcT::never()
);
IT_ATLI2_IP::IPAddress_var ip_address = ip_addresses[0];
self_addr = ip_address->node_literal();

5. Can a client use jdk orb to communicate with Orbix domain?

As SUN's ORB runtime cannot be used with Orbix applications, configure the JDK to use the Orbix ORB runtime instead by setting system properties org.omg.CORBA.ORBClass and org.omg.CORBA.ORBSingletonClass to the appropriate values.

6. What do you recommended for clients using the JDK ORB?

As SUN's ORB runtime cannot be used with Orbix applications, configure the JDK to use the Orbix ORB runtime instead by setting system properties org.omg.CORBA.ORBClass and org.omg.CORBA.ORBSingletonClass to the appropriate values.

7. How to set the ORB properties?

The ORB properties can be set in one of the following ways:
★ Using the iona.properties file
★ Using Java interpreter arguments

8. How you can access to Cobra objects in Orbix?

Clients can locate CORBA objects through the OrbixNames, which is Orbix's implementation of the CORBA Naming Service.
"OrbixNames allows you to set up groups of objects that can provide particular services to a client. When a client requests an object from a group, OrbixNames selects an object using a random or a round-robin load-balancing algorithm. You choose the algorithm associated with each group".

9. How you can access to CORBA objects in Orbix?

Clients can locate CORBA objects through the OrbixNames, which is Orbix's implementation of the CORBA Naming Service.
"OrbixNames allows you to set up groups of objects that can provide particular services to a client. When a client requests an object from a group, OrbixNames selects an object using a random or a round-robin load-balancing algorithm. You choose the algorithm associated with each group".

10. How we can access to CORBA objects in Orbix?

Clients can locate CORBA objects through the OrbixNames, which is Orbix's implementation of the CORBA Naming Service.
"OrbixNames allows you to set up groups of objects that can provide particular services to a client. When a client requests an object from a group, OrbixNames selects an object using a random or a round-robin load-balancing algorithm. You choose the algorithm associated with each group".

Download Interview PDF