Archive for May, 2013

Consuming RESTful Web Service using jQuery Ajax Client

Consuming RESTful Web Service using jQuery Ajax Client

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...

Full Post

How Strategy Pattern help in reducing code duplication, avoid type casting and make design Better

How Strategy Pattern help in reducing code duplication, avoid type casting and make design Better

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...

Full Post

Smart File Converter – Convert PPT, PDF, PS file into HTML

Smart File Converter – Convert PPT, PDF, PS file into HTML

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...

Full Post

RESTful java web service with XML Response

RESTful java web service with XML Response

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...

Full Post

How to create simple REST web service using jersey

How to create simple REST web service using jersey

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...

Full Post

Copyright © 2019 http://www.techzoo.org. All rights reserved.
Proudly powered by WordPress. Developed by 7Tech Solutions