Date: 2004-01-09T12:04:02
   Editor: 160.33.82.119 <>
   Wiki: Apache Avalon Wiki
   Page: ContainerStory
   URL: http://wiki.apache.org/avalon/ContainerStory

   added Stephen's comments on service vs component -farra

Change Log:

------------------------------------------------------------------------------
@@ -38,7 +38,19 @@
     Object serviceManager.lookup(String role);
 
 
-So in this sense, Components ARE Services.  But now the Avalon community had two 
names for the same thing and this is generally were confusion arises.  In ''my'' 
humble opinion, the word ''service'' generally describes the interface or role and 
''component'' describes the interface + one or more implementations.  But that's just 
me.
+So in this sense, Components ARE Services.  But now the Avalon community had two 
names for the same thing and this is generally were confusion arises.  In ''my'' 
humble opinion, the word ''service'' generally describes the interface or role and 
''component'' describes the interface + one or more implementations.  But that's just 
me. -farra
+
+Stephen adds:
+
+I disagree with this.  A "component" is an implementation artifact that 
+exposes 0..n services.  A "service" is computation contract exposed by a 
+component.  A component may include many other features that are not 
+exposed through the services that is publishes.
+
+A "service" is typically represented by a Java interface and possibly 
+supporting meta-info (such as a version, attributes, etc.).
+
+A "component" is an example of a "service-delivery-strategy".
 
 == Fortress and Merlin arrive ==
 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to