cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From conflue...@apache.org
Subject [CONF] Apache CXF Documentation > Sample Projects
Date Wed, 20 Oct 2010 20:11:00 GMT
<html>
<head>
    <base href="https://cwiki.apache.org/confluence">
            <link rel="stylesheet" href="/confluence/s/1810/9/1/_/styles/combined.css?spaceKey=CXF20DOC&amp;forWysiwyg=true"
type="text/css">
    </head>
<body style="background: white;" bgcolor="white" class="email-body">
<div id="pageContent">
<div id="notificationFormat">
<div class="wiki-content">
<div class="email">
    <h2><a href="https://cwiki.apache.org/confluence/display/CXF20DOC/Sample+Projects">Sample
Projects</a></h2>
    <h4>Page <b>edited</b> by             <a href="https://cwiki.apache.org/confluence/display/~dkulp">Daniel
Kulp</a>
    </h4>
        <br/>
                         <h4>Changes (0)</h4>
                                 
    
<div id="page-diffs">
            <table class="diff" cellpadding="0" cellspacing="0">
            <tr><td class="diff-snipped" >...<br></td></tr>
        </table>
</div>                            <h4>Full Content</h4>
                    <div class="notificationGreySide">
        <h1><a name="SampleProjects-ApacheCXFSampleprojects"></a>Apache
CXF Sample projects </h1>

<h2><a name="SampleProjects-JAXWSSamples"></a>JAX-WS Samples</h2>
<div class='table-wrap'>
<table class='confluenceTable'><tbody>
<tr>
<th class='confluenceTh'>Sample Name</th>
<th class='confluenceTh'>Sample Locations</th>
<th class='confluenceTh'>Sample Description</th>
</tr>
<tr>
<td class='confluenceTd'>Java First using JAX-WS APIs and JSR-181</td>
<td class='confluenceTd'>java_first_jaxws</td>
<td class='confluenceTd'> Sample illustrates how to develop a service using the "code
first" approach with the JAX-WS APIs.</td>
</tr>
<tr>
<td class='confluenceTd'>Java First JAX-WS APIs and JSR-181</td>
<td class='confluenceTd'>java_first_jaxws_factory_bean</td>
<td class='confluenceTd'>Sample illustrates how to develop a service using the JAXWSFactoryBeans.
It also makes use of LoggingInterceptors. The sample takes the "code first" approach using
JAX-WS APIs.</td>
</tr>
<tr>
<td class='confluenceTd'>Java First POJO </td>
<td class='confluenceTd'>java_first_pojo</td>
<td class='confluenceTd'>Sample illustrates how to develop a service that is "code first",
POJO-based. This sample uses the JAXB Data binding by default, but you can use Aegis Data
binding by removing a few lines detailed in the README.txt file.</td>
</tr>
<tr>
<td class='confluenceTd'>Spring HTTP</td>
<td class='confluenceTd'>java_first_spring_support</td>
<td class='confluenceTd'>Sample will lead you through creating your first service with
Spring. You'll learn how to write a simple JAX-WS "code-first" service, set up the HTTP Servlet
transport and use CXF's Spring beans.</td>
</tr>
<tr>
<td class='confluenceTd'>JAX-WS Asynchronous </td>
<td class='confluenceTd'>jaxws_async</td>
<td class='confluenceTd'>Sample using Document/Literal Style sample illustrates the
use of the JAX-WS asynchronous invocation model. </td>
</tr>
<tr>
<td class='confluenceTd'>JAX-WS Dispatch/Provider</td>
<td class='confluenceTd'>jaxws_dispatch_provider</td>
<td class='confluenceTd'>Sample demonstrates the use of JAX-WS Dispatch and Provider
interface.</td>
</tr>
<tr>
<td class='confluenceTd'>JAX-WS Handler</td>
<td class='confluenceTd'>jax_ws_handlers</td>
<td class='confluenceTd'>Sample shows how JAX-WS handlers are used.  The server uses
a SOAP protocol handler which logs incoming and outgoing messages to the console.  </td>
</tr>
</tbody></table>
</div>


