File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Soft Skills: The software developer's life manual this week in the Jobs Discussion forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Stateful Web services

 
Graham VMead
Ranch Hand
Posts: 154
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I've just been looking at some IBM blurb about creating stateful web service implementations using something called WS-Addressing
Stateful web services
Is this an IBM proprietry mechanism or has it become a standard.
Does anyone have any other links for this sort of thing?
TIA Graham
 
JeanLouis Marechaux
Ranch Hand
Posts: 906
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
WS-Addressing is not proprietary, as it has been submited by Microsoft, IBM and BEA, and I think it is now under OASIS's umbrella.
I did not read the article (sorry) but I believe WS-Addressing is not about stateful Web services. Nevertheless, it sounds like IBM suggests to use WS-Resource and WS-Addressing in order to modelize stateful web servies.
But something is puzzling me here.
My understanding is that SOA requires stateless services. And web services claim to be SOA... Are SOA and stateful compatible ??
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Jean-Louis Marechaux:
My understanding is that SOA requires stateless services. And web services claim to be SOA... Are SOA and stateful compatible ??

Although it is a recommended practice to make services as stateless as possible, I could imagine a service that persists state and requires clients to refer to a "session id" in their requests. Not sure about the "official" point of view on stateful services, though.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic