You are viewing a plain text version of this content. The canonical link for it is here.
Posted to muse-commits@ws.apache.org by da...@apache.org on 2006/12/08 21:35:34 UTC
svn commit: r484758 [2/2] - in /webservices/muse/site/docs/2.1.0: ./
javadoc/ manual/ manual/capabilities/ manual/how-to/
manual/how-to/artifacts/ manual/samples/ manual/troubleshooting/ specs/
tutorial/ tutorial/artifacts/
Added: webservices/muse/site/docs/2.1.0/tutorial/04-review-artifacts-mini.html
URL: http://svn.apache.org/viewvc/webservices/muse/site/docs/2.1.0/tutorial/04-review-artifacts-mini.html?view=auto&rev=484758
==============================================================================
--- webservices/muse/site/docs/2.1.0/tutorial/04-review-artifacts-mini.html (added)
+++ webservices/muse/site/docs/2.1.0/tutorial/04-review-artifacts-mini.html Fri Dec 8 12:35:32 2006
@@ -0,0 +1,218 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+<head>
+<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<meta content="Apache Forrest" name="Generator">
+<meta name="Forrest-version" content="0.6">
+<meta name="Forrest-skin-name" content="pelt">
+<title>Apache Muse - Project Artifacts for Mini SOAP Engine</title>
+<link type="text/css" href="../../../skin/basic.css" rel="stylesheet">
+<link media="screen" type="text/css" href="../../../skin/screen.css" rel="stylesheet">
+<link media="print" type="text/css" href="../../../skin/print.css" rel="stylesheet">
+<link type="text/css" href="../../../skin/profile.css" rel="stylesheet">
+<script src="../../../skin/getBlank.js" language="javascript" type="text/javascript"></script><script src="../../../skin/getMenu.js" language="javascript" type="text/javascript"></script><script src="../../../skin/fontsize.js" language="javascript" type="text/javascript"></script>
+<link rel="shortcut icon" href="../../../images/apache.ico">
+</head>
+<body onload="init()">
+<script type="text/javascript">ndeSetTextSize();</script>
+<div id="top">
+<!--+
+ |breadtrail
+ +-->
+<div class="breadtrail">
+<a href="http://www.apache.org/">apache</a> > <a href="http://ws.apache.org">ws.apache</a><script src="../../../skin/breadcrumbs.js" language="JavaScript" type="text/javascript"></script>
+</div>
+<!--+
+ |header
+ +-->
+<div class="header">
+<!--+
+ |start group logo
+ +-->
+<div class="grouplogo">
+<a href="http://ws.apache.org/"><img class="logoImage" alt="Web Services" src="../../../images/ws-logo.gif"></a>
+</div>
+<!--+
+ |end group logo
+ +-->
+<!--+
+ |start Project Logo
+ +-->
+<div class="projectlogoA1">
+<a href="../../../index.html"><img class="logoImage" alt="Apache Muse" src="../../../images/muse-logo.gif"></a>
+</div>
+<!--+
+ |end Project Logo
+ +-->
+<!--+
+ |start Tabs
+ +-->
+<!--+
+ |end Tabs
+ +-->
+</div>
+</div>
+<div id="main">
+<div id="publishedStrip">
+<!--+
+ |start Subtabs
+ +-->
+<div id="level2tabs"></div>
+<!--+
+ |end Endtabs
+ +-->
+<script type="text/javascript" language="JavaScript"><!--
+ document.write("Published: " + document.lastModified);
+ // --></script>
+</div>
+<!--+
+ |breadtrail
+ +-->
+<div class="breadtrail">
+
+
+ </div>
+<!--+
+ |start Menu, mainarea
+ +-->
+<!--+
+ |start Menu
+ +-->
+<div id="menu">
+<div id="menu_1.3Title" class="menutitle">Documentation</div>
+<div id="menu_1.3" class="selectedmenuitemgroup">
+<div class="menuitem">
+<a title="" href="../tutorial/index.html">Getting Started</a>
+</div>
+<div class="menuitem">
+<a title="" href="../manual/index.html">Reference Manual</a>
+</div>
+<div class="menuitem">
+<a title="" href="../javadoc/index.html">JavaDoc</a>
+</div>
+<div class="menuitem">
+<a title="" href="../specs/index.html">OASIS Standards</a>
+</div>
+</div>
+<div id="roundbottom">
+<img style="display: none" class="corner" height="15" width="15" alt="" src="../../../skin/images/rc-b-l-15-1body-2menu-3menu.png"></div>
+<!--+
+ |alternative credits
+ +-->
+</div>
+<!--+
+ |end Menu
+ +-->
+<!--+
+ |start content
+ +-->
+<div id="content">
+<div id="skinconf-txtlink"></div>
+<h2>Apache Muse - Project Artifacts for Mini SOAP Engine</h2>
+<div id="minitoc-area">
+<ul class="minitoc">
+<li>
+<a href="#overview">Overview</a>
+</li>
+<li>
+<a href="#application-layout">Application Layout</a>
+</li>
+</ul>
+</div>
+
+<a name="overview"></a>
+<h2 class="boxed">Overview</h2>
+<div class="section">
+<p>
+When Muse applications are deployed on top of its "mini" SOAP engine, they are much
+smaller than when they are deployed on Apache Axis2. The mini SOAP engine is a simple
+J2EE servlet the parses HTTP POST data and turns it into a SOAP envelope that can
+be passed along to the Muse runtime. When using the mini SOAP engine, you can run
+Muse-based applications in any servlet container and within J2ME environments.
+</p>
+</div>
+
+<a name="application-layout"></a>
+<h2 class="boxed">Application Layout</h2>
+<div class="section">
+
+<p>
+The "mini" version of the sample project is a J2EE web application with the following directory structure:
+</p>
+
+<div class="frame note">
+<div class="label">Application Layout - J2EE WAR</div>
+<div class="content">
+<code>
+/wsn-producer<br>
+ /WEB-INF<br>
+ /classes<br>
+ /router-entries<br>
+ ...<br>
+ /wsdl<br>
+ <em>WsResource.wsdl</em><br>
+ ...<br>
+ <em>muse.xml</em><br>
+ <em>muse-descriptor.xsd</em><br>
+ /lib<br>
+ ...<br>
+ <em>web.xml</em><br>
+</code>
+</div>
+</div>
+<p>
+The nature of these files and directories is as follows:
+<ul>
+<li><b>/WEB-INF/classes/router-entries</b> - This directory holds XML files that contain the endpoint references (EPRs) for resources
+that are to be created upon application startup. WSDL2Java creates one such resource during code generation.
+<br/></li><br/>
+<li><b>/WEB-INF/classes/wsdl</b> - This directory holds the WSDL and related schema files for the resource type implemented in the sample.
+The WsResource.wsdl file is the WSDL for the sample resource type. The schema files define standard data types that are used in the resource
+interface; all schemas in the Muse sample projects were authored by OASIS or W3C and represent the latest versions of their respective standards.
+<br/></li><br/>
+<li><b>/WEB-INF/classes/muse.xml</b> - This is the Muse deployment descriptor. It is read by Muse at initialization in order to load, configure, and support the resource types that you have implemented.
+<br/></li><br/>
+<li><b>/WEB-INF/classes/muse-descriptor.xsd</b> - This is the schema for the Muse deployment descriptor. It is provided here for educational purposes, and so you can validate any changes you might make to it.
+<br/></li><br/>
+<li><b>/WEB-INF/lib</b> - This is the standard WAR directory for Java classes that are part of a JAR file. The
+JAR files include all of the API and implementation classes for the Muse framework (these files are identified
+by the <em>muse-</em> prefix).
+<br/></li><br/>
+<li><b>/WEB-INF/web.xml</b> - This is the standard WAR configuration file. It will be static for Muse users.
+<br/></li><br/>
+</ul>
+</p>
+<p>
+Towards the end of the tutorial, you will learn how to build, deploy, and test this application with the help of Apache Tomcat.
+</p>
+<p>
+<br/>
+<a href="03-wsdl2java.html"><strong><</strong> Back</a>
+
+<a href="05-review-descriptor.html">Next <strong>></strong></a>
+</p>
+</div>
+
+
+<!--+
+ |end content
+ +-->
+<div class="clearboth"> </div>
+</div>
+<div id="footer">
+<!--+
+ |start bottomstrip
+ +-->
+<div class="lastmodified">
+<script type="text/javascript"><!--
+document.write("Last Published: " + document.lastModified);
+// --></script>
+</div>
+<div class="copyright">
+ Copyright © 2006 The Apache Software Foundation.</div>
+<!--+
+ |end bottomstrip
+ +-->
+</div>
+</body>
+</html>
Modified: webservices/muse/site/docs/2.1.0/tutorial/05-review-descriptor.html
URL: http://svn.apache.org/viewvc/webservices/muse/site/docs/2.1.0/tutorial/05-review-descriptor.html?view=diff&rev=484758&r1=476588&r2=484758
==============================================================================
--- webservices/muse/site/docs/2.1.0/tutorial/05-review-descriptor.html (original)
+++ webservices/muse/site/docs/2.1.0/tutorial/05-review-descriptor.html Fri Dec 8 12:35:32 2006
@@ -212,31 +212,6 @@
and operations. Distinguishing your capability interfaces in this manner makes
it easier to reuse them (and their implementations!) in other resource types.
</p>
-<p>
-<div class="frame note">
-<div class="label">Manual Change for Users of WSN NotificationProducer</div>
-<div class="content">
-The WSN 1.3 spec says that a subscription to a resource's notifications is a
-WS-resource itself; in other words, every time you subscribe to notifications
-from a particular resource, it will create <em>another</em> resource to represent
-the subscription. The length of time that the consumer will receive messages
-for that subscription is equal to the lifetime of the new subscription resource.
-<br/><br/>
-Muse defines the WSN subscription resource type as it does all other resource
-types - by using the <resource-type/> element in <em>muse.xml</em>. The
-documentation for the <a href="../manual/capabilities/wsn-np.html">WSN
-NotificationProducer capability</a> describes in more detail the dependency
-between producer resources and the subscrition resource type; for now, it is
-important that you add the subscription resource type into the generated
-<em>muse.xml</em> file so that the notification system is complete. You can
-get a copy of the required XML <a href="artifacts/subscription-manager-muse.xml">here</a>.
-</div>
-</div>
-</p>
-</div>
-<p>It's now time to take a look at the generated code and see how it relates to
-the definitions in muse.xml.
-</p>
<a name="N10016"></a><a name="comparison-to-code"></a>
<h2 class="boxed">Comparison to the Generated Code</h2>
@@ -309,6 +284,8 @@
<a href="04-review-artifacts-axis2.html"><strong><</strong> Back (Axis2)</a>
<a href="04-review-artifacts-osgi.html"><strong><</strong> Back (OSGi)</a>
+
+<a href="04-review-artifacts-mini.html"><strong><</strong> Back (Mini)</a>
<a href="06-custom-capabilities.html">Next <strong>></strong></a>
</p>
Modified: webservices/muse/site/docs/2.1.0/tutorial/06-custom-capabilities.html
URL: http://svn.apache.org/viewvc/webservices/muse/site/docs/2.1.0/tutorial/06-custom-capabilities.html?view=diff&rev=484758&r1=476588&r2=484758
==============================================================================
--- webservices/muse/site/docs/2.1.0/tutorial/06-custom-capabilities.html (original)
+++ webservices/muse/site/docs/2.1.0/tutorial/06-custom-capabilities.html Fri Dec 8 12:35:32 2006
@@ -398,9 +398,11 @@
<br/>
<a href="05-review-descriptor.html"><strong><</strong> Back</a>
-<a href="07-deploy-application-axis2.html">Next (Axis2 users) <strong>></strong></a>
+<a href="07-deploy-application-axis2.html">Next (Axis2) <strong>></strong></a>
-<a href="07-deploy-application-osgi.html">Next (OSGi users) <strong>></strong></a>
+<a href="07-deploy-application-osgi.html">Next (OSGi) <strong>></strong></a>
+
+<a href="07-deploy-application-mini.html">Next (Mini) <strong>></strong></a>
</p>
</div>
Added: webservices/muse/site/docs/2.1.0/tutorial/07-deploy-application-mini.html
URL: http://svn.apache.org/viewvc/webservices/muse/site/docs/2.1.0/tutorial/07-deploy-application-mini.html?view=auto&rev=484758
==============================================================================
--- webservices/muse/site/docs/2.1.0/tutorial/07-deploy-application-mini.html (added)
+++ webservices/muse/site/docs/2.1.0/tutorial/07-deploy-application-mini.html Fri Dec 8 12:35:32 2006
@@ -0,0 +1,156 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+<head>
+<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<meta content="Apache Forrest" name="Generator">
+<meta name="Forrest-version" content="0.6">
+<meta name="Forrest-skin-name" content="pelt">
+<title>Apache Muse - Application Deployment for Mini SOAP Engine</title>
+<link type="text/css" href="../../../skin/basic.css" rel="stylesheet">
+<link media="screen" type="text/css" href="../../../skin/screen.css" rel="stylesheet">
+<link media="print" type="text/css" href="../../../skin/print.css" rel="stylesheet">
+<link type="text/css" href="../../../skin/profile.css" rel="stylesheet">
+<script src="../../../skin/getBlank.js" language="javascript" type="text/javascript"></script><script src="../../../skin/getMenu.js" language="javascript" type="text/javascript"></script><script src="../../../skin/fontsize.js" language="javascript" type="text/javascript"></script>
+<link rel="shortcut icon" href="../../../images/apache.ico">
+</head>
+<body onload="init()">
+<script type="text/javascript">ndeSetTextSize();</script>
+<div id="top">
+<!--+
+ |breadtrail
+ +-->
+<div class="breadtrail">
+<a href="http://www.apache.org/">apache</a> > <a href="http://ws.apache.org">ws.apache</a><script src="../../../skin/breadcrumbs.js" language="JavaScript" type="text/javascript"></script>
+</div>
+<!--+
+ |header
+ +-->
+<div class="header">
+<!--+
+ |start group logo
+ +-->
+<div class="grouplogo">
+<a href="http://ws.apache.org/"><img class="logoImage" alt="Web Services" src="../../../images/ws-logo.gif"></a>
+</div>
+<!--+
+ |end group logo
+ +-->
+<!--+
+ |start Project Logo
+ +-->
+<div class="projectlogoA1">
+<a href="../../../index.html"><img class="logoImage" alt="Apache Muse" src="../../../images/muse-logo.gif"></a>
+</div>
+<!--+
+ |end Project Logo
+ +-->
+<!--+
+ |start Tabs
+ +-->
+<!--+
+ |end Tabs
+ +-->
+</div>
+</div>
+<div id="main">
+<div id="publishedStrip">
+<!--+
+ |start Subtabs
+ +-->
+<div id="level2tabs"></div>
+<!--+
+ |end Endtabs
+ +-->
+<script type="text/javascript" language="JavaScript"><!--
+ document.write("Published: " + document.lastModified);
+ // --></script>
+</div>
+<!--+
+ |breadtrail
+ +-->
+<div class="breadtrail">
+
+
+ </div>
+<!--+
+ |start Menu, mainarea
+ +-->
+<!--+
+ |start Menu
+ +-->
+<div id="menu">
+<div id="menu_1.3Title" class="menutitle">Documentation</div>
+<div id="menu_1.3" class="selectedmenuitemgroup">
+<div class="menuitem">
+<a title="" href="../tutorial/index.html">Getting Started</a>
+</div>
+<div class="menuitem">
+<a title="" href="../manual/index.html">Reference Manual</a>
+</div>
+<div class="menuitem">
+<a title="" href="../javadoc/index.html">JavaDoc</a>
+</div>
+<div class="menuitem">
+<a title="" href="../specs/index.html">OASIS Standards</a>
+</div>
+</div>
+<div id="roundbottom">
+<img style="display: none" class="corner" height="15" width="15" alt="" src="../../../skin/images/rc-b-l-15-1body-2menu-3menu.png"></div>
+<!--+
+ |alternative credits
+ +-->
+</div>
+<!--+
+ |end Menu
+ +-->
+<!--+
+ |start content
+ +-->
+<div id="content">
+<div id="skinconf-txtlink"></div>
+<h2>Apache Muse - Application Deployment for Mini SOAP Engine</h2>
+
+<p>WSDL2Java generates an <a href="http://ant.apache.org" class="external">Ant</a>
+build file (<em>build.xml</em>) that can be used to compile the code we've written and
+create a deployable J2EE WAR. Simply run <em>ant</em> in the generated project's directory
+and it will create a WAR file with the latest code and artifacts. The name of the WAR
+will be that of the directory that holds the project - if you want to change the
+name of the WAR, you need to change the name of the directory.
+</p>
+<p>
+If you have <a href="http://tomcat.apache.org" class="external">Apache Tomcat</a> installed, you can deploy
+this WAR into Tomcat by copying it to the <em>$TOMCAT_HOME/webapps</em> directory.
+When the server is started it will unpack the WAR and install the application. That's
+all there is to it! Other application servers will have similar methods for one-step
+deployment of WARs via command line or web console.
+<br/>
+</p>
+<p>
+<a href="06-custom-capabilities.html"><strong><</strong> Back</a>
+
+<a href="08-test-client.html">Next <strong>></strong></a>
+</p>
+
+</div>
+<!--+
+ |end content
+ +-->
+<div class="clearboth"> </div>
+</div>
+<div id="footer">
+<!--+
+ |start bottomstrip
+ +-->
+<div class="lastmodified">
+<script type="text/javascript"><!--
+document.write("Last Published: " + document.lastModified);
+// --></script>
+</div>
+<div class="copyright">
+ Copyright © 2006 The Apache Software Foundation.</div>
+<!--+
+ |end bottomstrip
+ +-->
+</div>
+</body>
+</html>
Modified: webservices/muse/site/docs/2.1.0/tutorial/08-test-client.html
URL: http://svn.apache.org/viewvc/webservices/muse/site/docs/2.1.0/tutorial/08-test-client.html?view=diff&rev=484758&r1=476588&r2=484758
==============================================================================
--- webservices/muse/site/docs/2.1.0/tutorial/08-test-client.html (original)
+++ webservices/muse/site/docs/2.1.0/tutorial/08-test-client.html Fri Dec 8 12:35:32 2006
@@ -179,6 +179,8 @@
<a href="07-deploy-application-axis2.html"><strong><</strong> Back (Axis2)</a>
<a href="07-deploy-application-osgi.html"><strong><</strong> Back (OSGi)</a>
+
+<a href="07-deploy-application-mini.html"><strong><</strong> Back (Mini)</a>
</p>
</div>
Modified: webservices/muse/site/docs/2.1.0/tutorial/index.html
URL: http://svn.apache.org/viewvc/webservices/muse/site/docs/2.1.0/tutorial/index.html?view=diff&rev=484758&r1=476588&r2=484758
==============================================================================
--- webservices/muse/site/docs/2.1.0/tutorial/index.html (original)
+++ webservices/muse/site/docs/2.1.0/tutorial/index.html Fri Dec 8 12:35:32 2006
@@ -125,10 +125,10 @@
</div>
<p>
During the tutorial, you will occasionally have to choose between sections based on
-Apache Axis2 deployment or OSGi deployment; the programming model and code will remain
-the same no matter which platform is chosen, but the packaging will be different.
-In general, your design and development should not be affected by platform choice, but
-the set up of your deployment and test environment will vary.
+Apache Axis2, OSGi, or constrained footprint ("mini") deployment; the programming model
+and code will remain the same no matter which platform is chosen, but the packaging
+will be different. In general, your design and development should not be affected by
+platform choice, but the set up of your deployment and test environment may vary.
</p>
<p><strong>Table of Contents</strong>
<div id="minitoc-area">
@@ -139,13 +139,17 @@
</li>
<li><a href="03-wsdl2java.html">Code Generation with WSDL2Java</a>
</li>
-<li>Project Artifacts for <a href="04-review-artifacts-axis2.html">Apache Axis2</a> or <a href="04-review-artifacts-osgi.html">OSGi</a>
+<li>Project Artifacts for <a href="04-review-artifacts-axis2.html">Apache Axis2</a>,
+<a href="04-review-artifacts-osgi.html">OSGi</a>, or
+<a href="04-review-artifacts-mini.html">Mini SOAP Engine</a>
</li>
<li><a href="05-review-descriptor.html">Deployment Descriptor</a>
</li>
<li><a href="06-custom-capabilities.html">Writing Code for Custom Capabilities</a>
</li>
-<li>Application Deployment for <a href="07-deploy-application-axis2.html">Apache Axis2</a> or <a href="07-deploy-application-osgi.html">OSGi</a>
+<li>Application Deployment for <a href="07-deploy-application-axis2.html">Apache Axis2</a>,
+<a href="07-deploy-application-osgi.html">OSGi</a>, or
+<a href="07-deploy-application-mini.html">Mini SOAP Engine</a>
</li>
<li><a href="08-test-client.html">Testing Your Application</a>
</li>
---------------------------------------------------------------------
To unsubscribe, e-mail: muse-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: muse-commits-help@ws.apache.org