how to write rest service using @beanparam and @Get mthod : <p>Please help me to write rest webservice using below class and @beanparam and @Get method</p>

<pre><code> @QueryParam("prop1") 
 public String prop1;

 @QueryParam("prop2") 
 public String prop2;

 @QueryParam("prop3") 
 public String prop3;

 @QueryParam("prop4") 
 public String prop4;
</code></pre>
