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 > 2.5 Migration Guide
Date Fri, 11 Nov 2011 12:59:00 GMT
<html>
<head>
    <base href="https://cwiki.apache.org/confluence">
            <link rel="stylesheet" href="/confluence/s/2042/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/2.5+Migration+Guide">2.5
Migration Guide</a></h2>
    <h4>Page <b>edited</b> by             <a href="https://cwiki.apache.org/confluence/display/~sergey_beryozkin">Sergey
Beryozkin</a>
    </h4>
        <br/>
                         <h4>Changes (3)</h4>
                                 
    
<div id="page-diffs">
                    <table class="diff" cellpadding="0" cellspacing="0">
    
            <tr><td class="diff-snipped" >...<br></td></tr>
            <tr><td class="diff-unchanged" > * Karaf commands  <br> ** cxf:list-busses
<br></td></tr>
            <tr><td class="diff-changed-lines" >** cxf:list-endpoints <span
class="diff-changed-words"><span class="diff-added-chars"style="background-color: #dfd;">\</span>[busid]</span>
<br></td></tr>
            <tr><td class="diff-unchanged" > ** cxf:stop-endpoint busid endpointName
<br> ** cxf:start-endpoint busid endpointName <br> * New WS-Notification Service
and API&#39;s   (see ws_notification sample) <br> * New Security Token Service 
(see sts sample) <br></td></tr>
            <tr><td class="diff-changed-lines" >* Initial <span class="diff-changed-words"><span
class="diff-added-chars"style="background-color: #dfd;">[</span>OAuth<span class="diff-added-chars"style="background-color:
#dfd;">|JAX-RS OAuth]</span></span> support for JAX-RS (see oauth sample) <br></td></tr>
            <tr><td class="diff-added-lines" style="background-color: #dfd;">
* Initial [XML Security|JAX-RS XML Security] and [SAML|JAX-RS SAML] support for JAX-RS. <br></td></tr>
            <tr><td class="diff-unchanged" > <br>h3. Removed modules <br></td></tr>
            <tr><td class="diff-snipped" >...<br></td></tr>
    
            </table>
    </div>                            <h4>Full Content</h4>
                    <div class="notificationGreySide">
        <h3><a name="2.5MigrationGuide-NewFeatures"></a>New Features</h3>
<ul>
	<li>WS-RM is being updated to support 1.1. Also included are some feature improvements
such as sequence demarcation by WS-RM client.</li>
	<li>WS-RM components are fully JMX instrumented. Various status information about the
WS-RM processing such as sequences, retries, acknowledgments can be monitored over JMX.</li>
	<li>WS-MetadataExchange support for server side.  CXF services will now respond properly
to WS-MEX requests.</li>
	<li>&lt;cxf:workqueue&gt; configuration to configure the workqueues that CXF
uses.</li>
	<li>Karaf commands
	<ul>
		<li>cxf:list-busses</li>
		<li>cxf:list-endpoints [busid]</li>
		<li>cxf:stop-endpoint busid endpointName</li>
		<li>cxf:start-endpoint busid endpointName</li>
	</ul>
	</li>
	<li>New WS-Notification Service and API's   (see ws_notification sample)</li>
	<li>New Security Token Service  (see sts sample)</li>
	<li>Initial <a href="/confluence/display/CXF20DOC/JAX-RS+OAuth" title="JAX-RS OAuth">OAuth</a>
support for JAX-RS (see oauth sample)</li>
	<li>Initial <a href="/confluence/display/CXF20DOC/JAX-RS+XML+Security" title="JAX-RS
XML Security">XML Security</a> and <a href="/confluence/display/CXF20DOC/JAX-RS+SAML"
title="JAX-RS SAML">SAML</a> support for JAX-RS.</li>
</ul>


<h3><a name="2.5MigrationGuide-Removedmodules"></a>Removed modules</h3>
<ul>
	<li>All the JBI related modules have been removed from CXF.  If using CXF with JBI,
it's recommended to use the ServiceMix CXF JBI components.  Any code that those modules needed
from past versions of CXF will be moved into those ServiceMix components.</li>
</ul>



<h3><a name="2.5MigrationGuide-APIChanges"></a>API Changes</h3>
<ul>
	<li>The AlternativeSelector.selectAlternative method for selecting the Policy alternative
to use now requires a new List&lt;List&lt;Assertion&gt;&gt; parameter which,
on the server side, is the list of Alternatives that the incoming request matched.  The AlternativeSelector
can use that to aid in selecting the best response alternative to use.</li>
	<li>The PolicyEngine.getEffectiveServerResponsePolicy now takes an additional parameter
of the incoming policy alternatives that were matched.   It can be null for the previous behavior.</li>
</ul>




<h3><a name="2.5MigrationGuide-RuntimeChanges"></a>Runtime Changes</h3>
<ul>
	<li>If a MBeanServer is available in the Spring context or as an OSGi server (when
running in OSGi), the InstrumentationManger will be automatically enabled and will use that
MBeanServer and the CXF MBeans will be registered.</li>
	<li>The default bus ID used for the Bus MBean servers when running in OSGi now contains
the bundle context SymbolicName to make identifying the appropriate Bus easier.</li>
	<li>Many calls that can result in Security checks are now wrapped via AccessControll.doPrivileged
calls which can allow finer grained control of the permissions that CXF requires.   See <a
href="https://issues.apache.org/jira/browse/CXF-2683" class="external-link" rel="nofollow">https://issues.apache.org/jira/browse/CXF-2683</a>
.</li>
	<li>An empty partial response message will be returned as an HTTP 202 response with
no content instead of an HTTP 200 with an empty SOAP body message.</li>
	<li>The Logging interceptors now log using service specific categories/loggers instead
of just LoggingInInterceptor/LoggingOutInterceptor.   The names of the logger that is used
is org.apache.cxf.services.ServiceName.PortName.PortTypeName.   This allows the user to configure
specific per service filters and formatters in their logging configuration.</li>
</ul>



    </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/2.5+Migration+Guide">View
Online</a>
        |
        <a href="https://cwiki.apache.org/confluence/pages/diffpagesbyversion.action?pageId=27821383&revisedVersion=15&originalVersion=14">View
Changes</a>
                |
        <a href="https://cwiki.apache.org/confluence/display/CXF20DOC/2.5+Migration+Guide?showComments=true&amp;showCommentArea=true#addcomment">Add
Comment</a>
            </div>
</div>
</div>
</div>
</div>
</body>
</html>

Mime
View raw message