cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r991539 - in /websites/production/cxf/content: cache/docs.pageCache docs/application-server-specific-configuration-guide.html docs/jaxrs-services-configuration.html docs/springboot.html
Date Mon, 27 Jun 2016 16:47:41 GMT
Author: buildbot
Date: Mon Jun 27 16:47:41 2016
New Revision: 991539

Log:
Production update by buildbot for cxf

Modified:
    websites/production/cxf/content/cache/docs.pageCache
    websites/production/cxf/content/docs/application-server-specific-configuration-guide.html
    websites/production/cxf/content/docs/jaxrs-services-configuration.html
    websites/production/cxf/content/docs/springboot.html

Modified: websites/production/cxf/content/cache/docs.pageCache
==============================================================================
Binary files - no diff available.

Modified: websites/production/cxf/content/docs/application-server-specific-configuration-guide.html
==============================================================================
--- websites/production/cxf/content/docs/application-server-specific-configuration-guide.html
(original)
+++ websites/production/cxf/content/docs/application-server-specific-configuration-guide.html
Mon Jun 27 16:47:41 2016
@@ -118,11 +118,11 @@ Apache CXF -- Application Server Specifi
            <!-- Content -->
            <div class="wiki-content">
 <div id="ConfluenceContent"><p>This document provides app server-specific configuration
information for running Apache CXF.</p><p><style type="text/css">/*<![CDATA[*/
-div.rbtoc1465487217732 {padding: 0px;}
-div.rbtoc1465487217732 ul {list-style: disc;margin-left: 0px;padding-left: 20px;}
-div.rbtoc1465487217732 li {margin-left: 0px;padding-left: 0px;}
+div.rbtoc1467046024221 {padding: 0px;}
+div.rbtoc1467046024221 ul {list-style: disc;margin-left: 0px;padding-left: 20px;}
+div.rbtoc1467046024221 li {margin-left: 0px;padding-left: 0px;}
 
-/*]]>*/</style></p><div class="toc-macro rbtoc1465487217732">
+/*]]>*/</style></p><div class="toc-macro rbtoc1467046024221">
 <ul class="toc-indentation"><li><a shape="rect" href="#ApplicationServerSpecificConfigurationGuide-JBossApplicationServer">JBoss
Application Server</a></li><li><a shape="rect" href="#ApplicationServerSpecificConfigurationGuide-SpringBoot">SpringBoot</a></li><li><a
shape="rect" href="#ApplicationServerSpecificConfigurationGuide-WebLogic">WebLogic</a>
 <ul class="toc-indentation"><li><a shape="rect" href="#ApplicationServerSpecificConfigurationGuide-Putjarsinendorsedfolder">Put
jars in endorsed folder</a></li><li><a shape="rect" href="#ApplicationServerSpecificConfigurationGuide-Packwarinanear,deploytheearwithweblogic-application.xml">Pack
war in an ear, deploy the ear with weblogic-application.xml</a></li></ul>
 </li><li><a shape="rect" href="#ApplicationServerSpecificConfigurationGuide-Websphere">Websphere</a>