<h2><a name="SampleProjects-WSDLfirstSamples"></a>WSDL-first Samples</h2>
<div class='table-wrap'>
<table class='confluenceTable'><tbody>
<tr>
<th class='confluenceTh'>Sample Name</th>
<th class='confluenceTh'>Sample Locations</th>
<th class='confluenceTh'>Sample Description</th>
</tr>
<tr>
<td class='confluenceTd'>WSDL First</td>
<td class='confluenceTd'>wsdl_first</td>
<td class='confluenceTd'> shows how to build and call a web service using a given WSDL
(also called Contract First). </td>
</tr>
<tr>
<td class='confluenceTd'>Hello World using Document/Literal Style and a Dynamic Client</td>
<td class='confluenceTd'>wsdl_first_dynamic_client</td>
<td class='confluenceTd'> Sample illustrates the use of the CXF dynamic client against
a standalone server using SOAP 1.1 over HTTP.</td>
</tr>
<tr>
<td class='confluenceTd'>Hello World using HTTPS communications</td>
<td class='confluenceTd'>wsdl_first_https</td>
<td class='confluenceTd'>Sample  takes the hello world sample a step further by doing
the communication using HTTPS.</td>
</tr>
<tr>
<td class='confluenceTd'>Hello World using BARE Style in XML Binding (pure XML over
HTTP)</td>
<td class='confluenceTd'>wsdl_first_pure_xml</td>
<td class='confluenceTd'> Sample illustrates the use of Apache CXF's xml binding. This
specific sample shows you how xml binding works with the doc-lit bare style.</td>
</tr>
<tr>
<td class='confluenceTd'>Hello World using RPC-Literal Style </td>
<td class='confluenceTd'>wsdl_first_rpclit</td>
<td class='confluenceTd'>Sample demonstrates the use of the hello world sample with
RPC-Literal style binding.</td>
</tr>
<tr>
<td class='confluenceTd'>Hello World SOAP12 using Document/Literal Style</td>
<td class='confluenceTd'>wsdl_first_soap12</td>
<td class='confluenceTd'>Sample shows the use of Apache CXF's SOAP 1.2 capabilities.</td>
</tr>
<tr>
<td class='confluenceTd'>Hello World using WRAPPED Style in XML Binding (pure XML over
HTTP)</td>
<td class='confluenceTd'>wsdl_first_xml_wrapper</td>
<td class='confluenceTd'>Sample illustrates the use of Apache CXF's xml binding. This
specific sample shows you how xml binding works with the doc-lit wrapped style.</td>
</tr>
</tbody></table>
</div>


<h2><a name="SampleProjects-JAXRSSamples"></a>JAX-RS Samples</h2>
<div class='table-wrap'>
<table class='confluenceTable'><tbody>
<tr>
<th class='confluenceTh'>Sample Name</th>
<th class='confluenceTh'>Sample Locations</th>
<th class='confluenceTh'>Sample Description</th>
</tr>
<tr>
<td class='confluenceTd'>RESTful Hello World</td>
<td class='confluenceTd'>restful_dispatch</td>
<td class='confluenceTd'>Sample shows REST based Web Services using the JAX-WS Provider/Dispatch.
</td>
</tr>
<tr>
<td class='confluenceTd'>RESTful HTTP Binding </td>
<td class='confluenceTd'>restful_http_binding</td>
<td class='confluenceTd'>Sample shows how to create RESTful services using CXF's HTTP
binding. The server in the sample creates 3 different endpoints: a RESTful XML endpoint, a
RESTful JSON endpoint, and a SOAP endpoint.</td>
</tr>
</tbody></table>
</div>


