Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-8782

Hot deployment of JAX-RS (RESTEasy) endpoints

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Won't Do
    • Icon: Major Major
    • None
    • None
    • server
    • None

      Provide for hot deployment of JAX-RS (RESTEasy) services/endpoints. At this moment, adding a new JAX-RS endpoint (with AS6) seems to require server restart. Editing an already deployed JAX-RS service (again on AS6) seems to require "Full Publish".

      package com.burrsutter.jqueryresteasy;

      import javax.ws.rs.Path;
      import javax.ws.rs.GET;
      import javax.ws.rs.Produces;

      @Path("/helloworldjson")
      public class HelloWorldJSON {
      @GET
      @Produces("application/json")
      public String sayHello() {
      return "

      { \"hello\" : \"world\" }

      ";
      }
      }

            Unassigned Unassigned
            bsutter@redhat.com Burr Sutter
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: