Archive for October, 2009

Oct 15 2009

Abstract Path: PowerMenu

Published by tom under Uncategorized

Abstract Path: PowerMenu.

Post to Twitter Tweet This Post

No responses yet

Oct 15 2009

Custom PuTTY Color Themes – igvita.com

Published by tom under Uncategorized

Custom PuTTY Color Themes – igvita.com.

Post to Twitter Tweet This Post

No responses yet

Oct 06 2009

Returning List in JAXB

Published by tom under Java

I was trying to figure out how to return a list in a response in JAXB. The answer was here

Here’s a code snip


@GET
public Response getProducts(@QueryParam("active")String active,@QueryParam("family")String family,@Context UriInfo ui) {
Response r = null;
try {
List products = getProducts(active,family);
if (products.size() == 0) {
r = Response.status(404).build();
} else {
GenericEntity> genericProducts = new GenericEntity>(products) {};
r = Response.ok().entity(genericProducts).build();
}
} catch (Exception e) {
throwInternalServerError(e);
}
return r;
}

Post to Twitter Tweet This Post

No responses yet

Oct 06 2009

REST for toddlers [dive into mark]

Published by tom under Uncategorized

REST for toddlers [dive into mark].

Post to Twitter Tweet This Post

No responses yet

Oct 06 2009

Visualizing SFPD’s “Operation Safe Schools” | SpatialKey blog

Published by tom under Uncategorized

Visualizing SFPD’s “Operation Safe Schools” | SpatialKey blog.

Post to Twitter Tweet This Post

No responses yet