<h2><a name="SampleProjects-JavascriptSamples"></a>Javascript Samples</h2>
<div class='table-wrap'>
<table class='confluenceTable'><tbody>
<tr>
<th class='confluenceTh'>Sample Name</th>
<th class='confluenceTh'>Sample Locations</th>
<th class='confluenceTh'>Sample Description</th>
</tr>
<tr>
<td class='confluenceTd'>Generated JavaScript using JAX-WS APIs and JSR-181 </td>
<td class='confluenceTd'>js_browser_client_java_first</td>
<td class='confluenceTd'>Sample shows the generation of JavaScript client code from
a JAX-WS server.</td>
</tr>
<tr>
<td class='confluenceTd'>JavaScript Client </td>
<td class='confluenceTd'>js_browser_client_simple</td>
<td class='confluenceTd'>Sample using Document/Literal Style sample illustrates the
use of the JavaScript client generator. This sample deploys the service based on the wsdl_first
demo, and then provides a browser-compatible client that communicates with it. </td>
</tr>
<tr>
<td class='confluenceTd'>Hello World Client sample using JavaScript client </td>
<td class='confluenceTd'>js_client</td>
<td class='confluenceTd'>Sample demonstrates the use of (non-browser) JavaScript to
call a CXF server.</td>
</tr>
<tr>
<td class='confluenceTd'>Hello World sample using JavaScript and E4X Implementations</td>
<td class='confluenceTd'>js_provider</td>
<td class='confluenceTd'>Sample demonstrates the use of the JavaScript and E4X dynamic
languages to implement JAX-WS Providers.</td>
</tr>
</tbody></table>
</div>


<h2><a name="SampleProjects-WSSamples"></a>WS-* Samples</h2>
<div class='table-wrap'>
<table class='confluenceTable'><tbody>
<tr>
<th class='confluenceTh'>Sample Name</th>
<th class='confluenceTh'>Sample Locations</th>
<th class='confluenceTh'>Sample Description</th>
</tr>
<tr>
<td class='confluenceTd'>WS-Addressing</td>
<td class='confluenceTd'>ws_addressing</td>
<td class='confluenceTd'>Sample shows how WS-Addressing support in Apache CXF may be
enabled.  </td>
</tr>
<tr>
<td class='confluenceTd'>WS-Policy </td>
<td class='confluenceTd'>ws_policy</td>
<td class='confluenceTd'>Sample shows how the CXF WS-Policy framework in Apache CXF
uses WSDL 1.1 Policy attachments to enable the use of WS-Addressing.</td>
</tr>
<tr>
<td class='confluenceTd'>WS-RM</td>
<td class='confluenceTd'>ws_rm</td>
<td class='confluenceTd'>Sample shows how WS-ReliableMessaging support in Apache CXF
may be enabled.  </td>
</tr>
<tr>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'>ws_security\interopfest</td>
<td class='confluenceTd'>Sample is being used to help implement WS-SecurityPolicy, WS-SecureConversation,
and WS-Trust within CXF.</td>
</tr>
<tr>
<td class='confluenceTd'>WS-Security (Signature and Encryption) </td>
<td class='confluenceTd'>ws_security_sign_enc</td>
<td class='confluenceTd'>Sample shows how WS-Security support in Apache CXF may be enabled.
WS-Security can be configured to the Client and Server endpoints by adding WSS4JInterceptors.
Both Server and Client can be configured for outgoing and incoming interceptors. Various Actions
like, Timestamp, UsernameToken, Signature, Encryption, etc., can be applied to the interceptors
by passing appropriate configuration properties.</td>
</tr>
<tr>
<td class='confluenceTd'>WS-Security (UsernameToken and Timestamp)</td>
<td class='confluenceTd'>ws_security_ut</td>
<td class='confluenceTd'>Sample shows how WS-Security support in Apache CXF may be enabled.
WS-Security can be configured to the Client and Server endpoints by adding WSS4JInterceptors.
Both Server and Client can be configured for outgoing and incoming interceptors. Various Actions
like, Timestamp, UsernameToken, Signature, Encryption, etc., can be applied to the interceptors
by passing appropriate configuration properties.</td>
</tr>
<tr>
<td class='confluenceTd'>WS-Security (UsernameToken and Timestamp)</td>
<td class='confluenceTd'>ws_security\ut_policy</td>
<td class='confluenceTd'>Sample shows how WS-Security support in Apache CXF may be enabled.
WS-Security can be configured to the Client and Server endpoints by adding WS-SecurityPolicies
into the WSDL.</td>
</tr>
<tr>
<td class='confluenceTd'>WS-Security (Signature and UsernameToken)</td>
<td class='confluenceTd'>ws_security\ut_sign</td>
<td class='confluenceTd'>Sample shows how WS-Security support in Apache CXF may be enabled.
WS-Security can be configured to the Client and Server endpoints by adding WSS4JInterceptors.
Both Server and Client can be configured for outgoing and incoming interceptors. Various Actions
like, Timestamp, UsernameToken, Signature, Encryption, etc., can be applied to the interceptors
by passing appropriate configuration properties.</td>
</tr>
</tbody></table>
</div>


