Author: svkrish
Date: Thu Aug 23 04:31:22 2007
New Revision: 568938
URL: http://svn.apache.org/viewvc?rev=568938&view=rev
Log:
modified to reflect more of what this sample is about
Modified:
incubator/tuscany/java/sca/samples/binding-echo2-extension/README
Modified: incubator/tuscany/java/sca/samples/binding-echo2-extension/README
URL:
http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/binding-echo2-extension/README?rev=568938&r1=568937&r2=568938&view=diff
==============================================================================
--- incubator/tuscany/java/sca/samples/binding-echo2-extension/README (original)
+++ incubator/tuscany/java/sca/samples/binding-echo2-extension/README Thu Aug
23 04:31:22 2007
@@ -1,7 +1,8 @@
Binding Echo Sample
===================
This sample demonstrates how new bindings are constructed for Apache Tuscany
-SCA.
+SCA using the lazy-loading approach where extensions are loaded only when they
+are encountered during the processing of a composite defintion (SCDL)
The README in the samples directory (the directory above this) provides
general instructions about building and running samples. Take a look there
@@ -16,35 +17,34 @@
This sample contains a implementation of an SCA binding that simply echoes
back
any messages that are sent to it.
-binding-echo-extension/
+binding-echo2-extension/
src/
main/
java/
- echo/ - The binding interfaces
- impl/ - The bindings model classes
- module/ - The activator that loads the binding into
the
- SCA runtime
- provider/ - The bindings runtime classes
+ echo2/
+ extension/ - The bindings model classes, runtime classes
server/ - A dummy server that the binding is plugged
into
resources/
META-INF/
services/
- org.apache.sca.tuscany.sca.core.ModuleActivator - specifies the
- module activation class to call
+
org.apache.tuscany.sca.contribution.processor.StAXArtifactProcessor - specifies
the
+ artifact processors to be loaded
+ org.apache.tuscany.sca.provider.BindingProviderFactory - specifies
the model classes for this binding
test/
java/
- echo/ - test code
+ echo2/ - test code
resources/
EchoBinding.composite - the SCA assembly used by the unit test
build.xml - the Ant build file
pom.xml - the Maven build file
+
Building The Sample Using Ant
-----------------------------
With the binary distribution the sample can be built using Ant as
follows
-cd binding-echo-extension
+cd binding-echo2-extension
ant compile
See the binding-echo sample to run a sample that uses this binding.
@@ -54,7 +54,7 @@
With either the binary or source distributions the sample can be built and run
using Maven as follows.
-cd binding-echo-extension
+cd binding-echo2-extension
mvn
Maven will also test that the sample extension built properly. You should see
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]