On Thu, Aug 21, 2008 at 5:12 PM, Nick @ Bigpond <[EMAIL PROTECTED]> wrote:

>  Simon,
>
>
>
> As I understand it, UDDI enables the run time discovery of services that
> satisfy an interface that has been specified at design time.
>
>
>
> In SCA terms, I'd looking for a binding that can locate and bind a
> reference to valid services at run time, based on a required interface and a
> service registry location.
>
>
>
> Thanks,
>
>
>
> Nick.
>
>
>
> *From:* Simon Laws [mailto:[EMAIL PROTECTED]
> *Sent:* Tuesday, 19 August 2008 5:38 PM
>
> *To:* [email protected]; [EMAIL PROTECTED]
> *Subject:* Re: New to Tuscany - Question about dynamic discovery.
>
>
>
>
>
> On Tue, Aug 19, 2008 at 2:33 AM, Nick @ Bigpond <[EMAIL PROTECTED]>
> wrote:
>
> Raymond,
>
> Thanks for the reply.
>
> What I'm actually looking for is a binding that enables the dynamic
> discovery of services at run-time via UDDI.
>
> Cheers,
>
> Nick.
>
>
>
> -----Original Message-----
> From: Raymond Feng [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, 19 August 2008 7:49 AM
> To: [email protected]; [EMAIL PROTECTED]
> Subject: Re: New to Tuscany - Question about dynamic discovery.
>
> Hi,
>
> Welcome to Tuscany!
>
> Can you elaborate more on your requirements? It's not very clear in your
> question. Are you looking the capability to wire a reference to services
> dynamically, some sort of routing/relaying component? For example,
> MortgageApproval component has a reference to CreditCheck and the service
> provider for CreditCheck is not known until runtime? A pseudo composite
> file
>
> may help.
>
> Thanks,
> Raymond
>
> From: Nick @ Bigpond
> Sent: Monday, August 18, 2008 1:29 AM
> To: [email protected]
> Subject: New to Tuscany - Question about dynamic discovery.
>
>
> Hi,
>
> Does Tuscany provide a binding that allows for the dynamic discovery of
> references?
>
> Thanks,
>
> Nick May.
>
>
> Hi Nick
>
> When you say "dynamic discovery of references" do you mean discovery of the
> references as a whole, including it's interface, based on some search of
> UDDI or do you mean that you already know about the referenced service but
> just want to find out the details of the physical endpoint, what URL to use?
> Or something else?
>
> Regards
>
> Simon
>

Hi Nick

We don't have any integration with registries like UDDI yet but I remember
that this topic has come up before [1]. A registry would help Tuscany
primarily in two scenarios;

1 - find external non-SCA services
2 - register services that Tuscany provides for non-SCA clients.

I guess a registry could also be used within an SCA domain to help with the
SCA wiring mechanics but this is an internal engineering case so maybe we
ignore this one just for now.

>From your note I expect you are primarily interested in scenario 1.
Integration would happen in a number of ways, for example, the domain
manager could  be extended to process unwired references for resolution via
a registry. Or a binding.uudi approach could be taken where the new binding
would take responsibility for doing the lookup. Have you had any thoughts
about how you think this should work?

For scenario 2. The domain support we have now exposes SCA configuration
artifacts (contributions and composites) as REST style artifacts via Atom
feeds. We didn't go as far as providing access to individual service info
via a REST interface. This could be done fairly easily if you were
interested in doing that. Also updating the domain manager to register
services that it knows about with UDDI would also be relatively
strightforward.

Regards

Simon

[1] http://www.mail-archive.com/[EMAIL PROTECTED]/msg02342.html

Reply via email to