<h2><a name="SampleProjects-DataBindingsSamples"></a>Data Bindings Samples</h2>
<div class='table-wrap'>
<table class='confluenceTable'><tbody>
<tr>
<th class='confluenceTh'>Sample Name</th>
<th class='confluenceTh'>Sample Locations</th>
<th class='confluenceTh'>Sample Description</th>
</tr>
<tr>
<td class='confluenceTd'>Aegis </td>
<td class='confluenceTd'>aegis</td>
<td class='confluenceTd'>Sample illustrates how to develop a service that is "code first",
POJO-based. This sample uses the Aegis data binding.</td>
</tr>
<tr>
<td class='confluenceTd'>Aegis Standalone</td>
<td class='confluenceTd'>aegis_standalone</td>
<td class='confluenceTd'>Sample shows you how you can use Aegis with no web service
at all as a mapping between XML and Java.</td>
</tr>
<tr>
<td class='confluenceTd'>Hello World using Document/Literal Style and XMLBeans</td>
<td class='confluenceTd'>xmlbeans</td>
<td class='confluenceTd'>Sample illustrates the use of the JAX-WS APIs and with the
XMLBeans data binding to run a simple client against a standalone server using SOAP 1.1 over
HTTP.</td>
</tr>
</tbody></table>
</div>


<h2><a name="SampleProjects-JBISamples"></a>JBI Samples</h2>
<div class='table-wrap'>
<table class='confluenceTable'><tbody>
<tr>
<th class='confluenceTh'>Sample Name</th>
<th class='confluenceTh'>Sample Locations</th>
<th class='confluenceTh'>Sample Description</th>
</tr>
<tr>
<td class='confluenceTd'>JBI EPEC</td>
<td class='confluenceTd'>integration\JBI\external_provider_external_consumer</td>
<td class='confluenceTd'>Sample illustrates how external CXF client using SOAP/HTTP
can communicate with external CXF server using SOAP/JMS through JBI SOAP and JMS binding component
(as a transformer).</td>
</tr>
<tr>
<td class='confluenceTd'>JBI EPIC</td>
<td class='confluenceTd'>integration\JBI\external_provider_internal_consumer</td>
<td class='confluenceTd'>Sample illustrates how internal CXF client that is deployed
into CXF service engine can communicate with external CXF server through a generic JBI JMS
binding component (as a router).</td>
</tr>
<tr>
<td class='confluenceTd'>JBI and Handlers</td>
<td class='confluenceTd'>integration\JBI\handlers</td>
<td class='confluenceTd'>Sample shows how JAX-WS handlers can be used in CXF service
engine.  The sample consists of a CXF Service Engine and a test service assembly. The service
assembly contains two service units: a service provider (server) and a service consumer (client).</td>
</tr>
<tr>
<td class='confluenceTd'>JBI IPEC</td>
<td class='confluenceTd'>integration\JBI\internal_provider_external_consumer</td>
<td class='confluenceTd'>Sample illustrates how external CXF client can communicate
with internal CXF server which is deployed into CXF service engine through a generic JBI binding
component (as a router).</td>
</tr>
<tr>
<td class='confluenceTd'>JBI IPIC </td>
<td class='confluenceTd'>integration\JBI\internal_provider_internal_consumer</td>
<td class='confluenceTd'>Sample shows how CXF can be used to implement service implementations
for a Java Business Integration (JBI) container. The sample consists of a CXF Service Engine
and a test service assembly. The service assembly contains two service units: a service provider
(server) and a service consumer (client).</td>
</tr>
</tbody></table>
</div>


