what is the difference between interface implemented by the class and interface implemented by the component ?
posted 8 years ago
Interface implemented by a class contains all the logic within a class. Interface implemented by a component may scatter the logic between many classes or subcomponents. They may be similar from outside but different from inside. It is possible that component interface may define interaction using XML messages or any other kind of messages. Class interface always defines how objects will interact with each other. Hope it make sense.