Should web services be transactional?
问题 I am investigating writing web services for an application. Within this application we do everything within transactions as "units of work" are often not single entities but multiple entities spanning multiple tables. There are situations where we want "All or nothing" and a transaction makes perfect sense. I am not really sure how to do this in a web-service however, nor if I even should. I feel like web services should be stateless and the provided API should be built on a per-entity basis,