I have one doubt in understanding the term component and service in OSGI. I am using apache felix framework. I have read in the this link http://wiki.osgi.org/wiki/Declarative_Services#Providing_Services that components provide a service. But i didn't get that when component provides a service than what does interface does ? In my opinion interface is a service which is implemented by the component.
One more doubt is that if another bundle want to use the service of the other bundle than how it is done ? It uses the interface( service) or component(implementation class).
Please clear my doubts so that i can get better feel of the two term service and component and there relationship with scr notation.