resteasy

 jax-rs

with

seam


... because it works with seam beans

config

seam 
components.xml
 <resteasy:application resource-path-prefix="/api"/>

jars
jboss-seam-resteasy
resteasy-multipart-provider

JAX-RS in short

 @GET, @POST etc.
@PATH('/mypath')

    @GET
    @Path("/offering/{id}")
    @Produces({"application/json"})
    public Response getService(@Context HttpHeaders headers, @PathParam("id") Long id) {

Links

http://docs.jboss.org/seam/2.2.0.GA/reference/en-US/html/webservices.html

http://docs.jboss.org/resteasy/docs/2.3.5.Final/userguide/html/index.html


Made with Slides.com