cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From conflue...@apache.org
Subject [CONF] Apache CXF > Distributed OSGi
Date Sun, 04 Nov 2012 20:17:00 GMT
<html>
<head>
    <base href="https://cwiki.apache.org/confluence">
            <link rel="stylesheet" href="/confluence/s/2042/9/15/_/styles/combined.css?spaceKey=CXF&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/CXF/Distributed+OSGi">Distributed
OSGi</a></h2>
    <h4>Page <b>edited</b> by             <a href="https://cwiki.apache.org/confluence/display/~christian%2Bschneider">Christian
Schneider</a>
    </h4>
        <br/>
                         <h4>Changes (1)</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" >| [ds|DOSGi DS Demo page] | Shows
how Distributed OSGi can be used with OSGi Declarative Services (DS). | <br>| [discovery|DOSGi
Discovery Demo page]| Shows how to use Distributed OSGi with a dynamic Discovery system such
as the one based on Zookeeper that comes with CXF/DOSGi.  | <br></td></tr>
            <tr><td class="diff-changed-lines" >| <span class="diff-changed-words">[iPOJO|<span
class="diff-deleted-chars"style="color:#999;background-color:#fdd;text-decoration:line-through;">DOSGi
iPOJO Demo page|</span>http://felix.apache.org/site/apache-felix-ipojo-dosgi.html]|</span>
Shows how Distributed OSGi can be used with iPOJO  | <br></td></tr>
            <tr><td class="diff-unchanged" > <br>The samples can be installed
directly from the maven release repository (as described in the demo documentation pages),
but you can also build them yourself. <br></td></tr>
            <tr><td class="diff-snipped" >...<br></td></tr>
    
            </table>
    </div>                            <h4>Full Content</h4>
                    <div class="notificationGreySide">
        <p>The Apache CXF Distributed OSGi subproject provides the Reference Implementation
of the Distribution Provider component of the OSGi Remote Services Specification (Chapter
13 in the <a href="http://www.osgi.org/Download/Release4V42" class="external-link" rel="nofollow">OSGi
4.2 Compendium Specification</a>).<br/>
It implements the Remote Services functionality using Web Services, leveraging SOAP over HTTP
and exposing the Service over a WSDL contract. Starting from version 1.1, Java interfaces
can also be exposed and consumed as RESTful JAX-RS services. The 1.2 version of this project
is also the Reference Implementation of the OSGi Remote Service Admin specification, chapter
122 in the <a href="http://www.osgi.org/Download/Release4V42" class="external-link" rel="nofollow">OSGi
4.2 Enterprise Specification</a>).</p>

<p>This page is about getting started and the demos, <b>further links</b>:</p>
<ul>
	<li><a href="/confluence/display/CXF/Distributed+OSGi+Reference" title="Distributed
OSGi Reference">Distributed OSGi Reference</a> guide</li>
	<li><a href="/confluence/display/CXF/DOSGi+Architecture" title="DOSGi Architecture">DOSGi
Architecture</a></li>
	<li><a href="/confluence/display/CXF/DOSGi+Presentations+and+Articles" title="DOSGi
Presentations and Articles">DOSGi Presentations and Articles</a></li>
	<li><a href="/confluence/display/CXF/DOSGi+Releases" title="DOSGi Releases">DOSGi
Releases</a></li>
	<li><a href="/confluence/display/CXF/DOSGi+Build" title="DOSGi Build">DOSGi Build</a>
page</li>
	<li><a href="/confluence/display/CXF/DOSGi+FAQ" title="DOSGi FAQ">DOSGi FAQ</a>
page</li>
</ul>


<h2><a name="DistributedOSGi-GettingStarted"></a>Getting Started</h2>

<p>To get started, get yourself a CXF-DOSGi distribution. The following distributions
are available:</p>
<ul>
	<li><a href="/confluence/display/CXF/DOSGi+Apache+Karaf+Feature" title="DOSGi Apache
Karaf Feature">DOSGi Apache Karaf Feature</a> : Allows installation in Apache Karaf
using the feature commands (Available as of CXF-DOSGi 1.4.0)</li>
	<li><a href="/confluence/display/CXF/DOSGi+Multi+Bundle+Distribution" title="DOSGi
Multi Bundle Distribution">DOSGi Multi Bundle Distribution</a>: Zip file containing
the Distributed OSGi bundles, as well as all their dependencies</li>
	<li><a href="/confluence/display/CXF/DOSGi+Single+Bundle+Distribution" title="DOSGi
Single Bundle Distribution">DOSGi Single Bundle Distribution</a>: Convenience distribution
of a single bundle that embeds all the dependencies</li>
</ul>


