You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by sl...@apache.org on 2008/07/25 12:24:40 UTC

svn commit: r679747 - /tuscany/java/sca/samples/feed-aggregator/README

Author: slaws
Date: Fri Jul 25 03:24:39 2008
New Revision: 679747

URL: http://svn.apache.org/viewvc?rev=679747&view=rev
Log:
TUSCANY-2497 - README update. Thanks for the patch Dhaval

Modified:
    tuscany/java/sca/samples/feed-aggregator/README

Modified: tuscany/java/sca/samples/feed-aggregator/README
URL: http://svn.apache.org/viewvc/tuscany/java/sca/samples/feed-aggregator/README?rev=679747&r1=679746&r2=679747&view=diff
==============================================================================
--- tuscany/java/sca/samples/feed-aggregator/README (original)
+++ tuscany/java/sca/samples/feed-aggregator/README Fri Jul 25 03:24:39 2008
@@ -54,16 +54,28 @@
     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
 -----------------------------------------