Author: chirino
Date: Mon Oct  2 06:30:04 2006
New Revision: 452034

URL: http://svn.apache.org/viewvc?view=rev&rev=452034
Log:
Latest export from confluence

Added:
    
incubator/servicemix/site/main/roadmap-for-a-perspective-servicemix-developer.data/
    
incubator/servicemix/site/main/roadmap-for-a-perspective-servicemix-developer.data/bridge.jpg
   (with props)
    
incubator/servicemix/site/main/roadmap-for-a-perspective-servicemix-developer.data/bridge.jpg.jpeg
   (with props)
    
incubator/servicemix/site/main/roadmap-for-a-perspective-servicemix-developer.data/example.zip
   (with props)
    
incubator/servicemix/site/main/roadmap-for-a-perspective-servicemix-developer.data/jconsole.jpg
   (with props)
    
incubator/servicemix/site/main/roadmap-for-a-perspective-servicemix-developer.data/jconsole.jpg.jpeg
   (with props)
    
incubator/servicemix/site/main/roadmap-for-a-perspective-servicemix-developer.data/wsdl-first-install.jpg
   (with props)
    
incubator/servicemix/site/main/roadmap-for-a-perspective-servicemix-developer.data/wsdl-first-install.jpg.jpeg
   (with props)
    
incubator/servicemix/site/main/roadmap-for-a-perspective-servicemix-developer.html
Modified:
    incubator/servicemix/site/main/hello-world-se.html
    incubator/servicemix/site/main/home.html
    incubator/servicemix/site/main/users-space.html

Modified: incubator/servicemix/site/main/hello-world-se.html
URL: 
http://svn.apache.org/viewvc/incubator/servicemix/site/main/hello-world-se.html?view=diff&rev=452034&r1=452033&r2=452034
==============================================================================
--- incubator/servicemix/site/main/hello-world-se.html (original)
+++ incubator/servicemix/site/main/hello-world-se.html Mon Oct  2 06:30:04 2006
@@ -116,7 +116,7 @@
 
 <P><B>Note:</B> The content of this document is overlapping with <A 
href="creating-a-standard-jbi-component.html" title="Creating a Standard JBI 
Component">Creating a Standard JBI Component</A> and <A 
href="notes-on-creating-jbi-component-using-maven2.html" title="Notes on 
Creating JBI Component using maven2">Notes on Creating JBI Component using 
maven2</A>. Any changes you might want to do for this document might be 
relevant for them as well. Questions unanswered by this document may be 
answered by the other documents.</P>
 
-<P><B>Note:</B> The <A href="users-space.html" title="Users space">Roadmap for 
a perspective Servicemix developer</A> might be a helpful reading as well, 
especially for new users. It focuses on using the examples and components 
shipped with ServiceMix during development in a company.</P>
+<P><B>Note:</B> The <SPAN class="nobr"><A 
href="http://goopen.org/confluence/pages/createpage.action?spaceKey=SM&title=Roadmap%20for%20a%20perspective%20Servicemix%20developer&linkCreation=true&fromPageId=13823";
 title="Create Page: Roadmap for a perspective Servicemix developer" 
class="createlink">Roadmap for a perspective Servicemix developer<SUP><IMG 
class="rendericon" src="http://goopen.org/confluence/images/icons/plus.gif"; 
height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN> 
might be a helpful reading as well, especially for new users. It focuses on 
using the examples and components shipped with ServiceMix during development in 
a company.</P>
 
 <P>This tutorial describes how to create a <EM>very simple</EM> &quot;Hello 
world&quot; JBI service engine (SE) component, pack it into a Service Unit (SU) 
which will be packed to a Service Assambly (SA), and finally how to run the SE 
inside ServiceMix. The SE will answer received messages with &quot;Hello, I 
received xyz bytes&#33;&quot;, so we literally see that it works. As it has the 
same structure as real, useful SE, the given hints help to use the presented 
code as a blueprint to create own SE-SA-SUs. Still, the example is as 
minimalistic as possible, so readers shall not get lost in too many details but 
get an idea of the big picture.</P>
 
@@ -441,8 +441,8 @@
     </DIV>
     <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=georg_dembowski";>Georg
 Dembowski</A> on Oct 02, 2006
-                  &nbsp;(<A 
href="http://goopen.org/confluence/pages/diffpages.action?pageId=13823&originalId=13908";>view
 change</A>)
+    last edited by     <A 
href="http://goopen.org/confluence/users/viewuserprofile.action?username=gnodet";>Guillaume
 Nodet</A> on Oct 02, 2006
+                  &nbsp;(<A 
href="http://goopen.org/confluence/pages/diffpages.action?pageId=13823&originalId=13910";>view
 change</A>)
               
       (<A 
href="http://goopen.org/confluence/pages/editpage.action?pageId=13823";>edit 
page</A>)
     </DIV>

Modified: incubator/servicemix/site/main/home.html
URL: 
http://svn.apache.org/viewvc/incubator/servicemix/site/main/home.html?view=diff&rev=452034&r1=452033&r2=452034
==============================================================================
--- incubator/servicemix/site/main/home.html (original)
+++ incubator/servicemix/site/main/home.html Mon Oct  2 06:30:04 2006
@@ -338,6 +338,9 @@
                           <a 
href="http://goopen.org/confluence/display/SM/Documentation"; 
title="Documentation">Documentation</a>
               <span class="smalltext">(ServiceMix)</span>
               <br>
+                          <a 
href="http://goopen.org/confluence/display/SM/Users+space"; title="Users 
space">Users space</a>
+              <span class="smalltext">(ServiceMix)</span>
+              <br>
                       </div>
 -->
                   </DIV>

Added: 
incubator/servicemix/site/main/roadmap-for-a-perspective-servicemix-developer.data/bridge.jpg
URL: 
http://svn.apache.org/viewvc/incubator/servicemix/site/main/roadmap-for-a-perspective-servicemix-developer.data/bridge.jpg?view=auto&rev=452034
==============================================================================
Binary file - no diff available.

Propchange: 
incubator/servicemix/site/main/roadmap-for-a-perspective-servicemix-developer.data/bridge.jpg
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: 
incubator/servicemix/site/main/roadmap-for-a-perspective-servicemix-developer.data/bridge.jpg.jpeg
URL: 
http://svn.apache.org/viewvc/incubator/servicemix/site/main/roadmap-for-a-perspective-servicemix-developer.data/bridge.jpg.jpeg?view=auto&rev=452034
==============================================================================
Binary file - no diff available.

