Hello World restful webservice with jersey filter.

Hi All, In this post I am going to show you how you can create the Hello World restful webservice with jersey filter or jersey interceptor. In this example I am also going to show you how you can deal with different types of response like simple String, HTML, XML or JSON. For getting started with this prerequisites are as follows: 1) You should have a eclipse IDE on you system (in my case Luna is the version of eclipse) 2) You should have JDK installed on you system (in my case jdk 1.7) 3) You should have any server installed on your system (in my case weblogic 10.3.6) Now let's start by creating a fresh project in eclipse. To create the fresh project click on "File" then "New" and then select "Project" from available option as shown below: After this you will get the following screen where you need to select "Dynamic Web Project" from the available option. Now click on Next. on next screen provide the Pro...