@Transactional
  @Override
  public Response getCustomers() {

    List<Customer> customerList = customerDaoImpl.getCustomers();

    return Response.ok(customerList).build();
  }
 @Transactional
 @Override
 public Response getCustomerById(int customerId) {
   return Response.ok(customerDaoImpl.getCustomerById(customerId)).build();
 }