I am trying to make generic my find method:
this works fine:
public abstract class PujGenericResource<T extends AbstractArenaEntity> {
@Path("{id}")
public T select(@PathParam("id") int login) {
return getFacade().read(genericType, login);
}
--------------
this doesn't :( Is there a way to make this ??
public abstract class PujGenericResource<T extends
AbstractArenaEntity, PK extends Serializable> {
@Path("{id}")
public T select(@PathParam("id") PK login) { <<<< HERE is the problem :(
return getFacade().read(genericType, login);
}
* I removed the other annotations for clearness..
--
Looking for a client application for this service:
http://fgaucho.dyndns.org:8080/footprint-service/wadl