Ed Ort
Enterprise Tech Tip: Configuring JSON for RESTful Web Services in Jersey 1.0
There's a lot of interest in the developer community in RESTful web services. That's because the Representational State Transfer (REST) approach presents a relatively simple and flexible way of building and communicating with web services. Message exchanges with a RESTful web service can be conducted in any format, including JavaScript Object Notation (JSON). Because of its simple text format, JSON provides a good alternative to other message interchange formats such as XML and is particularly attractive as a meassage interchange format for RESTful web services.
This tip shows you how to build a Jersey-based web application that returns information in JSON format. Jersey is an open-source, production-ready reference implementation of JAX-RS, the Java API for RESTful Web Services (JSR-311).
See the tip Configuring JSON for RESTful Web Services in Jersey 1.0.
Posted at 08:44AM Oct 31, 2008 by edort in Tech Tip | Comments[0]