/** * M�todo - Servicio Web REST que sirve para totalRegistros registros a la base de datos * * @return Tipo de retorno Integer */ @GET @Path(value = "CantidadPersonas") @Produces(value = "application/json") public Integer totalRegistros() { Integer cantidad = 0; try { cantidad = personaEJBLocal.totalRegistros(); } catch (Exception e) { e.printStackTrace(); } finally { } return cantidad; }