Are you working with multiple devices like iPhone, Android and Web, then take a look at this post that explains you how to develop a RESTful API in Java. Representational state transfer (REST) is a software system for distributing the data to different kind of applications. The web service system produce status code response in JSON or XML format.
![RESTful Web Services using Java and MySQL](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiJIDBHpPluDuFmkGPCGQeAyhyphenhyphen_poSao_EkN1Q-wLjARTtSC_Nd83FgUQvF9CbJXKhu2brU8aPmqWKni679SL6wpmla_s0IPsBxD85flrrlWUHiyBf3DvWxt1__BkK6g7MEL2MpzqqdVO0b/s550/javaBanner.png)