Please see my comments inline.
Thanks,
Raymond
--------------------------------------------------
From: "Wojtek Janiszewski" <[EMAIL PROTECTED]>
Sent: Wednesday, June 25, 2008 3:34 PM
To: <[email protected]>
Subject: Re: [jira] Updated: (TUSCANY-2397) Binding corba should use a
host-corba module
It looks clear for me now. So I assume that:
1. host-corba-? would be specific ORB providers
Yes.
2. host-corba would contain logic to bind object, unbind object, get
reference basing on ORB obtained from host-corba-?
Maybe it could just be responsible to create the ORB instance. Then we can
push more logic into the shared corba runtime.
3. JDK CORBA would be default. How would user declare usage of different
CORBA implementation (so usage of another host-corba-? module)?
It will be based on the META-INF/services/... file for the CorbaHost
registration. Only one host should be made available for discovery.
Could you also give me a tip where should I start to add this metadata to
map Java types to CORBA (the types are arrays, unions)?
You can experiment the annotation-based approach. But I would rather that
you get some integration scenarios working first as I described in the other
thread.
Thanks,
Wojtek
Raymond Feng wrote:
Yes, CORBA provides a way to plug in ORB implementations using
properties. How we want to expose these property configurations? I assume
the CorbaHost can provide the value of these properties or it can create
an ORB instance.
Thanks,
Raymond
--------------------------------------------------
From: "Wojtek Janiszewski" <[EMAIL PROTECTED]>
Sent: Wednesday, June 25, 2008 12:10 PM
To: <[email protected]>
Subject: Re: [jira] Updated: (TUSCANY-2397) Binding corba should use a
host-corba module
But custom CORBA implementations can be plugged just by adding some
properties, why can't we go that way? Do you mean that specific
host-corba modules would set those properties?
Thanks,
Wojtek
Raymond Feng wrote:
The main idea is to have the pluggability for different CORBA
providers.
For example,
We could have host-corba to define the SPIs for other CORBA providers,
then we could potentially have:
host-corba-jdk: Use the CORBA implementation shipped by the JDK
host-corba-yoko: Use Yoko ORB
Thanks,
Raymond