<h2><a name="SampleProjects-JCASamples"></a>JCA Samples</h2>
<div class='table-wrap'>
<table class='confluenceTable'><tbody>
<tr>
<th class='confluenceTh'>Sample Name</th>
<th class='confluenceTh'>Sample Locations</th>
<th class='confluenceTh'>Sample Description</th>
</tr>
<tr>
<td class='confluenceTd'>Inbound Connection CXF J2EE</td>
<td class='confluenceTd'>integration\jca\inbound</td>
<td class='confluenceTd'>Sample shows how to expose an Enterprise Java Bean over SOAP/HTTP
using CXF. </td>
</tr>
<tr>
<td class='confluenceTd'>CXF Inbound Resource Adapter Message Driven Bean</td>
<td class='confluenceTd'>integration\jca\inbound-mdb*</td>
<td class='confluenceTd'>Three samples... new inbound resource adapter samples (inbound-mdb,
inbound-mdb-dispatch, and inbound-mdb-dispatch-wsdl). This series of inbound adapter samples
leverages the JCA Specification Version 1.5 and Message Driven Bean in EJB 2.1 to activate
CXF service endpoint facade inside the application server.  For more information about the
JCA  message inflow model, please refer to chapter 12 (Message Inflow) of the JCA Specification
1.5.</td>
</tr>
<tr>
<td class='confluenceTd'>Outbound Connection CXF J2EE</td>
<td class='confluenceTd'>integration\jca\outbound</td>
<td class='confluenceTd'>Sample shows how to connect with an Apache CXF Web service
using a Servlet deployed in an application server; Hello World (SOAP over HTTP)  </td>
</tr>
<tr>
<td class='confluenceTd'>CXF Outbound Resource Adapter IBM WebSphere 6.1</td>
<td class='confluenceTd'>integration\jca\outbound.wsa61</td>
<td class='confluenceTd'>Sample demonstrates the new CXF outbound resource adapter.
 </td>
</tr>
</tbody></table>
</div>


<h2><a name="SampleProjects-MiscellaneousSamples"></a>Miscellaneous Samples</h2>
<div class='table-wrap'>
<table class='confluenceTable'><tbody>
<tr>
<th class='confluenceTh'>Sample Name</th>
<th class='confluenceTh'>Sample Locations</th>
<th class='confluenceTh'>Sample Description</th>
</tr>
<tr>
<td class='confluenceTd'>Callback</td>
<td class='confluenceTd'>callback</td>
<td class='confluenceTd'>Sample shows a client creating a callback object by passing
an EndpointReferenceType to the server. The EndpointReferenceType is then used by the server
to call back on the callback object.</td>
</tr>
<tr>
<td class='confluenceTd'>Stream GZIP Interceptor</td>
<td class='confluenceTd'>configuration_interceptor</td>
<td class='confluenceTd'> Example shows how to develop an interceptor and add the interceptor
into the interceptor chain through configuration.</td>
</tr>
<tr>
<td class='confluenceTd'>Groovy with Spring Support</td>
<td class='confluenceTd'>groovy_spring_support</td>
<td class='confluenceTd'>Sample shows how to create groovy web service implemented with
Spring. You'll learn how to write a simple groovy script web service. </td>
</tr>
<tr>
<td class='confluenceTd'>Co-located using Document/Literal Style</td>
<td class='confluenceTd'>in_jvm_transport</td>
<td class='confluenceTd'>&nbsp;</td>
</tr>
<tr>
<td class='confluenceTd'>JMS Transport</td>
<td class='confluenceTd'>jms_pubsub</td>
<td class='confluenceTd'>Sample using Document-Literal Style sample demonstrates use
of the Document-Literal style binding over JMS transport using the pub/sub mechanism.</td>
</tr>
<tr>
<td class='confluenceTd'>JMS Transport</td>
<td class='confluenceTd'>jms_queue</td>
<td class='confluenceTd'>Sample using Document-Literal Style sample demonstrates use
of the Document-Literal style binding over JMS Transport using the queue mechanism.</td>
</tr>
<tr>
<td class='confluenceTd'>MTOM for SWA &amp; XOP</td>
<td class='confluenceTd'>mtom</td>
<td class='confluenceTd'>Sample illustrates the use of a SOAP message with an attachment
and XML-binary Optimized Packaging.</td>
</tr>
<tr>
<td class='confluenceTd'>MTOSI Alarm Retrieval (SOAP OVER HTTP)</td>
<td class='confluenceTd'>mtosi_1.1\alarm_retrieval</td>
<td class='confluenceTd'>Sample demonstrates a simple CXF based client/server Web service
implementing the MTOSI alarm retrieval service. </td>
</tr>
<tr>
<td class='confluenceTd'>Ruby Script</td>
<td class='confluenceTd'>ruby_spring_support</td>
<td class='confluenceTd'>Sample shows how to create ruby web service implemented with
Spring. You'll learn how to write a simple ruby script web service.</td>
</tr>
<tr>
<td class='confluenceTd'>SOAP Headers</td>
<td class='confluenceTd'>soap_header</td>
<td class='confluenceTd'>Sample illustrates Apache CXF's support for SOAP headers. 
</td>
</tr>
</tbody></table>
</div>