Propchange: 
incubator/servicemix/site/main/roadmap-for-a-perspective-servicemix-developer.data/bridge.jpg.jpeg
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: 
incubator/servicemix/site/main/roadmap-for-a-perspective-servicemix-developer.data/example.zip
URL: 
http://svn.apache.org/viewvc/incubator/servicemix/site/main/roadmap-for-a-perspective-servicemix-developer.data/example.zip?view=auto&rev=452034
==============================================================================
Binary file - no diff available.

Propchange: 
incubator/servicemix/site/main/roadmap-for-a-perspective-servicemix-developer.data/example.zip
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: 
incubator/servicemix/site/main/roadmap-for-a-perspective-servicemix-developer.data/jconsole.jpg
URL: 
http://svn.apache.org/viewvc/incubator/servicemix/site/main/roadmap-for-a-perspective-servicemix-developer.data/jconsole.jpg?view=auto&rev=452034
==============================================================================
Binary file - no diff available.

Propchange: 
incubator/servicemix/site/main/roadmap-for-a-perspective-servicemix-developer.data/jconsole.jpg
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: 
incubator/servicemix/site/main/roadmap-for-a-perspective-servicemix-developer.data/jconsole.jpg.jpeg
URL: 
http://svn.apache.org/viewvc/incubator/servicemix/site/main/roadmap-for-a-perspective-servicemix-developer.data/jconsole.jpg.jpeg?view=auto&rev=452034
==============================================================================
Binary file - no diff available.

Propchange: 
incubator/servicemix/site/main/roadmap-for-a-perspective-servicemix-developer.data/jconsole.jpg.jpeg
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: 
incubator/servicemix/site/main/roadmap-for-a-perspective-servicemix-developer.data/wsdl-first-install.jpg
URL: 
http://svn.apache.org/viewvc/incubator/servicemix/site/main/roadmap-for-a-perspective-servicemix-developer.data/wsdl-first-install.jpg?view=auto&rev=452034
==============================================================================
Binary file - no diff available.

Propchange: 
incubator/servicemix/site/main/roadmap-for-a-perspective-servicemix-developer.data/wsdl-first-install.jpg
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: 
incubator/servicemix/site/main/roadmap-for-a-perspective-servicemix-developer.data/wsdl-first-install.jpg.jpeg
URL: 
http://svn.apache.org/viewvc/incubator/servicemix/site/main/roadmap-for-a-perspective-servicemix-developer.data/wsdl-first-install.jpg.jpeg?view=auto&rev=452034
==============================================================================
Binary file - no diff available.

Propchange: 
incubator/servicemix/site/main/roadmap-for-a-perspective-servicemix-developer.data/wsdl-first-install.jpg.jpeg
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: 
incubator/servicemix/site/main/roadmap-for-a-perspective-servicemix-developer.html
URL: 
http://svn.apache.org/viewvc/incubator/servicemix/site/main/roadmap-for-a-perspective-servicemix-developer.html?view=auto&rev=452034
==============================================================================
--- 
incubator/servicemix/site/main/roadmap-for-a-perspective-servicemix-developer.html
 (added)
+++ 
incubator/servicemix/site/main/roadmap-for-a-perspective-servicemix-developer.html
 Mon Oct  2 06:30:04 2006
@@ -0,0 +1,261 @@
+
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 
"http://www.w3.org/TR/html4/loose.dtd";>
+<HTML>
+  <HEAD>
+<!--
+    Pier's plugin always overwrites the stylesheet so lets explicitly use 
another one
+    <link type="text/css" rel="stylesheet" 
href="autoexport:///SM/resources/space.css">
+-->
+    <LINK type="text/css" rel="stylesheet" href="resources/site.css">
+    <SCRIPT src="resources/space.js" type="text/javascript"></SCRIPT>
+    <TITLE>
+Roadmap for a perspective Servicemix developer
+    </TITLE>
+  <META http-equiv="Content-Type" content="text/html;charset=UTF-8"></HEAD>
+  <BODY onload="init()">
+
+    <!-- Banner -->
+    <DIV id="site-banner">
+
+      <TABLE border="0" cellpadding="0" cellspacing="0" width="100%">
+        <TR>
+          <TD align="left" class="topbardiv" nowrap="">
+            <IMG border="0" 
src="http://incubator.apache.org/servicemix/main/images/logo.jpg";>
+          </TD>
+          <TD align="right" nowrap="">
+            <IMG border="0" 
src="http://incubator.apache.org/images/apache-incubator-logo.png";>
+          </TD>
+        </TR> 
+      </TABLE>
+
+    </DIV>
+
+    <!-- Bread crumbs and Quick Links -->
+    <DIV id="site-navbar">
+      <TABLE border="0" cellpadding="0" cellspacing="0" width="100%">
+        <TR>
+          <TD align="left" valign="middle" nowrap="">
+            <DIV id="site-breadcrumbs">
+<A href="home.html" title="ServiceMix">ServiceMix</A>&nbsp;&gt;&nbsp;<A 
href="home.html" title="Home">Home</A>&nbsp;&gt;&nbsp;<A 
href="users-space.html" title="Users space">Users space</A>&nbsp;&gt;&nbsp;<A 
href="" title="Roadmap for a perspective Servicemix developer">Roadmap for a 
perspective Servicemix developer</A>
+            </DIV>
+          </TD>
+          <TD align="right" valign="middle" nowrap="">
+            <DIV id="site-quicklinks">
+<P><A href="download.html" title="Download">Download</A> &#124; <A 
href="documentation.html" title="Documentation">Documentation</A> &#124; <A 
href="javadocs.html" title="JavaDocs">JavaDocs</A> &#124; <A href="source.html" 
title="Source">Source</A> &#124; <SPAN class="nobr"><A href="home.html" 
title="Visit page outside Confluence" rel="nofollow">Wiki<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> 
&#124; <A href="discussion-forums.html" title="Discussion Forums">Discussion 
Forums</A> &#124; <A href="support.html" title="Support">Support</A></P>
+            </DIV>
+          </TD>
+        </TR> 
+      </TABLE>
+    </DIV>
+
+<!-- Integrate google search later.
+          <form name="search" action="http://www.google.com/search"; 
method="get">
+            <input type="hidden" name="ie" value="UTF- 8" />
+            <input type="hidden" name="oe" value="UTF- 8" />
+            <input type="hidden" name="domains" value="" />
+            <input type="hidden" name="sitesearch" value="" />
+            <input type="text" name="q" maxlength="255" value="" />        
+            <input type="submit" name="btnG" value="Google Search" />
+          </form>
+-->
+
+      <DIV id="site-content">
+        <TABLE>
+        <TR>
+        <TD valign="top">
+          <DIV id="site-navigation">
+<H3><A name="Navigation-Overview"></A>Overview</H3>
+
+<UL class="alternate" type="square">
+       <LI><A href="home.html" title="Home">Home</A></LI>
+       <LI><SPAN class="nobr"><A href="http://www.apache.org/"; title="Visit 
page outside Confluence" rel="nofollow">ASF<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></LI>
+       <LI><A href="license.html" title="License">License</A></LI>
+       <LI><A href="faq.html" title="FAQ">FAQ</A></LI>
+       <LI><A href="download.html" title="Download">Download</A></LI>
+       <LI><A href="sitemap.html" title="SiteMap">SiteMap</A></LI>
+</UL>
+
+
+<H3><A name="Navigation-Community"></A>Community</H3>
+
+<UL class="alternate" type="square">
+       <LI><A href="../SM30UG/users-guide.html" title="User's 
Guide">User&apos;s Guide</A></LI>
+       <LI><A href="documentation.html" 
title="Documentation">Documentation</A></LI>
+       <LI><A href="support.html" title="Support">Support</A></LI>
+       <LI><A href="discussion-forums.html" title="Discussion 
Forums">Discussion Forums</A></LI>
+       <LI><A href="mailing-lists.html" title="Mailing Lists">Mailing 
Lists</A></LI>
+       <LI><SPAN class="nobr"><A 
href="http://issues.apache.org/activemq/browse/SM"; title="Visit page outside 
Confluence" rel="nofollow">Issues<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></LI>
+       <LI><A href="contributing.html" 
title="Contributing">Contributing</A></LI>
+       <LI><SPAN class="nobr"><A 
href="http://goopen.org/confluence/pages/listpages-dirview.action?key=SM"; 
title="Visit page outside Confluence" rel="nofollow">Wiki<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></LI>
+       <LI><A href="team.html" title="Team">Team</A></LI>
+       <LI><A href="users.html" title="Users">Users</A></LI>
+</UL>
+
+
+<H3><A name="Navigation-Developers"></A>Developers</H3>
+
+<UL class="alternate" type="square">
+       <LI><A href="source.html" title="Source">Source</A></LI>
+       <LI><A href="building.html" title="Building">Building</A></LI>
+       <LI><A href="ideas.html" title="Ideas">Ideas</A></LI>
+       <LI><A href="becoming-a-committer.html" title="Becoming a 
committer">Becoming a committer</A></LI>
+       <LI><A href="release-guide.html" title="Release Guide">Release 
Guide</A></LI>
+       <LI><A href="related-projects.html" title="Related Projects">Related 
Projects</A></LI>
+       <LI><A href="tools.html" title="Tools">Tools</A></LI>
+</UL>
+
+          </DIV>
+        </TD>
+        <TD valign="top">
+          <DIV id="site-page">
+
+<!--          
+            <div class="pagetitle">Roadmap for a perspective Servicemix 
developer</div>
+-->
+            <DIV class="wiki-content"><H2><A 
name="RoadmapforaperspectiveServicemixdeveloper-RoadmapforaperspectiveServicemixdeveloper"></A>Roadmap
 for a perspective Servicemix developer</H2>
