Thanks Tomek

___________________________________________

Gavin Hogan
Programmer/Analyst
The State University of New York
State University Plaza
Albany, NY 12246
Phone 518-443-5481
fax 518-443-5809
e-mail [EMAIL PROTECTED] 

-----Original Message-----
From: Tomek Sztelak [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, October 24, 2007 10:12 AM
To: [email protected]
Subject: Re: [xfire-user] Service and Client thread safety?


It should be thread-safe.  Probably there is no (or very little )
documentation on that,but you can find some thread-safety test in jira
(test passes so everything should be ok :).

On 10/24/07, Hogan, Gavin <[EMAIL PROTECTED]> wrote:
> I have been doing the same here for a while (several months) and have
> not had problems - but I too am concerned since it is very hard to
tell
> from the documentation if this is safe by design or by chance.
>
> Some clarity would be very helpful.
>
> ___________________________________________
>
> Gavin Hogan
> Programmer/Analyst
> The State University of New York
> State University Plaza
> Albany, NY 12246
> Phone 518-443-5481
> fax 518-443-5809
> e-mail [EMAIL PROTECTED]
>
> -----Original Message-----
> From: Garth Patil [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, October 23, 2007 6:31 PM
> To: [email protected]
> Subject: [xfire-user] Service and Client thread safety?
>
>
> Hi,
> I couldn't find any indication in the user guide or documentation
> about the thread safety of using the XFire proxy classes. I use the
> method recommended in the documentation for creating a proxy client:
>
> Service serviceModel = new
> ObjectServiceFactory().create(YourService.class);
> YourService service = (YourService)
>     new XFireProxyFactory().create(serviceModel,
> "http://your/remote/url";);
> Client client = Client.getInstance(service);
>
> Is the use of service by multiple threads guaranteed safe? I have done
> some simple tests using threads that all use the same service object,
> and I haven't seen any problems, but I wanted to check here and see if
> anyone else knew for sure.
> Best,
> Garth
>
> ---------------------------------------------------------------------
> To unsubscribe from this list please visit:
>
>     http://xircles.codehaus.org/manage_email
>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list please visit:
>
>     http://xircles.codehaus.org/manage_email
>
>


-- 
-----
When one of our products stops working, we'll blame another vendor
within 24 hours.

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email


---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to