<h2><a name="SampleProjects-CORBASamples"></a>CORBA Samples</h2>
<div class='table-wrap'>
<table class='confluenceTable'><tbody>
<tr>
<th class='confluenceTh'>Sample Name</th>
<th class='confluenceTh'>Sample Locations</th>
<th class='confluenceTh'>Sample Description</th>
</tr>
<tr>
<td class='confluenceTd'>CORBA Bank</td>
<td class='confluenceTd'>corba\bank</td>
<td class='confluenceTd'>Sample illustrates the use of JAX-WS API's for creating a service
that uses the CORBA/IIOP protocol for communication.  It also shows throwing exceptions across
that connection.</td>
</tr>
<tr>
<td class='confluenceTd'>CORBA Bank with WS-Addressing</td>
<td class='confluenceTd'>corba\bank_ws_addressing</td>
<td class='confluenceTd'>Sample illustrates the use of the JAX-WS APIs to run a simple
"Bank" application using CORBA/IIOP instead of SOAP/XML.  It also contains standard CORBA
client/server applications using pure CORBA code so you can see the JAX-WS client hit a pure
CORBA server and a pure CORBA client hit the JAX-WS server. </td>
</tr>
<tr>
<td class='confluenceTd'>CORBA Hello World</td>
<td class='confluenceTd'>corba\hello_world</td>
<td class='confluenceTd'>Sample illustrates the use of the JAX-WS APIs to run a simple
"hello world" application using CORBA/IIOP instead of SOAP/XML.  It also contains standard
CORBA client/server applications using pure CORBA code so you can see the JAX-WS client hit
a pure CORBA server and a pure CORBA client hit the JAX-WS server.</td>
</tr>
</tbody></table>
</div>

    </div>
        <div id="commentsSection" class="wiki-content pageSection">
        <div style="float: right;">
            <a href="https://cwiki.apache.org/confluence/users/viewnotifications.action"
class="grey">Change Notification Preferences</a>
        </div>
        <a href="https://cwiki.apache.org/confluence/display/CXF20DOC/Sample+Projects">View
Online</a>
        |
        <a href="https://cwiki.apache.org/confluence/pages/diffpagesbyversion.action?pageId=24183714&revisedVersion=9&originalVersion=8">View
Changes</a>
                |
        <a href="https://cwiki.apache.org/confluence/display/CXF20DOC/Sample+Projects?showComments=true&amp;showCommentArea=true#addcomment">Add
Comment</a>
            </div>
</div>
</div>
</div>
</div>
</body>
</html>

Mime
View raw message