+
+
+<H4><A name="RoadmapforaperspectiveServicemixdeveloper-THEPOINT%3A"></A>THE 
POINT:</H4>
+
+<UL>
+       <LI>connect the dots between the documentation already existing on the 
Servicemix website</LI>
+       <LI>Give a developer interested in Servicemix a run through on getting 
the software up and running</LI>
+       <LI>Give the developer instructions on compiling/installing the 
packaged Smix examples</LI>
+       <LI>Give the developer information on monitoring/configuring the 
software via jconsole</LI>
+       <LI>Create two working service assemblies (SA&apos;s) which work 
together, using out of the box Smix components&#33;</LI>
+</UL>
+
+
+<H4><A 
name="RoadmapforaperspectiveServicemixdeveloper-Also..."></A>Also...</H4>
+
+<P>Check out <A href="hello-world-se.html" title="Hello World - SE">Hello 
World &#45; SE</A>, a tutorial in progress on creating a simple service engine 
(JBI component) using tooling (mainly Maven archetypes).</P>
+
+<H4><A 
name="RoadmapforaperspectiveServicemixdeveloper-Conventions%3A"></A>Conventions:</H4>
+
+<P>TERMS:</P>
+<OL>
+       <LI>&apos;company repository&apos; = a remote Maven 2 repository used 
within your company to hold dependencies/artifacts.</LI>
+       <LI>[Smix_source_folder] = the location of the folder created after 
uncompressing the downloaded Smix source distribution (from .zip, .tar.gz 
etc.).</LI>
+       <LI>[Servicemix_binary_distribution_home] = installation location of 
the Smix binary distribution on your machine</LI>
+</OL>
+
+
+<P><EM>Note: I am using</EM> <EM><SPAN class="nobr"><A 
href="http://people.apache.org/maven-snapshot-repository/org/apache/servicemix/apache-servicemix/3.0-incubating-SNAPSHOT/apache-servicemix-3.0-incubating-20060907.104512-15-src.tar.gz";
 title="Visit page outside Confluence" 
rel="nofollow"><EM>apache-servicemix-3.0-incubating-20060907.104512-15-src.tar.gz</EM><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></EM> <EM>for 
the following tutorial. If you do not use this snapshot release I cannot 
guarantee the following will work.</EM></P>
+
+<P><EM>Note: I am writing all this from a Apple MacBook, and therefore the 
tutorital is from a BSD perspective.</EM></P>
+
+<P>BEFORE STARTING:</P>
+<UL>
+       <LI>You will need Maven 2.0.4 or greater installed on your machine</LI>
+</UL>
+
+
+<H4><A 
name="RoadmapforaperspectiveServicemixdeveloper-Gettingthecomponentdependenciesintoyourlocalmachine%2Fcompanyrepository"></A>Getting
 the component dependencies into your local machine/company repository</H4>
