when I want to return Java primitive types, what is the best media
type ? or other response type ?
like:
@GET
@Produces( { MediaType.TEXT_PLAIN })
@Path("/count")
public String count() {
return Long.toString(userFacade.count());
}
--
Please help to test this application:
http://fgaucho.dyndns.org:8080/cejug-classifieds-richfaces