I do a lot of C ++ and Java applications using REST, and I'm pretty satisfied. REST is easily distinguished from CORBA and SOAP complexity and is flexible. I had a small part of the learning curve that was used to model things like CRUD, but now it seems even more intuitive.
Now for the C ++ side, I do not use a specific REST library, but only cURL and the XML parser (in my case CPPDOM), because C ++ applications are only clients, and servers are Java (using the Restlet environment). If you need it, there is another question in SO that recommends:
Can anyone recommend a good RESTful C / C ++ environment
I would also mention that my decision to use XML was arbitrary, and I'm seriously considering replacing it with JSON. Unless you have a specific need for XML, JSON is simpler and more lightweight. And the beauty of REST is that you can even support both along with other views if you want.
Fabio ceconello
source share