In my lost post on RESTful web service I demonstrate how we can send XML response using RESTful web service. I also teach who to create web service client using java. Now let’s see how to create jQuery Ajax Client to consume web service XML response. Before proceeding I recommend you to go through...
Yesterday I was trying to refactor some code which has lots of code duplication, static type casting between sub types and cohesive. After some refactoring I decided to use java’s strategy design pattern to remove code duplication and make it extendable. The motive behind using strategy pattern was to move behavior out of the...
This project us used to convert PowerPoint slides (*.ppt files), Portable Document Format (PDF files) and PostScript format (*.ps files) into HTML. Project is developed in code java with some open source libraries used to convert file formats into HTML. I have used apache commons, fontbox, pdfbox, itext and ghost4j.jar files as a helping...
In my previous post I discuss about how to write a simple REST web service using jersey, today we discuss more on it and demonstrate how you can create custom java class with JAXB and deal with XML response using jersey. Let’s first create eclipse Java EE project and add all depending jersey jar...
In this tutorial I will demonstrate you what Rest is and how to develop a simple rest web service in java using jersey. Before moving forward let see what rest is. REST stands for Representational State Transfer. (It is sometimes spelled “ReST”.) It relies on a stateless, client-server, cacheable communications protocol which uses HTTP...