Spring3-rest

Very Simple Spring3 Rest example, Supporting Multiple Represenations

Refer this for more detail

Running the Example

Stpe 1: Grab the source code

Step 2 : Start Jetty :- mvn jetty:run

1

Step 3 : Jetty started on port 8080

2

Step 4 : Invoke the Rest Service ( for Json)

I have Used Chrome’s Advanced Rest Client

3

Step 5 : Invoke the Rest Service ( for XML)

4

Advertisements