@GET @Path("/owner/{owner}") @Produces(MediaType.APPLICATION_JSON) public List<Playlist> getPlaylistByOwner(@PathParam("owner") final String owner) { return playlistDAO.findPlaylistByOwner(owner); }