File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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?
 
Similar Threads
Re Connection pooling
Webservice issue in Appserver cluster
object pooling
Setting time out for web service call
JAX-WS https client