Differences between revisions 3 and 4
Revision 3 as of 2004-02-27 04:50:12
Size: 1129
Editor: farr
Comment: fixed formatting -farra
Revision 4 as of 2004-06-25 13:59:32
Size: 1161
Editor: cache4-outside-b
Comment: redirecting
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
#redirect ComponentVsService

What's the difference between a Component and a Service?

Usually not much.

[begin Avalon flash-back...]

In the beginning there was the Excalibur Component Manager (ECM) which was a basic Avalon container. All the components had to implement a marker interface named Component This often made it difficult to migrate existing applications to Avalon. So, an effort was made to update the framework to allow normal Java Objects to be handed by a container, not just object which implemented the Component interface.

[fast-forward to today...]

The ServiceManager and Serviceable interface allow newer Avalon containers to handle normal Java Objects, not just Components. This is the only real difference between a ServiceManager and a ComponentManager. Consequently, the words "service" and "component" have often been used interchangeably. Since the change, service has sometimes been used to refer to the interface (or role) and component refer to the implementation, but in general, the two terms mean the same thing.

For more information see the ContainerStory

[Return to ["AvalonFAQ"]"]

AvalonFAQ/ComponentVsService (last edited 2009-09-20 23:16:37 by localhost)