From jbosstools-commits at lists.jboss.org Thu Feb 23 09:43:57 2012 Content-Type: multipart/mixed; boundary="===============5096694623686299028==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r39063 - in trunk/documentation/whatsnew/ws: images and 1 other directory. Date: Thu, 23 Feb 2012 09:43:56 -0500 Message-ID: <201202231443.q1NEhubp027321@svn01.web.mwc.hst.phx2.redhat.com> --===============5096694623686299028== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: xcoulon Date: 2012-02-23 09:43:55 -0500 (Thu, 23 Feb 2012) New Revision: 39063 Added: trunk/documentation/whatsnew/ws/images/JAXRS-ApplicationPath.png Modified: trunk/documentation/whatsnew/ws/ws-news-1.2.2.Beta1.html Log: Adding JAXRS Tooling news Added: trunk/documentation/whatsnew/ws/images/JAXRS-ApplicationPath.png =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D (Binary files differ) Property changes on: trunk/documentation/whatsnew/ws/images/JAXRS-Applicati= onPath.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Modified: trunk/documentation/whatsnew/ws/ws-news-1.2.2.Beta1.html =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/documentation/whatsnew/ws/ws-news-1.2.2.Beta1.html 2012-02-23 14:= 33:02 UTC (rev 39062) +++ trunk/documentation/whatsnew/ws/ws-news-1.2.2.Beta1.html 2012-02-23 14:= 43:55 UTC (rev 39063) @@ -30,6 +30,52 @@
+

JAX-RS Tooling

+
+ + + + + + Support for @ApplicationPath and web.xml overwrite + +

Support for javax.ws.rs.core.Application subclass annotated with = @ApplicationPath is now available, along with support for standard JEE6 ove= rwrite in the web app deployment descriptor. The JAX-RS Tooling will includ= e the @ApplicationPath annotation value in your endpoints' URI Path Templat= e if you provide a JAX-RS Application class as below: +

+      @ApplicationPath("/mypath")
+      public class MyApplication extends Application {
+        ...
+      }
+      

+

Or if you define the application's root path for the JAX-RS endpo= int in the web application's web.xml in the one of the following manners: +

+      <servlet-mapping>
+        <servlet-name>com.acme.MyApplication</servlet-name>
+        <url-pattern>/hello/*</url-pattern>
+      </servlet-mapping>
+      
+

or

+
+      <servlet-mapping>
+        <servlet-name>javax.ws.rs.core.Application</servlet-name&=
gt;
+        <url-pattern>/hello/*</url-pattern>
+      </servlet-mapping>
+      
+

As defined in the JAX-RS 1.1 specification, the web.xml approach = takes precedence over the annotation-based configuration.

+ +

Rela= ted Jira

+ + + + + + +
+ + + = + + +

Web Service Tester


@@ -37,8 +83,7 @@ = = - Better Tooling Integration - JAX-RS + Better Tooling Integration - JAX-RS =

We recently had an opportunity to add some better shortcuts to ge= t to the Web Service Tester from common access points in the UI.

@@ -70,8 +115,7 @@ = - Partial WSDL file integration + Partial WSDL file integration

In addition, you can now right-click on a WSDL and select Web Ser= vices -> Test in JBoss Web Service Tester. This action does two things:

  1. If the Web Service Tester isn't open, it will open the view = in the current perspective.
  2. @@ -91,8 +135,7 @@ = - Better Test History Tracking + Better Test History Tracking

    Whereas before we would only remember the URLs for the services t= ested in the current session, we now remember much more for each successful= test: