Author: irooskov(a)redhat.com
Date: 2011-11-02 00:23:47 -0400 (Wed, 02 Nov 2011)
New Revision: 36128
Added:
trunk/ws/docs/restful_reference/en-US/images/working_with_RESTful_01.png
trunk/ws/docs/restful_reference/en-US/working_with_RESTful_web_services.xml
Modified:
trunk/ws/docs/restful_reference/en-US/Book_Info.xml
trunk/ws/docs/restful_reference/en-US/JBoss_RESTful_Web_Services_User_Guide.xml
Log:
updated for WS 3.3.0.M2 content
Modified: trunk/ws/docs/restful_reference/en-US/Book_Info.xml
===================================================================
--- trunk/ws/docs/restful_reference/en-US/Book_Info.xml 2011-11-02 03:41:35 UTC (rev
36127)
+++ trunk/ws/docs/restful_reference/en-US/Book_Info.xml 2011-11-02 04:23:47 UTC (rev
36128)
@@ -7,7 +7,7 @@
<productname>JBoss Developer Studio</productname>
<productnumber>5.0</productnumber>
<edition>5.0.0</edition>
- <pubsnumber>2</pubsnumber>
+ <pubsnumber>3</pubsnumber>
<abstract>
<para>The JBoss RESTful Web Services User Guide explains how to use RESTful Web
Services to implement web services in Java.</para>
</abstract>
Modified: trunk/ws/docs/restful_reference/en-US/JBoss_RESTful_Web_Services_User_Guide.xml
===================================================================
---
trunk/ws/docs/restful_reference/en-US/JBoss_RESTful_Web_Services_User_Guide.xml 2011-11-02
03:41:35 UTC (rev 36127)
+++
trunk/ws/docs/restful_reference/en-US/JBoss_RESTful_Web_Services_User_Guide.xml 2011-11-02
04:23:47 UTC (rev 36128)
@@ -7,6 +7,8 @@
<xi:include href="overview.xml"
xmlns:xi="http://www.w3.org/2001/XInclude"></xi:include>
<xi:include href="adding_JAX-RS_support_to_a_project.xml"
xmlns:xi="http://www.w3.org/2001/XInclude">
</xi:include>
+<xi:include href="working_with_RESTful_web_services.xml"
xmlns:xi="http://www.w3.org/2001/XInclude">
+</xi:include>
<xi:include href="sample_web_service_wizards.xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
<xi:include href="resteasy_simple_project_example.xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
<xi:include href="web_service_test_view.xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
Added: trunk/ws/docs/restful_reference/en-US/images/working_with_RESTful_01.png
===================================================================
(Binary files differ)
Property changes on:
trunk/ws/docs/restful_reference/en-US/images/working_with_RESTful_01.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/ws/docs/restful_reference/en-US/working_with_RESTful_web_services.xml
===================================================================
--- trunk/ws/docs/restful_reference/en-US/working_with_RESTful_web_services.xml
(rev 0)
+++ trunk/ws/docs/restful_reference/en-US/working_with_RESTful_web_services.xml 2011-11-02
04:23:47 UTC (rev 36128)
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<chapter id="Working_with_RESTful_web_services">
+ <title>Working with RESTful web services</title>
+ <para>
+ After JAX-RS support has been enabled, a <guilabel>RESTful Web
Services</guilabel> node will appear within the project file list, in the
<guilabel>Project Explorer</guilabel>. This node outlines the various RESTful
services that your project contains.
+ </para>
+ <figure id="working_with_RESTful_01">
+ <title>Working with RESTful web services</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/working_with_RESTful_01.png"
format="PNG"/>
+ </imageobject>
+ <textobject>
+ <para>Working with RESTful web services</para>
+ </textobject>
+ </mediaobject>
+ </figure>
+ <para>
+ Each element in the navigator displays the resolved HTTP method (for example: GET and
POST) followed by the Uniform Resource Identifier (URI) path template (for example:
/customers/{id}). <property>@Path</property> annotations are available for
resources and subresources, at the method level. Optional
<property>@ApplicationPath</property> annotation is available only any
subclass of <classname>javax.ws.rs.core.Application</classname>.
+ </para>
+ <para>
+ Under each element are the resolved, consumed and produced media types (based on the
annotations you have supplied for the method or type) and the associated Java method.
+ </para>
+ <para>
+ To navigate to the related source code for a JAX-RS resource, double click the elements
of the resource explorer and the related source code will be opened and highlighted. You
can also copy the URI path template for later use.
+ </para>
+</chapter>
\ No newline at end of file