Cognizant interview question

Q . How to communicate between components?