Examples from Bill Burke's RESTful Java with JAX-RS O'Reilly book