+
+<P>If you are going to be running any of the examples or doing any development 
with a current SNAPSHOT/release then you may want to do a few things first. It 
makes sense to check out the 3.0 (SNAPSHOT if you want the newest) source code 
so that you can install the Smix component dependencies in your local 
repository. First go here and download the <A href="download.html" 
title="Download">ServiceMix 3.0</A> sources. Next you will want to build the 
Servicemix app and it&apos;s included components. Go to <A href="building.html" 
title="Building">Building</A> for instructions.</P>
+
+<P>Once you have built the 3.0 app, following the instructions linked above, 
the Smix component modules will be installed locally.</P>
+<TABLE cellpadding="5" width="85%" cellspacing="8px" class="infoMacro" 
border="0" align="center"><COLGROUP><COL width="24"><COL></COLGROUP><TR><TD><B 
class="strong">Getting the Smix dependencies into your company 
repository</B><BR>
+<P>If you want to deploy those dependencies to a company repository then keep 
reading. I can only give information on doing this for Maven 2 as I did not try 
this for Maven 1. First go into the top level project pom.xml with you favorite 
editor. This will be in the [Smix_source_folder]/src folder. You are going to 
first edit out the references to Maven 1. Search for &apos;m1&apos;, or in 
another case I searched for &apos;maven-one&apos;. There was a property and a 
plug in section I deleted (maybe some other sections also). I think the plug in 
is the important one to delete/coment out. Next edit the 
&apos;distributionManagement&apos; section. Put the relevent information for 
you company repository here. If you are working with a SNAPSHOT release then 
you will need to put your snapshot repository information in here.</P>
+
+<P>You should now be able to &apos;mvn &#45;Dmaven.test.skip=true deploy&apos; 
and the dependencies will upload to the remote repository you defined. This is 
a good thing when people you are working with will need the Smix component 
dependencies. If others will be working on a Smix project you create it will 
also come in handy, as they will not have to chase down dependencies. THANKS 
MAVEN&#33;&#33;&#33; I think there are other benefits too, such as faster 
fetching since the dependencies are more local 
(physically).</P></TD></TR></TABLE>
+
+<H4><A 
name="RoadmapforaperspectiveServicemixdeveloper-NextupinstallthecompiledbinaryServicemix..."></A>Next
 up install the compiled binary Servicemix...</H4>
+
+<P>You now have Smix built from source, and the Smix components in a Maven 2 
repository. The built distribution of Smix will be in 
[Smix_source_folder]/apache-servicemix/target. There will be a source 
distribution that is like (exactly like?) the one which you downloaded, and the 
.zip, .tar.gzip binary distributions. Install the binary distribution following 
the source installation instructions for <A 
href="../SM30UG/3-installation.html#3.Installation-WindowsSourceInstallation" 
title="Windows Source Installation on 3. Installation">Windows</A> respectively 
<A href="../SM30UG/3-installation.html#3.Installation-UnixSourceInstallation" 
title="Unix Source Installation on 3. Installation">Unix</A>. Once you have 
installed the binary Servicemix installation you are ready to do some 
testing.</P>
+
+<H4><A 
name="RoadmapforaperspectiveServicemixdeveloper-wsdlfirst"></A>wsdl-first</H4>
+
+<P>The first thing to do now is install the <A 
href="../SM30UG/1-quick-start.html#1.Quickstart-Deployasampleapplication" 
title="Deploy a sample application on 1. Quick start">wsdl-first</A> service 
assembly (SA) which contains a few service units (SU&apos;s) (<SPAN 
class="nobr"><A 
href="https://sdlc6a.sun.com/ECom/EComActionServlet;jsessionid=728961EE41294F2FB2547B82D037F02E";
 title="Visit page outside Confluence" rel="nofollow">see JBI specification 
document<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>). The end 
result is a XFire based SOAP service which is pretty simple. The actual code 
for the service is in the file 
[Servicemix_binary_distribution_home]/examples/wsdl-first/wsdl-first-jsr181-su/src/main/java/org/apache/servicemix/samples/wsdl_first/PersonImpl.java.
 Phew&#33; Take a look at the code, it is pretty simple. It uses an <SPAN 
class="nobr"><A href
 ="http://java.sun.com/j2se/1.5.0/docs/guide/language/annotations.html"; 
title="Visit page outside Confluence" rel="nofollow">annotation<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 describes the class as a <SPAN class="nobr"><A 
href="http://dev2dev.bea.com/webservices/jwsm.html"; title="Visit page outside 
Confluence" rel="nofollow">jsr181<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> web service. 
One interesting thing to note about this project is the use of an ant task 
inside the parent pom.xml. This task uses XFire&apos;s WsGenTask to create Java 
objects used by the web service, as described in the WSDL file.</P>
+<TABLE cellpadding="5" width="85%" cellspacing="8px" class="infoMacro" 
border="0" align="center"><COLGROUP><COL width="24"><COL></COLGROUP><TR><TD><B 
class="strong">About this example</B><BR>
+<P>This example is a good starting place if you are interested in creating a 
SOAP service in Smix. After reviewing the full code you should have a grasp on 
creating a simple POJO web service.</P></TD></TR></TABLE>
+<P>So let&apos;s get this up and running in our Smix container. <A 
href="../SM30UG/1-quick-start.html#1.Quickstart-Starttheserver" title="Start 
the server on 1. Quick start">Start</A> Smix, watch the output to make sure 
things start up correctly. You will need to open up a new console for the next 
step, since the Smix output is taking up the other. You will be able to watch 
this output to see what is going on in some of the following steps. Go back to 
[Servicemix_binary_distribution_home]. You need to copy the components needed 
by the wsdl-first SA from the /components folder to the /install folder. The 
ones you should copy are:</P>
+<UL>
+       <LI>servicemix-http-3.0-incubating-SNAPSHOT-installer.zip</LI>
+       <LI>servicemix-shared-3.0-incubating-SNAPSHOT-installer.zip</LI>
+       <LI>servicemix-jsr181-3.0-incubating-SNAPSHOT-installer.zip</LI>
+</UL>
+
+
+<P>With each copied component will come messages from Smix in the console 
output window. Watch these to make sure things properly install. If any 
problems crop up, try to copy the component again. I have received a zip 
related exception before. I did the copy a second time and the problem 
didn&apos;t show itself a second time.</P>
+
+<P>There is an easy way to do the following: copy the file 
[Servicemix_binary_distribution_home]/examples/wsdl-first/wsdl-first-sa-3.0-incubating-SNAPSHOT.zip
 into the /install folder. Watch the Smix console window making sure things go 
well. You can now open a browser and go <SPAN class="nobr"><A 
href="http://localhost:8192/PersonService/main.wsdl"; title="Visit page outside 
Confluence" rel="nofollow">here<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> to see the WSDL 
for the SOAP service.</P>
+
+<P>That was the easy way....but you want to learn about developing so 
let&apos;s do it the &apos;hard&apos; way. First go to the 
[Servicemix_binary_distribution_home]/examples/wsdl-first folder and type mvn 
install. This example project is using a <A href="maven-jbi-plugin.html" 
title="Maven JBI plugin">Maven 2 plugin</A> for creating specific JBI 
components. If you look in the module pom.xml files you will see a special 
packaging type. After the mvn install completes there will be file called 
wsdl-first-sa-3.0-incubating-SNAPSHOT-installer in the wsdl-first-sa 
module&apos;s target folder. This is the SA for the wsdl-first example project. 
Now we want to deploy this to our container. The Maven JBI plugin will take 
care of this for us&#33;&#33;&#33; Note we need to make a small change to the 
wsdl-first-sa module&apos;s pom.xml. The plugin will normally try to install 
all the shared libraries needed by the SA when running the Maven goal 
jbi:projectDeploy. This is sometimes use
 ful. But often it causes problems because another SA in Smix is using the 
