Win a copy of Beginning Java 17 Fundamentals: Object-Oriented Programming in Java 17 this week in the Java in General forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

Are webservices always about idempotent service APIs ?

 
Ranch Hand
Posts: 782
Python Chrome Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
By idempotent, I mean stateless.

Most of the WebService APIs I've seen are idempotent. What technologies can be used to implement stateful services ?

Regards,

Pho
 
author
Posts: 33
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Because of the emphasis on creating stateless Web Services state management has become a big issue in SOAs. Many rely on IMDBs, however, you can also utilize the WS-Coordination services to manage context information. The WS-Resource framework has also been recently released, and deals with state management head-on.

Here are some related links:
http://www-106.ibm.com/developerworks/webservices/library/ws-resource/ws-wsrfpaper.html

http://www-106.ibm.com/developerworks/webservices/library/ws-coor/
 
Ranch Hand
Posts: 8944
Firefox Browser Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thomas,
WS-Resource spec has been been initiated by IBM,HP etc. I dont see Microsoft in it. My question is will it become industry standard or it will just be used by some vendors.
Thanks
 
J. Acc.
author
Posts: 33
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
WS-Resource is designed to work with IBM's WS-Notification specification. Back when IBM released this standard, it parted ways with Microsoft who came out with a similar specification entitled WS-Eventing. It's hard to say where this is all going, but some analysts are saying that these are simply posturing moves, and that they will eventually merge their efforts into a single standard or framework.
 
Pho Tek
Ranch Hand
Posts: 782
Python Chrome Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thomas,

Thanks for the resources.

It's hard to say where this is all going, but some analysts are saying that these are simply posturing moves, and that they will eventually merge their efforts into a single standard or framework.



This sounds very scary. Looks like in the interim, developers are going to have to create their own custom state tracking system.

Pho
 
Ranch Hand
Posts: 160
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Pho Tek,

Just a comment on idempotent and stateless. Suppose I write a webservice to return the current time. It is stateless but not idempotent. But if a service return the sum of two number, then it is stateless and idempotent.

Best Regards,
Frankie
 
reply
    Bookmark Topic Watch Topic
  • New Topic