Author: chirino
Date: Thu Jan 4 11:07:57 2007
New Revision: 492691
URL: http://svn.apache.org/viewvc?view=rev&rev=492691
Log:
Latest export from confluence
Modified:
incubator/servicemix/site/hello-world-se.html
Modified: incubator/servicemix/site/hello-world-se.html
URL:
http://svn.apache.org/viewvc/incubator/servicemix/site/hello-world-se.html?view=diff&rev=492691&r1=492690&r2=492691
==============================================================================
--- incubator/servicemix/site/hello-world-se.html (original)
+++ incubator/servicemix/site/hello-world-se.html Thu Jan 4 11:07:57 2007
@@ -324,13 +324,24 @@
<H3><A name="HelloWorld-SE-CreatingtheJBIServiceEngine"></A>Creating the JBI
Service Engine</H3>
-<P>Let's examine the classes created by the servicemix-service-engine
Maven archetype in this simple SE we're developing: </P>
+<P>Let's first examine the classes created by the
servicemix-service-engine Maven archetype in this simple SE we're
developing. These classes extend class from either the <SPAN class="nobr"><A
href="http://java.sun.com/integration/1.0/docs/sdk/api/index.html" title="Visit
page outside Confluence" rel="nofollow">JBI spec APIs<SUP><IMG
class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif"
height="0" width="0" align="absmiddle" alt="" border="0"></SUP></A></SPAN> or
from the <SPAN class="nobr"><A
href="http://fisheye3.cenqua.com/browse/servicemix/trunk/common/servicemix-common/src/main/java/org/apache/servicemix/common"
title="Visit page outside Confluence"
rel="nofollow"><TT>servicemix-common</TT><SUP><IMG class="rendericon"
src="http://goopen.org/confluence/images/icons/linkext7.gif" height="0"
width="0" align="absmiddle" alt="" border="0"></SUP></A></SPAN> package. Now
let's look at the classes created by the servicemix-service-engine
Maven archetype: </P>
+
+<UL>
+ <LI><TT>MyBootstrap.java</TT> - Implements <SPAN class="nobr"><A
href="http://java.sun.com/integration/1.0/docs/sdk/api/javax/jbi/component/Bootstrap.html"
title="Visit page outside Confluence"
rel="nofollow"><TT>javax.jbi.component.Boostrap</TT><SUP><IMG
class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif"
height="0" width="0" align="absmiddle" alt="" border="0"></SUP></A></SPAN>
which is called by the JBI container when the component is installed and
uninstalled. This is where you place logic to set up and tear down things when
the component is started and stopped.</LI>
+</UL>
+
+
+<UL>
+ <LI><TT>MyComponent.java</TT> - Extends the <SPAN class="nobr"><A
href="http://fisheye3.cenqua.com/browse/servicemix/trunk/common/servicemix-common/src/main/java/org/apache/servicemix/common/DefaultComponent.java?r=trunk"
title="Visit page outside Confluence"
rel="nofollow"><TT>DefaultComponent</TT><SUP><IMG class="rendericon"
src="http://goopen.org/confluence/images/icons/linkext7.gif" height="0"
width="0" align="absmiddle" alt="" border="0"></SUP></A></SPAN>, a convience
class that makes creating JBI components much easier and provides lifecycle
management of components deployed to the JBI container. This class should be
fleshed out by overriding methods in the <TT>DefaultComponent</TT> to configure
and initialize the component. This is where we will place the logic to print
out the Hello World message.</LI>
+</UL>
+
+
+<UL>
+ <LI><TT>MyEndpoint.java</TT> - Extends <SPAN class="nobr"><A
href="http://fisheye3.cenqua.com/browse/servicemix/trunk/common/servicemix-common/src/main/java/org/apache/servicemix/common/Endpoint.java?r=trunk"
title="Visit page outside Confluence"
rel="nofollow"><TT>Endpoint</TT><SUP><IMG class="rendericon"
src="http://goopen.org/confluence/images/icons/linkext7.gif" height="0"
width="0" align="absmiddle" alt="" border="0"></SUP></A></SPAN> and implements
<SPAN class="nobr"><A
href="http://fisheye3.cenqua.com/browse/servicemix/trunk/common/servicemix-common/src/main/java/org/apache/servicemix/common/ExchangeProcessor.java?r=trunk"
title="Visit page outside Confluence"
rel="nofollow"><TT>ExchangeProcessor</TT><SUP><IMG class="rendericon"
src="http://goopen.org/confluence/images/icons/linkext7.gif" height="0"
width="0" align="absmiddle" alt="" border="0"></SUP></A></SPAN>.
<TT>Endpoint</TT> provides a referenceable resource for the component and the
<TT>ExchangeProcessor</TT>
provides the ability for the JBI container to process the message
exchange.</LI>
+</UL>
-<P><TT>MyBootstrap.java</TT> - Implements <SPAN class="nobr"><A
href="http://java.sun.com/integration/1.0/docs/sdk/api/javax/jbi/component/Bootstrap.html"
title="Visit page outside Confluence"
rel="nofollow"><TT>javax.jbi.component.Boostrap</TT><SUP><IMG
class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif"
height="0" width="0" align="absmiddle" alt="" border="0"></SUP></A></SPAN>
which is called by the JBI container when the component is installed and
uninstalled. This is where you place logic to set up and tear down things when
the component is started and stopped. </P>
-<P><TT>MyComponent.java</TT> - Extends the <SPAN class="nobr"><A
href="http://fisheye3.cenqua.com/browse/servicemix/trunk/common/servicemix-common/src/main/java/org/apache/servicemix/common/DefaultComponent.java?r=trunk"
title="Visit page outside Confluence"
rel="nofollow"><TT>DefaultComponent</TT><SUP><IMG class="rendericon"
src="http://goopen.org/confluence/images/icons/linkext7.gif" height="0"
width="0" align="absmiddle" alt="" border="0"></SUP></A></SPAN>, a convience
class that makes creating JBI components much easier and provides lifecycle
management of components deployed to the JBI container. This class should be
fleshed out by overriding methods in the <TT>DefaultComponent</TT> to configure
and initialize the component. This is where we will place the logic to print
out the Hello World message. </P>
-<P><TT>MyEndpoint.java</TT> - Extends <SPAN class="nobr"><A
href="http://fisheye3.cenqua.com/browse/servicemix/trunk/common/servicemix-common/src/main/java/org/apache/servicemix/common/Endpoint.java?r=trunk"
title="Visit page outside Confluence"
rel="nofollow"><TT>Endpoint</TT><SUP><IMG class="rendericon"
src="http://goopen.org/confluence/images/icons/linkext7.gif" height="0"
width="0" align="absmiddle" alt="" border="0"></SUP></A></SPAN> and implements
<SPAN class="nobr"><A
href="http://fisheye3.cenqua.com/browse/servicemix/trunk/common/servicemix-common/src/main/java/org/apache/servicemix/common/ExchangeProcessor.java?r=trunk"
title="Visit page outside Confluence"
rel="nofollow"><TT>ExchangeProcessor</TT><SUP><IMG class="rendericon"
src="http://goopen.org/confluence/images/icons/linkext7.gif" height="0"
width="0" align="absmiddle" alt="" border="0"></SUP></A></SPAN>.
<TT>Endpoint</TT> provides a referenceable resource for the component and the
<TT>ExchangeProcessor</TT> pr
ovides the ability for the JBI container to process the message exchange. </P>
<H3><A
name="HelloWorld-SE-CreatingtheMavenSubprojectsFortheServiceUnitandServiceAssembly"></A>Creating
the Maven Subprojects For the Service Unit and Service Assembly</H3>
@@ -647,7 +658,7 @@
<DIV id="site-footer">
Added by <A
href="http://goopen.org/confluence/users/viewuserprofile.action?username=georg_dembowski">Georg
Dembowski</A>,
last edited by <A
href="http://goopen.org/confluence/users/viewuserprofile.action?username=bsnyder">Bruce
Snyder</A> on Jan 06, 2007
- (<A
href="http://goopen.org/confluence/pages/diffpages.action?pageId=13823&originalId=15240">view
change</A>)
+ (<A
href="http://goopen.org/confluence/pages/diffpages.action?pageId=13823&originalId=15241">view
change</A>)
(<A
href="http://goopen.org/confluence/pages/editpage.action?pageId=13823">edit
page</A>)
</DIV>