On Mon, Jun 22, 2009 at 1:15 PM, Simon Laws<[email protected]> wrote:

>> 3) We need to map it to an absolute WS URI when it publishes to the endpoint
>> registry (Simon already mentioned that we need to have base URIs for a given
>> node. For the moment, we can just use http://localhost:8080/ as the default)
>> so that the client side sees the physical URI of the remote endpoint.
>
> Right, this is the point about passing default binding information
> into the binding URI calculation. Can we have a node configuration
> file for this kind of info. I'm not suggesting that we use a composite
> file as we do currently in the 1.x domain manager. but a specific XML
> file for configuring the node. Could contain.
>
> node configuration info (if not provided on command line)
> default binding information
> pointer to (or nested) composite file to describe management services
> that node provides (future feature)
>

This is a piece that has never worked very well in past domain
attempts, because the http host and port is environment dependent and
quite variable and we don't have any way for the runtime to
programatically determine it. What would be better would be to find a
way for the sca binding to not be environment dependent. I guess the
way to do that is to not use the hosting web container for the sca
binding so probably using something other than our binding.ws as the
base for it. An in-VM based binding seems like it would work well for
things like the embeded webapp, tomcat and geronimo environments, when
the tuscany runtime needs to be distributed across JVMs maybe we
should look at a Tribes based transport for the SCA binding as that
could use the same config as the Tribes based endpoint registry.

   ...ant

Reply via email to