aspose file tools*
The moose likes Web Services and the fly likes What is the best way to reuse the webservice session? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "What is the best way to reuse the webservice session?" Watch "What is the best way to reuse the webservice session?" New topic
Author

What is the best way to reuse the webservice session?

jianming chen
Ranch Hand

Joined: Jul 21, 2009
Posts: 33
Hello,

I have a webservice client. Currently, I create the connection for each call. Is there a better way to reuse the connection?

Thanks
Jeff. Davis
Author
Greenhorn

Joined: Jun 01, 2009
Posts: 20
In the sections of the book where cover the SCA framework and Apache Tuscany, I do describe how conversational services can be supported. However, an important caveat to remember is that such stateful services generally aren't considered best practices, as it introduces a lot of complexity to the backend service implementation, in particular how it relates to scalability.

Thanks,

jeff
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: What is the best way to reuse the webservice session?