@GET @Path("/list") @Produces(MediaType.APPLICATION_JSON) public List<Employe> list() { List<Employe> employes = new ArrayList<Employe>(); // employes.add(new Employe()); employes = employeEjb.findAll(); Reponse("200"); return employes; }