shared lib already. In this case the Maven goal will try to remove and redeploy 
the shared lib from Smix. This causes a problem and will make the SA deployment 
fail. So to tell the plugin to not do this make the following change in the 
pom.xml:</P>
+<DIV class="preformatted"><DIV class="preformattedContent">
+<PRE>&lt;build&gt;
+    &lt;plugins&gt;
+        &lt;plugin&gt;
+            &lt;groupId&gt;org.apache.servicemix.tooling&lt;/groupId&gt;
+            &lt;artifactId&gt;jbi-maven-plugin&lt;/artifactId&gt;
+            &lt;extensions&gt;true&lt;/extensions&gt;
+        &lt;/plugin&gt;
+    &lt;/plugins&gt;
+&lt;/build&gt;
+</PRE>
+</DIV></DIV>
+<P>into....</P>
+<DIV class="preformatted"><DIV class="preformattedContent">
+<PRE>&lt;build&gt;
+    &lt;plugins&gt;
+        &lt;plugin&gt;
+            &lt;groupId&gt;org.apache.servicemix.tooling&lt;/groupId&gt;
+            &lt;artifactId&gt;jbi-maven-plugin&lt;/artifactId&gt;
+            &lt;extensions&gt;true&lt;/extensions&gt;
+            &lt;configuration&gt;
+                &lt;deployDependencies&gt;false&lt;/deployDependencies&gt;
+            &lt;/configuration&gt;
+        &lt;/plugin&gt;
+    &lt;/plugins&gt;
+&lt;/build&gt;
+</PRE>
+</DIV></DIV>
+<P>That little config change will prevent some headaches later.</P>
+
+<P>You are ready to rock. Change directory to the wsdl-first-sa module. Type 
&apos;mvn jbi:projectDeploy&apos;. You can watch the Smix console for 
information on the deployment.<DIV align="center"><IMG 
src="roadmap-for-a-perspective-servicemix-developer.data/wsdl-first-install.jpg"
 border="0"></DIV><BR>
+&nbsp;<BR>
+Betting that all went well you should be ready to test out the web service you 
deployed into Smix. Lucky for you a nice little web app has been packaged with 
the application. In your web browser open the file 
[Servicemix_binary_distribution_home]/examples/wsdl-first/client.html. This 
static .html page contains a javascript which will try to contact the web 
service on your local machine. To make it work simply click the 
&apos;send&apos; button. If your browser issues any warning make sure you allow 
the javascript to do what it needs to do. In Firefox I have to 
&apos;allow&apos; what it calls an unsafe operation. The results of clicking 
the &apos;send&apos; button will be a SOAP response posted into the right hand 
text area.</P>
+
+<H4><A 
name="RoadmapforaperspectiveServicemixdeveloper-Temporaryexcursionintomonitoring"></A>Temporary
 excursion into monitoring</H4>
+
+<P>One great benefit to JBI and Smix are the monitoring capabilities. Using 
the jconsole application packaged with the Java SDK you can tap into your Smix 
instance. In doing so you can get all sorts of information on things like 
thread and memory usage, and have the ability to configure the Smix environment 
dynamically. Lets use jconsole&#33; Open a terminal session and type 
&apos;nohup jconsole &amp;&apos;. If your machine has the Java SDK&apos;s /bin 
folder in it&apos;s path then this should launch the jconsole application. If 
the application has launched then you should be able to close the terminal 
window now.</P>
+
+<P>You should see a window titled &apos;JConsole: Connect to Agent&apos;. In 
the &apos;Local&apos; tab&apos;s window you should see an entry. Select this 
entry and press the &apos;Connect&apos; button. You should now be connected to 
your local Smix instance. Take some time to play around. </P>
+
+<P>Done? Alright, now lets do some maintanance to the Smix environment. We are 
going to shut down the wsdl-first SA, then start it back up.</P>
+<UL>
+       <LI>Select the tab called &apos;MBeans&apos;.</LI>
+       <LI>This gives a tree like structure that you can navigate through.</LI>
+       <LI>Open the node labeled &apos;org.apache.servicemix&apos;. Open the 
&apos;servicemix&apos; node.</LI>
+       <LI>Open the node labeled &apos;Endpoint&apos;. You will see all the 
installed endpoints in your JBI environment here. There should be only one.</LI>
+       <LI>You should see a node labeled &apos;ServiceAssembly&apos;, open 
this node. You now should see one entry for wsdl-first. Click on this entry. 
The window to your right should now pop up some information about the SA.</LI>
+       <LI>In the right window click on the tab labeled 
&apos;Operations&apos;. You will see four operations: start, stop, shutdown, 
and getDiscriptior.</LI>
+       <LI>Click the shutdown button. You will get a pop up window containing 
XML that tells you how the operation went. I hope that you see SUCCESS in the 
task-result element.</LI>
+       <LI>With the SA shutdown try to get the <SPAN class="nobr"><A 
href="http://localhost:8192/PersonService/main.wsdl"; title="Visit page outside 
Confluence" rel="nofollow">WSDL<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 use the 
client.html app to contact the web service. Niether will work.</LI>
+       <LI>Let us start the SA again, click the start button in the operations 
window. You again get a pop up with XML.</LI>
+       <LI>Try again to get the WSDL or hit the web service using the 
client.html app. Both should now work.<DIV align="center"><IMG 
src="roadmap-for-a-perspective-servicemix-developer.data/jconsole.jpg" 
border="0"></DIV><BR>
+So this is brief but should give you a good idea of how easy it can be to 
manage your Servicemix instance(s).</LI>
+</UL>
+
+
+<H4><A 
name="RoadmapforaperspectiveServicemixdeveloper-Nextupthebridgeexample"></A>Next
 up - the bridge example</H4>
+
+<P>coming soon....<DIV align="center"><IMG 
src="roadmap-for-a-perspective-servicemix-developer.data/bridge.jpg" 
border="0"></DIV></P></DIV>
+          
+                  </DIV>
+        </TD>
+      </TR>
+      </TABLE>     
+      </DIV>
+    </DIV>
+    <DIV id="site-footer">
+          Added by     <A 
href="http://goopen.org/confluence/users/viewuserprofile.action?username=gnodet";>Guillaume
 Nodet</A>,
+    last edited by     <A 
href="http://goopen.org/confluence/users/viewuserprofile.action?username=gnodet";>Guillaume
 Nodet</A> on Oct 02, 2006