@@ -147,7 +147,7 @@ div.rbtoc1465487217732 li {margin-left:
     &lt;/deployment&gt;
 &lt;/jboss-deployment-structure&gt;
 </pre>
-</div></div><p>this approach offers the fastest route to deploying CXF
apps on JBoss AS; the drawback is that no special ws integration with JBoss AS internals is
available</p></li></ul><ul><li>rely on JBossWS integration and
the Apache CXF libraries included in the application server (<a shape="rect" class="external-link"
href="https://docs.jboss.org/author/display/AS71/Webservices+reference+guide" rel="nofollow">documentation</a>):
this implies removing any Apache CXF libs from the ws deployment as well as any other dependencies
which is already included in JBoss AS (including any Java EE API jar); if included, the optional
web.xml descriptor is to be rewritten according to JBossWS convention (see <a shape="rect"
class="external-link" href="https://docs.jboss.org/author/display/AS71/JAX-WS+User+Guide"
rel="nofollow">documentation</a>); the Spring support is optional in JBoss AS and
Spring based endpoint declaration is not the default/preferred configuration approach for
ws endpoin
 ts, hence users willing to declare endpoints using Spring needs to create a org.springframework.spring
module and put their endpoint declarations in a jbossws-cxf.xml descriptor; if the user application
makes use of any lib besides tha JavaEE api, proper module <a shape="rect" class="external-link"
href="https://docs.jboss.org/author/display/AS71/Class+Loading+in+AS7" rel="nofollow">dependencies</a>
are to be declared either using the jboss-deployment-structure.xml descriptor or the archive
MANIFEST.MF (few directions on ws modules available <a shape="rect" class="external-link"
href="https://docs.jboss.org/author/display/AS71/JBoss+Modules+and+WS+applications" rel="nofollow">here</a>)</li></ul><p>The
second approach allows leveraging the full JavaEE 6 stack (including e.g. JSR-109) as well
as specific ws integration with JBoss AS internals.</p><h2 id="ApplicationServerSpecificConfigurationGuide-SpringBoot">SpringBoot</h2><p>Please
see CXF <a shape="rect" href="springboot.html">Spri
 ngBoot</a> documenation.</p><p>JAX-WS: see&#160;<a shape="rect"
class="external-link" href="https://github.com/apache/cxf/tree/master/distribution/src/main/release/samples/jaxws_spring_boot"
rel="nofollow">JAX-WS Spring Boot</a>&#160;demo.</p><p>JAX-RS: &#160;see&#160;<a
shape="rect" class="external-link" href="https://github.com/apache/cxf/tree/master/distribution/src/main/release/samples/jax_rs/jaxrs_spring_boot"
rel="nofollow">JAX-RS Spring Boot</a>&#160;and&#160;<a shape="rect" class="external-link"
href="https://github.com/apache/cxf/tree/master/distribution/src/main/release/samples/jax_rs/jaxrs_spring_boot_scan"
rel="nofollow">JAX-RS Spring Boot Scan</a>&#160;demos.</p><h2 id="ApplicationServerSpecificConfigurationGuide-WebLogic">WebLogic</h2><p>There
are two ways to deploy a CXF WAR archive in WebLogic. (<strong>Note: This has been validated
on WebLogic9.2.</strong>)</p><h4 id="ApplicationServerSpecificConfigurationGuide-Putjarsinendorsedfolder">Put
jars in endorsed folder</h
 4><ul><li>Put the geronimo-ws-metadata_2.0_spec-1.1.1.jar in the $Weblogic_Home/jdk_../jre/lib/endorsed
folder.</li><li>Deploy the CXF war in weblogic.<br clear="none"> (This way
is not recommended, since it might break the application server itself. The method below is
preferred, as it impacts a single module only.)</li></ul><h4 id="ApplicationServerSpecificConfigurationGuide-Packwarinanear,deploytheearwithweblogic-application.xml">Pack
war in an ear, deploy the ear with weblogic-application.xml</h4><ul><li><p>Create
a standard J2EE application.xml file in the META-INF folder. (Take $CXF_HOME/samples/java_first_spring_support
for example)</p><div class="code panel pdl" style="border-width: 1px;"><div
class="codeContent panelContent pdl">
+</div></div><p>this approach offers the fastest route to deploying CXF
apps on JBoss AS; the drawback is that no special ws integration with JBoss AS internals is
available</p></li></ul><ul><li>rely on JBossWS integration and
the Apache CXF libraries included in the application server (<a shape="rect" class="external-link"
href="https://docs.jboss.org/author/display/AS71/Webservices+reference+guide" rel="nofollow">documentation</a>):
this implies removing any Apache CXF libs from the ws deployment as well as any other dependencies
which is already included in JBoss AS (including any Java EE API jar); if included, the optional
web.xml descriptor is to be rewritten according to JBossWS convention (see <a shape="rect"
class="external-link" href="https://docs.jboss.org/author/display/AS71/JAX-WS+User+Guide"
rel="nofollow">documentation</a>); the Spring support is optional in JBoss AS and
Spring based endpoint declaration is not the default/preferred configuration approach for
ws endpoin
 ts, hence users willing to declare endpoints using Spring needs to create a org.springframework.spring
module and put their endpoint declarations in a jbossws-cxf.xml descriptor; if the user application
makes use of any lib besides tha JavaEE api, proper module <a shape="rect" class="external-link"
href="https://docs.jboss.org/author/display/AS71/Class+Loading+in+AS7" rel="nofollow">dependencies</a>
are to be declared either using the jboss-deployment-structure.xml descriptor or the archive
MANIFEST.MF (few directions on ws modules available <a shape="rect" class="external-link"
href="https://docs.jboss.org/author/display/AS71/JBoss+Modules+and+WS+applications" rel="nofollow">here</a>)</li></ul><p>The
second approach allows leveraging the full JavaEE 6 stack (including e.g. JSR-109) as well
as specific ws integration with JBoss AS internals.</p><h2 id="ApplicationServerSpecificConfigurationGuide-SpringBoot">SpringBoot</h2><p>Please
see CXF <a shape="rect" href="springboot.html">Spri
 ngBoot</a> documenation.</p><p>JAX-WS: see&#160;<a shape="rect"
class="external-link" href="https://github.com/apache/cxf/tree/master/distribution/src/main/release/samples/jaxws_spring_boot"
rel="nofollow">JAX-WS Spring Boot</a>&#160;demo.</p><p>JAX-RS: &#160;see&#160;<a
shape="rect" class="external-link" href="https://github.com/apache/cxf/tree/master/distribution/src/main/release/samples/jax_rs/spring_boot"
rel="nofollow">JAX-RS Spring Boot</a>&#160;and&#160;<a shape="rect" class="external-link"
href="https://github.com/apache/cxf/tree/master/distribution/src/main/release/samples/jax_rs/spring_boot_scan"
rel="nofollow">JAX-RS Spring Boot Scan</a>&#160;demos.</p><h2 id="ApplicationServerSpecificConfigurationGuide-WebLogic">WebLogic</h2><p>There
are two ways to deploy a CXF WAR archive in WebLogic. (<strong>Note: This has been validated
on WebLogic9.2.</strong>)</p><h4 id="ApplicationServerSpecificConfigurationGuide-Putjarsinendorsedfolder">Put
jars in endorsed folder</h4><ul><li>Pu
 t the geronimo-ws-metadata_2.0_spec-1.1.1.jar in the $Weblogic_Home/jdk_../jre/lib/endorsed
folder.</li><li>Deploy the CXF war in weblogic.<br clear="none"> (This way
is not recommended, since it might break the application server itself. The method below is
preferred, as it impacts a single module only.)</li></ul><h4 id="ApplicationServerSpecificConfigurationGuide-Packwarinanear,deploytheearwithweblogic-application.xml">Pack
war in an ear, deploy the ear with weblogic-application.xml</h4><ul><li><p>Create
a standard J2EE application.xml file in the META-INF folder. (Take $CXF_HOME/samples/java_first_spring_support
for example)</p><div class="code panel pdl" style="border-width: 1px;"><div
class="codeContent panelContent pdl">
 <pre class="brush: xml; gutter: false; theme: Default" style="font-size:12px;">&lt;?xml
version="1.0" encoding="UTF-8"?&gt;
 &lt;!DOCTYPE application PUBLIC
 		"-//Sun Microsystems, Inc.//DTD J2EE Application 1.3//EN"

Modified: websites/production/cxf/content/docs/jaxrs-services-configuration.html
==============================================================================
--- websites/production/cxf/content/docs/jaxrs-services-configuration.html (original)
+++ websites/production/cxf/content/docs/jaxrs-services-configuration.html Mon Jun 27 16:47:41
2016
@@ -118,11 +118,11 @@ Apache CXF -- JAXRS Services Configurati
            <!-- Content -->
            <div class="wiki-content">
 <div id="ConfluenceContent"><p>&#160;</p><p>&#160;</p><p>&#160;</p><p>&#160;<span
class="inline-first-p" style="font-size:2em;font-weight:bold">JAX-RS : Services Configuration</span>&#160;</p><p>&#160;</p><p>&#160;</p><p>&#160;</p><p><style
type="text/css">/*<![CDATA[*/
-div.rbtoc1465487218687 {padding: 0px;}
-div.rbtoc1465487218687 ul {list-style: disc;margin-left: 0px;}
-div.rbtoc1465487218687 li {margin-left: 0px;padding-left: 0px;}
+div.rbtoc1467046025196 {padding: 0px;}
+div.rbtoc1467046025196 ul {list-style: disc;margin-left: 0px;}
+div.rbtoc1467046025196 li {margin-left: 0px;padding-left: 0px;}
 
-/*]]>*/</style></p><div class="toc-macro rbtoc1465487218687">
+/*]]>*/</style></p><div class="toc-macro rbtoc1467046025196">
 <ul class="toc-indentation"><li><a shape="rect" href="#JAXRSServicesConfiguration-ConfiguringJAX-RSservicesprogrammatically">Configuring
JAX-RS services programmatically</a></li><li><a shape="rect" href="#JAXRSServicesConfiguration-OSGI">OSGI</a>
 <ul class="toc-indentation"><li><a shape="rect" href="#JAXRSServicesConfiguration-Blueprint">Blueprint</a></li><li><a
shape="rect" href="#JAXRSServicesConfiguration-Spring">Spring</a></li></ul>
 </li><li><a shape="rect" href="#JAXRSServicesConfiguration-SpringBoot">Spring
Boot</a></li><li><a shape="rect" href="#JAXRSServicesConfiguration-ConfiguringJAX-RSendpointsprogrammaticallywithoutSpring">Configuring
JAX-RS endpoints programmatically without Spring</a></li><li><a shape="rect"
href="#JAXRSServicesConfiguration-BlueprintWeb">Blueprint Web</a>
@@ -203,7 +203,7 @@ sf.create();
 &lt;/beans&gt;
 
 </pre>
-</div></div><h1 id="JAXRSServicesConfiguration-SpringBoot">Spring Boot</h1><p>Please
see CXF&#160;<a shape="rect" href="springboot.html">SpringBoot</a>&#160;documenation.&#160;</p><p>Please
see <a shape="rect" class="external-link" href="https://github.com/apache/cxf/tree/master/distribution/src/main/release/samples/jax_rs/jaxrs_spring_boot"
rel="nofollow">JAX-RS Spring Boot</a> and <a shape="rect" class="external-link"
href="https://github.com/apache/cxf/tree/master/distribution/src/main/release/samples/jax_rs/jaxrs_spring_boot_scan"
rel="nofollow">JAX-RS Spring Boot Scan</a> demos.</p><h1 id="JAXRSServicesConfiguration-ConfiguringJAX-RSendpointsprogrammaticallywithoutSpring">Configuring
JAX-RS endpoints programmatically without Spring</h1><p>Note that even though
no Spring is explicitly used in the previous section, it is still used by default to have
various CXF components registered with the bus such as transport factories. If no Spring libraries
are available on the classpath t
 hen please follow the following example :</p><div class="code panel pdl" style="border-width:
1px;"><div class="codeContent panelContent pdl">
+</div></div><h1 id="JAXRSServicesConfiguration-SpringBoot">Spring Boot</h1><p>Please
see CXF&#160;<a shape="rect" href="springboot.html">SpringBoot</a>&#160;documenation.&#160;</p><p>Please
see <a shape="rect" class="external-link" href="https://github.com/apache/cxf/tree/master/distribution/src/main/release/samples/jax_rs/spring_boot"
rel="nofollow">JAX-RS Spring Boot</a> and <a shape="rect" class="external-link"
href="https://github.com/apache/cxf/tree/master/distribution/src/main/release/samples/jax_rs/spring_boot_scan/application"
rel="nofollow">JAX-RS Spring Boot Scan</a> demos.</p><h1 id="JAXRSServicesConfiguration-ConfiguringJAX-RSendpointsprogrammaticallywithoutSpring">Configuring
JAX-RS endpoints programmatically without Spring</h1><p>Note that even though
no Spring is explicitly used in the previous section, it is still used by default to have
various CXF components registered with the bus such as transport factories. If no Spring libraries
are available on the classpath t
 hen please follow the following example :</p><div class="code panel pdl" style="border-width:
1px;"><div class="codeContent panelContent pdl">
 <pre class="brush: java; gutter: false; theme: Default" style="font-size:12px;">JAXRSServerFactoryBean
sf = new JAXRSServerFactoryBean();
 sf.setResourceClasses(CustomerService.class);
 sf.setResourceProvider(CustomerService.class, new SingletonResourceProvider(new CustomerService()));

Modified: websites/production/cxf/content/docs/springboot.html
==============================================================================
--- websites/production/cxf/content/docs/springboot.html (original)
+++ websites/production/cxf/content/docs/springboot.html Mon Jun 27 16:47:41 2016
@@ -117,11 +117,11 @@ Apache CXF -- SpringBoot
            <!-- Content -->
            <div class="wiki-content">
 <div id="ConfluenceContent"><p><style type="text/css">/*<![CDATA[*/
-div.rbtoc1466765240659 {padding: 0px;}
-div.rbtoc1466765240659 ul {list-style: disc;margin-left: 0px;}
-div.rbtoc1466765240659 li {margin-left: 0px;padding-left: 0px;}
+div.rbtoc1467046025565 {padding: 0px;}
+div.rbtoc1467046025565 ul {list-style: disc;margin-left: 0px;}
+div.rbtoc1467046025565 li {margin-left: 0px;padding-left: 0px;}
 
-/*]]>*/</style></p><div class="toc-macro rbtoc1466765240659">
+/*]]>*/</style></p><div class="toc-macro rbtoc1467046025565">
 <ul class="toc-indentation"><li><a shape="rect" href="#SpringBoot-SpringBootCXFJAX-WSStarter">Spring
Boot CXF JAX-WS Starter</a>
 <ul class="toc-indentation"><li><a shape="rect" href="#SpringBoot-Features">Features</a></li><li><a
shape="rect" href="#SpringBoot-Setup">Setup</a></li><li><a shape="rect"
href="#SpringBoot-AdditionalConfiguration">Additional Configuration</a></li></ul>
 </li><li><a shape="rect" href="#SpringBoot-SpringBootCXFJAX-RSStarter">Spring
Boot CXF&#160;JAX-RS Starter</a>
@@ -133,7 +133,7 @@ div.rbtoc1466765240659 li {margin-left:
     &lt;artifactId&gt;cxf-spring-boot-starter-jaxws&lt;/artifactId&gt;
     &lt;version&gt;3.1.7&lt;/version&gt;
 &lt;/dependency&gt;</pre>
-</div></div><p>&#160;</p><h2 id="SpringBoot-AdditionalConfiguration">Additional
Configuration</h2><p>Use "cxf.path" property to customize a CXFServlet URL pattern.</p><h1
id="SpringBoot-SpringBootCXFJAX-RSStarter">Spring Boot CXF&#160;JAX-RS Starter</h1><h2
id="SpringBoot-Features.1">Features</h2><p>Registers CXF Servlet with a &#160;"/services/*"
URL pattern for serving CXF JAX-RS endpoints.</p><p>Optionally auto-discovers
JAX-RS root resources and providers and creates a JAX-RS endpoint.</p><p>Please
see <a shape="rect" class="external-link" href="https://github.com/apache/cxf/tree/master/distribution/src/main/release/samples/jax_rs/jaxrs_spring_boot"
rel="nofollow">JAX-RS Spring Boot</a> and <a shape="rect" class="external-link"
href="https://github.com/apache/cxf/tree/master/distribution/src/main/release/samples/jax_rs/jaxrs_spring_boot_scan"
rel="nofollow">JAX-RS Spring Boot Scan</a> demos.</p><h2 id="SpringBoot-Setup.1">Setup</h2><div
class="code panel pdl" style="border-width
 : 1px;"><div class="codeHeader panelHeader pdl" style="border-bottom-width: 1px;"><b>JAX-RS
Starter</b></div><div class="codeContent panelContent pdl">
+</div></div><p>&#160;</p><h2 id="SpringBoot-AdditionalConfiguration">Additional
Configuration</h2><p>Use "cxf.path" property to customize a CXFServlet URL pattern.</p><h1
id="SpringBoot-SpringBootCXFJAX-RSStarter">Spring Boot CXF&#160;JAX-RS Starter</h1><h2
id="SpringBoot-Features.1">Features</h2><p>Registers CXF Servlet with a &#160;"/services/*"
URL pattern for serving CXF JAX-RS endpoints.</p><p>Optionally auto-discovers
JAX-RS root resources and providers and creates a JAX-RS endpoint.</p><p>Please
see <a shape="rect" class="external-link" href="https://github.com/apache/cxf/tree/master/distribution/src/main/release/samples/jax_rs/spring_boot"
rel="nofollow">JAX-RS Spring Boot</a> and <a shape="rect" class="external-link"
href="https://github.com/apache/cxf/tree/master/distribution/src/main/release/samples/jax_rs/spring_boot_scan/application"
rel="nofollow">JAX-RS Spring Boot Scan</a> demos.</p><h2 id="SpringBoot-Setup.1">Setup</h2><div
class="code panel pdl" style="border-width
 : 1px;"><div class="codeHeader panelHeader pdl" style="border-bottom-width: 1px;"><b>JAX-RS
Starter</b></div><div class="codeContent panelContent pdl">
 <pre class="brush: xml; gutter: false; theme: Default" style="font-size:12px;">&lt;dependency&gt;
     &lt;groupId&gt;org.apache.cxf&lt;/groupId&gt;
     &lt;artifactId&gt;cxf-spring-boot-starter-jaxrs&lt;/artifactId&gt;



Mime
View raw message