Structure of a Component is always dynamic and depends on the resource you are going to register. Below are basic two development we require
Definition is a XML file that register the component instance in the system.
Generally a component share core resource to execute any operation and resource registration is required to get the permission to access it.
See also: