[Fwd: Components interoperability]

View: New views
2 Messages — Rating Filter:   Alert me  

[Fwd: Components interoperability]

by Hakim SOUAMI :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



Hi,
>Hello all,
>
>can anybody enlighten me on the following issues?
>
>1. Java-CCM -- C++CCM interoperability :
>Is it possible to ensure interoperability between a component developed and 
>executed with a C++ CCM (e.g. CARDAMOM based on TAO) and a component 
>developed and executed within a Java-based CCM (e.g. openCCM based on JacORB) 

Yes. CARDAMOM CCM supports both C++ components on TAO and Java components on JacORB. Both Java and C++ components are interoperable.


>?
>
>2. CIAO-CARDAMOM Interoperability: 
>is it possible for two components, one developed and executed in the OMG 
>Corba Component implementation CARDAMOM framework, communicate with a 
>component developed and executed with CIAO, which is a Lightweight CCM 
>implementation?
We didn't test this; but this should communicate correctly using IIOP (TAO's default protocol).

>
>3. Java components hosting:
>CARDAMOM  supports C++ components. Can it also host Java corba components 
>(for example based on JacORB, which is able to interoperate with TAO)?
>is there any sort of strategy to develop Java components in the Cardamom 
>framework?
CARDAMOM already provides a Java container on JacORB. There is a demo in ProdTests/demos/demo_ccm/java.


>
>Thanks for your help
>Ciao
>
>Giovanni Scotti

Cheers,

Hakim



--
You receive this message as a subscriber of the cardamom-users@... mailing list.
To unsubscribe: mailto:cardamom-users-unsubscribe@...
For general help: mailto:sympa@...?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws

Re: CCM and ORB scopes

by Hakim SOUAMI :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

CCM comes with a container that hides access to the ORB/POA for the
component.
There is a standard API (local IDL interfaces) for the component to
access container services.
Appart from already standardised container services (transaction, event,
security and persistence), components can still access std CORBA object
services through the CCM Deployment tool either as a configuration
attribute through property files; or as a required service (receptable)
in which cas you have to provide in the assembly file (.cad) a corbaloc
url/stringified object reference ... etc.

There still a problem with the current standard to access local services
that provide 'local IDL interfaces'. The deployment tool cannot send the
object references over the wire since these local IDL! components cannot
get them through the ORB::resolve_initial_references() since components
have no access to it!
There is another CORBA Spec called 'QoS for CCM' that extends the
container to enable standard retrieval of new services...

In the meantime, CARDAMOM extended the CCMContext interface to provide
such functionality :
 /**
     * A CDMW-specific CCMContext with access to container service.
     * Base interface for all generated ccmcif context
     */
    local interface CCMContextExt : Components::CCMContext
    {  
        /**
         * Service Identifier used by get_service.
         */
        typedef string ServiceId;
       
        /**
         * Exception raised by get_service when a service identifier is
unknown.
         */
        exception ServiceUnavailable{};

        /**
         * Returns the reference of the specified service.
         *
         *@param identifier string that identify the service whose
reference is required.
         *
         *@return a reference of the specified service.
         *
         *@exception ServiceUnavalaible if the specified reference is
not available.
         */
         Object
         get_service(in ServiceId identifier)
            raises (ServiceUnavailable);

    };

The get_service() operation will not references for the following
services: "RootPOA",  "POACurrent",  "ORBPolicyManager",
"PolicyCurrent", "PICurrent".


Cheers,

Hakim


---------------------------------------------------------
 >
 >
 >Hello all,
 >
 >I have some problems understanding the separation of scopes between a CCM
 >implementation (e.g Cardamom) and the ORB the CCM is based on (e.g TAO).
 >
 >I understand the CCM adds features/services on top of the ORBs
beneath. Is it
 >true that any CORBA service provided by the ORBs is automatically
supported
 >also by the CCM ?
 >
 >Are CCM and ORB complementary?
 >
 >
 >Thanks for your help
 >Ciao
 >
 >Giovanni Scotti



--
You receive this message as a subscriber of the cardamom-users@... mailing list.
To unsubscribe: mailto:cardamom-users-unsubscribe@...
For general help: mailto:sympa@...?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
LightInTheBox - Buy quality products at wholesale price!