title: Web service in Java Swing Application
body: <p>I have a Swing based application which uses a MySQL Database. Currently I am using a direct database connection to connect to the database to fetch/update data. But now I am thinking to create a web service like my android application is using (I am using a PHP web service with JSON for android).</p>
  
  <p>The web service can be consumed by performing a simple GET request. If I paste the URL in a browser, I can see the json decoded echo response.</p>
  
  <p>I have NO experience with Java based web services. Is there any method to use that PHP/JSON based service in Java or to create a very simple web service for my Java application without involving complex libraries/classes?</p>