+                  &nbsp;(<A 
href="http://goopen.org/confluence/pages/diffpages.action?pageId=13814&originalId=13912";>view
 change</A>)
+              
+      (<A 
href="http://goopen.org/confluence/pages/editpage.action?pageId=13814";>edit 
page</A>)
+    </DIV>
+
+  </BODY>
+
+</HTML>
\ No newline at end of file

Modified: incubator/servicemix/site/main/users-space.html
URL: 
http://svn.apache.org/viewvc/incubator/servicemix/site/main/users-space.html?view=diff&rev=452034&r1=452033&r2=452034
==============================================================================
--- incubator/servicemix/site/main/users-space.html (original)
+++ incubator/servicemix/site/main/users-space.html Mon Oct  2 06:30:04 2006
@@ -36,7 +36,7 @@
         <TR>
           <TD align="left" valign="middle" nowrap="">
             <DIV id="site-breadcrumbs">
-<A href="home.html" title="ServiceMix">ServiceMix</A>&nbsp;&gt;&nbsp;<A 
href="" title="Users space">Users space</A>
+<A href="home.html" title="ServiceMix">ServiceMix</A>&nbsp;&gt;&nbsp;<A 
href="home.html" title="Home">Home</A>&nbsp;&gt;&nbsp;<A href="" title="Users 
space">Users space</A>
             </DIV>
           </TD>
           <TD align="right" valign="middle" nowrap="">
@@ -112,135 +112,7 @@
 <!--          
             <div class="pagetitle">Users space</div>
 -->
-            <DIV class="wiki-content"><H2><A 
name="Usersspace-RoadmapforaperspectiveServicemixdeveloper"></A>Roadmap for a 
perspective Servicemix developer</H2>
-
-
-<H4><A name="Usersspace-THEPOINT%3A"></A>THE POINT:</H4>
-
-<UL>
-       <LI>connect the dots between the documentation already existing on the 
Servicemix website</LI>
-       <LI>Give a developer interested in Servicemix a run through on getting 
the software up and running</LI>
-       <LI>Give the developer instructions on compiling/installing the 
packaged Smix examples</LI>
-       <LI>Give the developer information on monitoring/configuring the 
software via jconsole</LI>
-       <LI>Create two working service assemblies (SA&apos;s) which work 
together, using out of the box Smix components&#33;</LI>
-</UL>
-
-
-<H4><A name="Usersspace-Also..."></A>Also...</H4>
-
-<P>Check out <A href="hello-world-se.html" title="Hello World - SE">Hello 
World &#45; SE</A>, a tutorial in progress on creating a simple service engine 
(JBI component) using tooling (mainly Maven archetypes).</P>
-
-<H4><A name="Usersspace-Conventions%3A"></A>Conventions:</H4>
-
-<P>TERMS:</P>
-<OL>
-       <LI>&apos;company repository&apos; = a remote Maven 2 repository used 
within your company to hold dependencies/artifacts.</LI>
-       <LI>[Smix_source_folder] = the location of the folder created after 
uncompressing the downloaded Smix source distribution (from .zip, .tar.gz 
etc.).</LI>
-       <LI>[Servicemix_binary_distribution_home] = installation location of 
the Smix binary distribution on your machine</LI>
-</OL>
-
-
-<P><EM>Note: I am using</EM> <EM><SPAN class="nobr"><A 
href="http://people.apache.org/maven-snapshot-repository/org/apache/servicemix/apache-servicemix/3.0-incubating-SNAPSHOT/apache-servicemix-3.0-incubating-20060907.104512-15-src.tar.gz";
 title="Visit page outside Confluence" 
rel="nofollow"><EM>apache-servicemix-3.0-incubating-20060907.104512-15-src.tar.gz</EM><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></EM> <EM>for 
the following tutorial. If you do not use this snapshot release I cannot 
guarantee the following will work.</EM></P>
-
-<P><EM>Note: I am writing all this from a Apple MacBook, and therefore the 
tutorital is from a BSD perspective.</EM></P>
-
-<P>BEFORE STARTING:</P>
-<UL>
-       <LI>You will need Maven 2.0.4 or greater installed on your machine</LI>
-</UL>
-
-
-<H4><A 
name="Usersspace-Gettingthecomponentdependenciesintoyourlocalmachine%2Fcompanyrepository"></A>Getting
 the component dependencies into your local machine/company repository</H4>
-
-<P>If you are going to be running any of the examples or doing any development 
with a current SNAPSHOT/release then you may want to do a few things first. It 
makes sense to check out the 3.0 (SNAPSHOT if you want the newest) source code 
so that you can install the Smix component dependencies in your local 
repository. First go here and download the <A href="download.html" 
title="Download">ServiceMix 3.0</A> sources. Next you will want to build the 
Servicemix app and it&apos;s included components. Go to <A href="building.html" 
title="Building">Building</A> for instructions.</P>
-
-<P>Once you have built the 3.0 app, following the instructions linked above, 
the Smix component modules will be installed locally.</P>
-<TABLE cellpadding="5" width="85%" cellspacing="8px" class="infoMacro" 
border="0" align="center"><COLGROUP><COL width="24"><COL></COLGROUP><TR><TD><B 
class="strong">Getting the Smix dependencies into your company 
repository</B><BR>
-<P>If you want to deploy those dependencies to a company repository then keep 
reading. I can only give information on doing this for Maven 2 as I did not try 
this for Maven 1. First go into the top level project pom.xml with you favorite 
editor. This will be in the [Smix_source_folder]/src folder. You are going to 
first edit out the references to Maven 1. Search for &apos;m1&apos;, or in 
another case I searched for &apos;maven-one&apos;. There was a property and a 
plug in section I deleted (maybe some other sections also). I think the plug in 
is the important one to delete/coment out. Next edit the 
&apos;distributionManagement&apos; section. Put the relevent information for 
you company repository here. If you are working with a SNAPSHOT release then 
you will need to put your snapshot repository information in here.</P>
-
-<P>You should now be able to &apos;mvn &#45;Dmaven.test.skip=true deploy&apos; 
and the dependencies will upload to the remote repository you defined. This is 
a good thing when people you are working with will need the Smix component 
dependencies. If others will be working on a Smix project you create it will 
also come in handy, as they will not have to chase down dependencies. THANKS 
MAVEN&#33;&#33;&#33; I think there are other benefits too, such as faster 
fetching since the dependencies are more local 
(physically).</P></TD></TR></TABLE>
-
-<H4><A name="Usersspace-NextupinstallthecompiledbinaryServicemix..."></A>Next 
up install the compiled binary Servicemix...</H4>
-
-<P>You now have Smix built from source, and the Smix components in a Maven 2 
repository. The built distribution of Smix will be in 
[Smix_source_folder]/apache-servicemix/target. There will be a source 
distribution that is like (exactly like?) the one which you downloaded, and the 
.zip, .tar.gzip binary distributions. Install the binary distribution following 
the source installation instructions for <A 
href="../SM30UG/3-installation.html#3.Installation-WindowsSourceInstallation" 
title="Windows Source Installation on 3. Installation">Windows</A> respectively 
<A href="../SM30UG/3-installation.html#3.Installation-UnixSourceInstallation" 
title="Unix Source Installation on 3. Installation">Unix</A>. Once you have 
installed the binary Servicemix installation you are ready to do some 
testing.</P>
-
-<H4><A name="Usersspace-wsdlfirst"></A>wsdl-first</H4>
-
-<P>The first thing to do now is install the <A 
href="../SM30UG/1-quick-start.html#1.Quickstart-Deployasampleapplication" 
title="Deploy a sample application on 1. Quick start">wsdl-first</A> service 
assembly (SA) which contains a few service units (SU&apos;s) (<SPAN 
class="nobr"><A 
href="https://sdlc6a.sun.com/ECom/EComActionServlet;jsessionid=728961EE41294F2FB2547B82D037F02E";
 title="Visit page outside Confluence" rel="nofollow">see JBI specification 
document<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>). The end 
result is a XFire based SOAP service which is pretty simple. The actual code 
for the service is in the file 
[Servicemix_binary_distribution_home]/examples/wsdl-first/wsdl-first-jsr181-su/src/main/java/org/apache/servicemix/samples/wsdl_first/PersonImpl.java.
 Phew&#33; Take a look at the code, it is pretty simple. It uses an <SPAN 
