public class PersonsRestResource extends AbstractRestResource<JsonWebSerialDeserial> {
private final List<PersonPojo> persons = new ArrayList<PersonPojo>();
public PersonsRestResource() {
super(new JsonWebSerialDeserial(new GsonObjectSerialDeserial()));
persons.add(new PersonPojo("Freddie Mercury", "fmercury@queen.com", "Eeehooo!"));
persons.add(new PersonPojo("John Deacon", "jdeacon@queen.com", "bass"));
persons.add(new PersonPojo("Brian May", "bmay@queen.com", "guitar"));
persons.add(new PersonPojo("Roger Taylor", "rtaylor@queen.com", "drum"));