Posts

Showing posts from June, 2019

Web services (Road to J2EE)

I'm starting this series of posts about J2EE to get an idea of concepts about restful web service implementations using J2EE. Before we go into Restful web services lets see what is a web service first... Web service Did you ever think of when you are playing a game and it's asking you to post your score in your facebook wall? you don't need to go to the facebook to do so, the game itself gives the ability to post your score. That's how web services come in. Websites like Facebook twitter publish their API's on the web that another application can use. Think about what happens when you visit a website. how it differs with web services. When you want to visit, let's say Facebook, the client makes Http request to the server and the server will respond to the client by sending an Http request. that response is basically an HTML response. But when client call to a web service the response will be an XML/ JSON/ text whatever type of response. Rest web ser...