class="nobr"><A href
 ="http://java.sun.com/j2se/1.5.0/docs/guide/language/annotations.html"; 
title="Visit page outside Confluence" rel="nofollow">annotation<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 describes the class as a <SPAN class="nobr"><A 
href="http://dev2dev.bea.com/webservices/jwsm.html"; title="Visit page outside 
Confluence" rel="nofollow">jsr181<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> web service. 
One interesting thing to note about this project is the use of an ant task 
inside the parent pom.xml. This task uses XFire&apos;s WsGenTask to create Java 
objects used by the web service, as described in the WSDL file.</P>
-<TABLE cellpadding="5" width="85%" cellspacing="8px" class="infoMacro" 
border="0" align="center"><COLGROUP><COL width="24"><COL></COLGROUP><TR><TD><B 
class="strong">About this example</B><BR>
-<P>This example is a good starting place if you are interested in creating a 
SOAP service in Smix. After reviewing the full code you should have a grasp on 
creating a simple POJO web service.</P></TD></TR></TABLE>
-<P>So let&apos;s get this up and running in our Smix container. <A 
href="../SM30UG/1-quick-start.html#1.Quickstart-Starttheserver" title="Start 
the server on 1. Quick start">Start</A> Smix, watch the output to make sure 
things start up correctly. You will need to open up a new console for the next 
step, since the Smix output is taking up the other. You will be able to watch 
this output to see what is going on in some of the following steps. Go back to 
[Servicemix_binary_distribution_home]. You need to copy the components needed 
by the wsdl-first SA from the /components folder to the /install folder. The 
ones you should copy are:</P>
-<UL>
-       <LI>servicemix-http-3.0-incubating-SNAPSHOT-installer.zip</LI>
-       <LI>servicemix-shared-3.0-incubating-SNAPSHOT-installer.zip</LI>
-       <LI>servicemix-jsr181-3.0-incubating-SNAPSHOT-installer.zip</LI>
-</UL>
-
-
-<P>With each copied component will come messages from Smix in the console 
output window. Watch these to make sure things properly install. If any 
problems crop up, try to copy the component again. I have received a zip 
related exception before. I did the copy a second time and the problem 
didn&apos;t show itself a second time.</P>
-
-<P>There is an easy way to do the following: copy the file 
[Servicemix_binary_distribution_home]/examples/wsdl-first/wsdl-first-sa-3.0-incubating-SNAPSHOT.zip
 into the /install folder. Watch the Smix console window making sure things go 
well. You can now open a browser and go <SPAN class="nobr"><A 
href="http://localhost:8192/PersonService/main.wsdl"; title="Visit page outside 
Confluence" rel="nofollow">here<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> to see the WSDL 
for the SOAP service.</P>
-
-<P>That was the easy way....but you want to learn about developing so 
let&apos;s do it the &apos;hard&apos; way. First go to the 
[Servicemix_binary_distribution_home]/examples/wsdl-first folder and type mvn 
install. This example project is using a <A href="maven-jbi-plugin.html" 
title="Maven JBI plugin">Maven 2 plugin</A> for creating specific JBI 
components. If you look in the module pom.xml files you will see a special 
packaging type. After the mvn install completes there will be file called 
wsdl-first-sa-3.0-incubating-SNAPSHOT-installer in the wsdl-first-sa 
module&apos;s target folder. This is the SA for the wsdl-first example project. 
Now we want to deploy this to our container. The Maven JBI plugin will take 
care of this for us&#33;&#33;&#33; Note we need to make a small change to the 
wsdl-first-sa module&apos;s pom.xml. The plugin will normally try to install 
all the shared libraries needed by the SA when running the Maven goal 
jbi:projectDeploy. This is sometimes use
 ful. But often it causes problems because another SA in Smix is using the 
