This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

What is the best way to reuse the webservice session?

 
jianming chen
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic