summaryrefslogtreecommitdiffstats
path: root/java/sca
diff options
context:
space:
mode:
authorslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2008-07-25 10:24:39 +0000
committerslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2008-07-25 10:24:39 +0000
commit46c3defe4419fb026e22bebe3d1699e02ffa860b (patch)
tree73e574c8c2e8ffe28aeef7b73bb2d64a37df7575 /java/sca
parent0187d475e1b885037f0eb4503f19a278bd0680d3 (diff)
TUSCANY-2497 - README update. Thanks for the patch Dhaval
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@679747 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r--java/sca/samples/feed-aggregator/README16
1 files changed, 14 insertions, 2 deletions
diff --git a/java/sca/samples/feed-aggregator/README b/java/sca/samples/feed-aggregator/README
index 5dfe430b83..14f2d94876 100644
--- a/java/sca/samples/feed-aggregator/README
+++ b/java/sca/samples/feed-aggregator/README
@@ -54,16 +54,28 @@ web-resource/
main/
java/
feed/
- FeedAggregatorImpl.java - implementation of the Feed
+ AggregatorImpl.java - implementation of the Feed
aggregator component
SampleServer.java - starts the SCA Runtime and
publishes the aggregated feeds
+ Sort.java - utilty interface
+ SortImpl.java - implementation of the Sort component
resources/
FeedAggregator.composite - the SCA assembly for this sample
feed-aggregator.png - a pictorial representation of the
sample .composite file
build.xml - the Ant build file
- pom.xml - the Maven build file
+ pom.xml - the Maven build file
+
+
+Details of how this sample works
+--------------------------------
+1. AggregatorImpl is used to implement the two main components here (RSSAggregator & AtomAggregator).
+2. AggregatorImpl directly implements the Tuscany Atom Collection interface. It is a component
+ that provides an Atom feed to respond (see tuscany/modules/binding-atom-abdera)
+3. The AggregatorImpl component is not explicitly configured using nested <service> element nor its
+ implementation class is annotated with @Service annotation. Instead, the Tuscany Atom Collection interface
+ defines its services using @Remotable annotation.
Building And Running The Sample Using Ant
-----------------------------------------