shared lib already. In this case the Maven goal will try to remove and redeploy 
the shared lib from Smix. This causes a problem and will make the SA deployment 
fail. So to tell the plugin to not do this make the following change in the 
pom.xml:</P>
-<DIV class="preformatted"><DIV class="preformattedContent">
-<PRE>&lt;build&gt;
-    &lt;plugins&gt;
-        &lt;plugin&gt;
-            &lt;groupId&gt;org.apache.servicemix.tooling&lt;/groupId&gt;
-            &lt;artifactId&gt;jbi-maven-plugin&lt;/artifactId&gt;
-            &lt;extensions&gt;true&lt;/extensions&gt;
-        &lt;/plugin&gt;
-    &lt;/plugins&gt;
-&lt;/build&gt;
-</PRE>
-</DIV></DIV>
-<P>into....</P>
-<DIV class="preformatted"><DIV class="preformattedContent">
-<PRE>&lt;build&gt;
-    &lt;plugins&gt;
-        &lt;plugin&gt;
-            &lt;groupId&gt;org.apache.servicemix.tooling&lt;/groupId&gt;
-            &lt;artifactId&gt;jbi-maven-plugin&lt;/artifactId&gt;
-            &lt;extensions&gt;true&lt;/extensions&gt;
-            &lt;configuration&gt;
-                &lt;deployDependencies&gt;false&lt;/deployDependencies&gt;
-            &lt;/configuration&gt;
-        &lt;/plugin&gt;
-    &lt;/plugins&gt;
-&lt;/build&gt;
-</PRE>
-</DIV></DIV>
-<P>That little config change will prevent some headaches later.</P>
-
-<P>You are ready to rock. Change directory to the wsdl-first-sa module. Type 
&apos;mvn jbi:projectDeploy&apos;. You can watch the Smix console for 
information on the deployment.<DIV align="center"><IMG 
src="users-space.data/wsdl-first-install.jpg" border="0"></DIV><BR>
-&nbsp;<BR>
-Betting that all went well you should be ready to test out the web service you 
deployed into Smix. Lucky for you a nice little web app has been packaged with 
the application. In your web browser open the file 
[Servicemix_binary_distribution_home]/examples/wsdl-first/client.html. This 
static .html page contains a javascript which will try to contact the web 
service on your local machine. To make it work simply click the 
&apos;send&apos; button. If your browser issues any warning make sure you allow 
the javascript to do what it needs to do. In Firefox I have to 
&apos;allow&apos; what it calls an unsafe operation. The results of clicking 
the &apos;send&apos; button will be a SOAP response posted into the right hand 
text area.</P>
-
-<H4><A name="Usersspace-Temporaryexcursionintomonitoring"></A>Temporary 
excursion into monitoring</H4>
-
-<P>One great benefit to JBI and Smix are the monitoring capabilities. Using 
the jconsole application packaged with the Java SDK you can tap into your Smix 
instance. In doing so you can get all sorts of information on things like 
thread and memory usage, and have the ability to configure the Smix environment 
dynamically. Lets use jconsole&#33; Open a terminal session and type 
&apos;nohup jconsole &amp;&apos;. If your machine has the Java SDK&apos;s /bin 
folder in it&apos;s path then this should launch the jconsole application. If 
the application has launched then you should be able to close the terminal 
window now.</P>
-
-<P>You should see a window titled &apos;JConsole: Connect to Agent&apos;. In 
the &apos;Local&apos; tab&apos;s window you should see an entry. Select this 
entry and press the &apos;Connect&apos; button. You should now be connected to 
your local Smix instance. Take some time to play around. </P>
-
-<P>Done? Alright, now lets do some maintanance to the Smix environment. We are 
going to shut down the wsdl-first SA, then start it back up.</P>
-<UL>
-       <LI>Select the tab called &apos;MBeans&apos;.</LI>
-       <LI>This gives a tree like structure that you can navigate through.</LI>
-       <LI>Open the node labeled &apos;org.apache.servicemix&apos;. Open the 
&apos;servicemix&apos; node.</LI>
-       <LI>Open the node labeled &apos;Endpoint&apos;. You will see all the 
installed endpoints in your JBI environment here. There should be only one.</LI>
-       <LI>You should see a node labeled &apos;ServiceAssembly&apos;, open 
this node. You now should see one entry for wsdl-first. Click on this entry. 
The window to your right should now pop up some information about the SA.</LI>
-       <LI>In the right window click on the tab labeled 
&apos;Operations&apos;. You will see four operations: start, stop, shutdown, 
and getDiscriptior.</LI>
-       <LI>Click the shutdown button. You will get a pop up window containing 
XML that tells you how the operation went. I hope that you see SUCCESS in the 
task-result element.</LI>
-       <LI>With the SA shutdown try to get the <SPAN class="nobr"><A 
href="http://localhost:8192/PersonService/main.wsdl"; title="Visit page outside 
Confluence" rel="nofollow">WSDL<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 use the 
client.html app to contact the web service. Niether will work.</LI>
-       <LI>Let us start the SA again, click the start button in the operations 
window. You again get a pop up with XML.</LI>
-       <LI>Try again to get the WSDL or hit the web service using the 
client.html app. Both should now work.<DIV align="center"><IMG 
src="users-space.data/jconsole.jpg" border="0"></DIV><BR>
-So this is brief but should give you a good idea of how easy it can be to 
manage your Servicemix instance(s).</LI>
-</UL>
-
-
-<H4><A name="Usersspace-Nextupthebridgeexample"></A>Next up - the bridge 
example</H4>
-
-<P>coming soon....<DIV align="center"><IMG src="users-space.data/bridge.jpg" 
border="0"></DIV></P></DIV>
+            <DIV class="wiki-content"></DIV>
           
                   </DIV>
         </TD>
@@ -250,36 +122,9 @@
     </DIV>
     <DIV id="site-footer">
           Added by     <A 
href="http://goopen.org/confluence/users/viewuserprofile.action?username=gnodet";>Guillaume
 Nodet</A>,
-    last edited by     <A 
href="http://goopen.org/confluence/users/viewuserprofile.action?username=georg_dembowski";>Georg
 Dembowski</A> on Oct 02, 2006
-                  &nbsp;(<A 
href="http://goopen.org/confluence/pages/diffpages.action?pageId=13814&originalId=13903";>view
 change</A>)
-                      <SPAN id="show" class="inline-control-link"><A href="" 
onclick="showComment(); return false;">show comment</A></SPAN>
-        <SPAN id="hide" class="inline-control-link" style="display:none;"><A 
href="" onclick="hideComment(); return false;">hide comment</A></SPAN>
-          <DIV id="versionComment" class="noteMacro" style="display:none; 
padding: 5px;">
-      <B>Comment:</B>
-      typos, links made conlfuence-internally<BR>
-      <SPAN class="smalltext"><A 
href="http://goopen.org/confluence/pages/viewpreviouspageversions.action?pageId=13814";>View
 page history</A></SPAN>
-  </DIV>
-
-    <SCRIPT>
-      var show = document.getElementById('show');
-      var hide = document.getElementById('hide');
-      var versionComment = document.getElementById('versionComment');
-
-      function showComment(){
-        show.style.display = 'none';
-        hide.style.display = 'inline';
-        versionComment.style.display = 'block';
-      }
-
-      function hideComment(){
-        show.style.display = 'inline';
-        hide.style.display = 'none';
-        versionComment.style.display = 'none';
-      }
-
-    </SCRIPT>
-    
-      (<A 
href="http://goopen.org/confluence/pages/editpage.action?pageId=13814";>edit 
page</A>)
+    last edited by     <A 
href="http://goopen.org/confluence/users/viewuserprofile.action?username=gnodet";>Guillaume
 Nodet</A> on Oct 02, 2006
+                  
+      (<A 
href="http://goopen.org/confluence/pages/editpage.action?pageId=13913";>edit 
page</A>)
     </DIV>
 
   </BODY>


Reply via email to