Arc Forumnew | comments | leaders | submitlogin
RESTful webservices, I wish I had implemented earlier... (ibm.com)
2 points by thaddeus 5281 days ago | 1 comment


2 points by thaddeus 5281 days ago | link

Well I crashed my entire website doing something really stupid (that exposed the benefit of stateless transactions?).

The other day my auto-update routine didn't run for whatever reason. I figured this was no big deal, happened once before and I only had to trigger my handy-dandy web service which started a dataload process in a new thread. Everything worked perfect. Only this time I triggered it then logged out right away. It seems using arcs existing srv framework is less flexible than I would like.

I believe implementing a RESTful service that is stateless will likely make the service more robust. Opinions anyone?

This time I was really lucky that I checked a few minutes later and restarted the service.... My 40 users were almost in tears - lol :)

Thanks to palsecam for laying out a path....

http://arclanguage.org/item?id=11337

I figured others could benefit from this.

-----