title: RESTful Web Services from Entity Classes
body: <p>I want to implement restful web-services to query my database.</p>
  
  <p>In Netbeans I did this:
  - I created entity classes from my db
  - I generated web-services from these entity classes</p>
  
  <p>GET methods work fine when testing but I have some additional requirements. I dont want to query only by tables' id-s. Data needs to be retrieved also when some other parametres are entered.</p>
  
  <p>For example I have a table:
  Customer: id, name, address, country</p>
  
  <p>Now I want to display all customers from a specific country.</p>
  
  <p>Where in code can I achieve that?</p>