Is the service model object used in creating xFireProxy threadsafe?

View: New views
1 Messages — Rating Filter:   Alert me  

Is the service model object used in creating xFireProxy threadsafe?

by Dave Kong :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

I'm creating client proxy objects per the user guideline below:

Service serviceModel = new ObjectServiceFactory().create(YourService.class, "SuperService", "urn:your:namespace", null);

YourService client = (YourService) new XFireProxyFactory().create(serviceModel, "http://your/remote/url");


Since I'm doing this on multiple threads simultaneously as part of a commons-pool, but am using the same serviceModel object across all these threads, is this thread-safe?

Thanks!

-dave