title: How do you map multiple query parameters to the fields of a bean on Jersey GET request?
body: <p>A service class has a <code>@GET</code> operation that accepts multiple parameters. These parameters are passed in as query parameters to the <code>@GET</code> service call.</p>
  
  <pre><code>@GET
  @Path("find")
  @Produces(MediaType.APPLICATION_XML)
  public FindResponse find(@QueryParam("prop1") String prop1, 
                           @QueryParam("prop2") String prop2, 
                           @QueryParam("prop3") String prop3, 
                           @QueryParam("prop4") String prop4, ...) 
  </code></pre>
  
  <p>The list of these parameters are growing, so I would like to place them into a single bean that contains all these parameters.</p>
  
  <pre><code>@GET
  @Path("find")
  @Produces(MediaType.APPLICATION_XML)
  public FindResponse find(ParameterBean paramBean) 
  {
      String prop1 = paramBean.getProp1();
      String prop2 = paramBean.getProp2();
      String prop3 = paramBean.getProp3();
      String prop4 = paramBean.getProp4();
  }
  </code></pre>
  
  <p>How would you do this?  Is this even possible?  </p>