Re: Re: [ANN] XINS 1.3 supports XML-RPC
Paul Libbrecht <[email protected]>
| Newsgroups | gmane.text.xml.rpc.specification |
|---|---|
| Message-ID | <[email protected]> |
No, that doesn't work, the session object I want to attach is something
my program has created! Changing the config will not pass an object as
parameter!
As I understand, the config change will just create a new object of the
class indicated in the impl, correct ?
I don't want to do this for load-balancing but for statefulness.
(note: I don't believe in "web-services are stateless")
hope that helps.
paul
Ernst de Haan wrote:
>> Let's take a small example: I want to register, at run-time, a new
>> object (implementing some API known in advance) under a given URL...
>> An example would be a publish-session (initted by another WS-call) where upload-messages can be collected from.
>>
>
> I'm not sure I understand you correctly. This is what I think you mean:
> - You have a running XINS application that potentially connects to a
> variety of services, but at least to one service, called
> 'publish-session'.
> - You would like to add a new URL for calling this service, at
> run-time, without restarting your application.
>
> If this is what you want, XINS is your answer :) Indeed, if you have a
> running XINS service, just edit the runtime configuration file and
> edit the property that specifies the back-ends for a certain service.
> So in the example of the 'order' service, you can just change the
> following:
>
> capis.order=service, http://apiserver1.localdomain/order/, 3000
>
> into something like this:
>
> capis.order=group, random, order1, order2
> capis.order.order1=service, http://apiserver1.localdomain/order/, 3000
> capis.order.order2=service, http://apiserver2.localdomain/order/, 2000
>
> The runtime configuration file should be automatically reloaded. By
> default, the file is automatically checked for changes every 60
> seconds. You can change this by changing the
> "org.xins.server.config.reload" property in the runtime config file.
> Change it to "5" to check the file every 5 seconds.
>
> For more information on client-side load-balancing and fail-over, see
> the user guide, section "Managing load balancing and fail over":
> http://xins.sourceforge.net/docs/ar01s13.html
>
> Kind regards,
>
>
> Ernst
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/xml-rpc/
<*> To unsubscribe from this group, send an email to:
[email protected]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/