<p>Which distribution to take? That depends on what you are doing. The single-bundle
distribution is a really convenient way of getting started as it provides all of Distributed
OSGi plus its dependencies in one. <br/>
The multi-bundle distribution is obviously a little more work to install, but the fine-grained
bundles do have an extra benefit: they allow sharing. So if your application depends on one
or more of the library bundles, it can use them from the multi-bundle distribution. Similarly,
the multi-bundle distribution makes it possible to update the dependency bundles - if compatible
- without having to replace the Distributed OSGi bundles.</p>

<h3><a name="DistributedOSGi-SettingupCXF%2FDOSGiDiscovery"></a>Setting
up CXF/DOSGi Discovery</h3>
<p>See the <a href="/confluence/display/CXF/DOSGi+Discovery" title="DOSGi Discovery">DOSGi
Discovery</a> page and the <a href="/confluence/display/CXF/DOSGi+Discovery+Demo+page"
title="DOSGi Discovery Demo page">DOSGi Discovery Demo page</a>.</p>

<h2><a name="DistributedOSGi-TheSamples"></a>The Samples</h2>
<p>The samples directory contains these sample projects:</p>
<div class='table-wrap'>
<table class='confluenceTable'><tbody>
<tr>
<th class='confluenceTh'> Sample </th>
<th class='confluenceTh'> Description </th>
</tr>
<tr>
<td class='confluenceTd'> <a href="/confluence/display/CXF/Distributed+OSGi+Greeter+Demo+Walkthrough"
title="Distributed OSGi Greeter Demo Walkthrough">greeter </a> </td>
<td class='confluenceTd'> Greeter OSGi Service exposed remotely and a Consumer invoking
on it. </td>
</tr>
<tr>
<td class='confluenceTd'> <a href="/confluence/display/CXF/Distributed+OSGi+Greeter+Demo+Walkthrough"
title="Distributed OSGi Greeter Demo Walkthrough">greeter_rest </a> </td>
<td class='confluenceTd'> Greeter OSGi Service exposed remotely as a RESTful service
and a Consumer invoking on it. Virtually identical to a greeter sample </td>
</tr>
<tr>
<td class='confluenceTd'> <a href="/confluence/display/CXF/DOSGi+Spring-DM+Demo+page"
title="DOSGi Spring-DM Demo page">spring_dm</a></td>
<td class='confluenceTd'> Shows how you can use Spring DM to export your beans as OSGi
Services and similarly how to use Spring-DM to inject a (remote) OSGi Service.  </td>
</tr>
<tr>
<td class='confluenceTd'> <a href="/confluence/display/CXF/DOSGi+DS+Demo+page" title="DOSGi
DS Demo page">ds</a> </td>
<td class='confluenceTd'> Shows how Distributed OSGi can be used with OSGi Declarative
Services (DS). </td>
</tr>
<tr>
<td class='confluenceTd'> <a href="/confluence/display/CXF/DOSGi+Discovery+Demo+page"
title="DOSGi Discovery Demo page">discovery</a></td>
<td class='confluenceTd'> Shows how to use Distributed OSGi with a dynamic Discovery
system such as the one based on Zookeeper that comes with CXF/DOSGi.  </td>
</tr>
<tr>
<td class='confluenceTd'> <a href="http://felix.apache.org/site/apache-felix-ipojo-dosgi.html"
class="external-link" rel="nofollow">iPOJO</a></td>
<td class='confluenceTd'> Shows how Distributed OSGi can be used with iPOJO  </td>
</tr>
</tbody></table>
</div>


<p>The samples can be installed directly from the maven release repository (as described
in the demo documentation pages), but you can also build them yourself.<br/>
To build the samples from source:</p>
<ol>
	<li>simply check out the DOSGi trunk from SVN (<a href="http://svn.apache.org/repos/asf/cxf/dosgi/trunk"
class="external-link" rel="nofollow">http://svn.apache.org/repos/asf/cxf/dosgi/trunk</a>)</li>
	<li>go into the <tt>samples</tt> directory</li>
	<li>and build them using <tt>mvn install</tt></li>
</ol>

    </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/CXF/Distributed+OSGi">View
Online</a>
        |
        <a href="https://cwiki.apache.org/confluence/pages/diffpagesbyversion.action?pageId=105477&revisedVersion=66&originalVersion=65">View
Changes</a>
                |
        <a href="https://cwiki.apache.org/confluence/display/CXF/Distributed+OSGi?showComments=true&amp;showCommentArea=true#addcomment">Add
Comment</a>
            </div>
</div>
</div>
</div>
</div>
</body>
</html>

Mime
View raw message