I guess I asked this before, but: may I create:
public abstract class PujGenericResource<T extends AbstractArenaEntity> {
protected abstract PujEntityFacade<T> getFacade();
@PUT
@Consumes( { MediaType.APPLICATION_XML, MediaType.APPLICATION_JSON })
@Produces( { MediaType.APPLICATION_XML, MediaType.APPLICATION_JSON })
public T insert(T entity) {
return getFacade().create(entity);
}
and then create a concrete subclass .. and it will work with jersey ?
--
Looking for a client application for this service:
http://fgaucho.dyndns.org:8080/footprint-service/wadl