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.