@inject- used to inject OSGi Services or Sling object into a Java class.Sling objects- Resource, Session, ValueMap, SlingHttpServletRequest, etc.,@ValueMapValue - used to inject properties of a resource (node) that are stored in the JCR repo.Such as title of a page, description of an image etc.,@Inj...