[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-2258) Provide a plugin for JAX-RS resp. Resteasy

Juergen Zimmermann (JIRA) jira-events at lists.jboss.org
Thu Jun 12 17:37:11 EDT 2008


    [ http://jira.jboss.com/jira/browse/JBIDE-2258?page=comments#action_12416918 ] 
            
Juergen Zimmermann commented on JBIDE-2258:
-------------------------------------------

Sorry, Max, I was on vacation and had no chance to connect to the internet...

Well, such a plugin would provide a wizard to create "resource" classes according to the upcoming standard JAX-RS. For JAX-RS see https://jersey.dev.java.net . Here is an example for such a resource class:

@Path("/customermanagement")
@ProduceMime({"text/xml", "text/plain"})
@ConsumeMime("text/xml")
public class CustomermanagementResource {
	@Context
	private UriInfo uriInfo;

	@GET
	@Path("/customers/{id}")
	public CustomerData findCustomer(@PathParam("id") Long id) { ... }

	@GET
	@Path("/customers")
	public CustomerDataList findAllCustomers() { ... }

	@GET
	@Path("/customers/{id}/orders")
	public OrderDataList findOrdersByCustomerId(@PathParam("id") Long id) { ... }

	@Path("/customers")
	@POST
	public Response createCustomer(CustomerData customer) { ... }

	@Path("/customers")
	@PUT
	public CustomerData updateCustomer(CustomerData customer) { ... }

	@DELETE
	@Path("/customers/{id}")
	public Response deleteCustomer(@PathParam("id") long kundeId) { ... }
}


> Provide a plugin for JAX-RS resp. Resteasy
> ------------------------------------------
>
>                 Key: JBIDE-2258
>                 URL: http://jira.jboss.com/jira/browse/JBIDE-2258
>             Project: Tools (JBoss Tools)
>          Issue Type: Feature Request
>    Affects Versions: 2.1.0.CR1
>            Reporter: Juergen Zimmermann
>             Fix For: LATER
>
>
> NetBeans 6.1 provides a plugin for Sun's Jersey being the reference implementation of JAX-RS (= Java API for RESTful Web Services): https://jersey.dev.java.net/servlets/ReadMsg?list=users&msgNo=1293
> Resteasy is the upcoming implementation of JAX-RS for JBoss -- see http://wiki.jboss.org/wiki/RESTeasyJAXRS
> It would be nice to also have a JAX-RS plugin for Resteasy

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jbosstools-issues mailing list