A simple REST application using Jersey and Spring 2.5.6

Representational State Transfer (REST) is a simple way to expose and consume resources; predominantly over http. This makes it easy to integrate with consumers of those resources. In this article let's explore how to quickly build a simple REST application using Jersey,Spring 2.5.6 and Maven

The source code for this application is available in the subversion repository(RestApp)

Your rating: None Average: 4.5 (2 votes)

Comments

explanation

Can you at least hint some details?

where is jersey used in your code or config?

what is javax.ws.rs?

Jersey usage

your REST services are configured using the Jersey - SpringServlet as shown in the Walk through the code - page

All your application components including your REST services needs to be annotated as explained in the Number Service - page, they will are automatically loaded because of the spring config explained at the Spring configuration - page

javax.ws.rs is the api package for the JSR 311: JAX-RS: The JavaTM API for RESTful Web Services

let me know if you need more info

Who's online

There are currently 0 users and 1 guest online.

Who's new

  • krishna
  • Saravana Peruma...