anchor.diff:  
   }
   ----
  -To register a class as OSGi-Service (Component is used here as synonym) just use `@Component` as class annotation. That's the minimum to register a class as OSGi service. If you save this class automatically a new XML file `my.osgi.ds.example.helloservice.impl.HelloWorldServiceImpl.xml` will be generated `OSGI-INF`. 
  +To register a class as OSGi-Service (Component is used here as synonym) just use `@Component` as class annotation. That's the minimum to register a class as OSGi service. Whenever you save this class, automatically a new XML file `my.osgi.ds.example.helloservice.impl.HelloWorldServiceImpl.xml` will be generated `OSGI-INF`. 
   [source,xml]
   ----
   <?xml version="1.0" encoding="UTF-8"?>
  
positive.code: ----
  So in the most cases this should be enough. Look's quite easy. 
  
  
  === HelloWorldClient ===
  
  [source,java]
  ----
  
negative.code: import org.osgi.service.component.annotations.Deactivate;
  import org.osgi.service.component.annotations.Reference;
  
  import my.osgi.ds.example.helloservice.api.HelloWorldService;
  
  @Component
  public class HelloWorldClientImpl {
  	private HelloWorldService helloWorldService;
  
  	@Reference(unbind = "unbind") 
  	public void bind(HelloWorldService helloWorldService) {
  		this.helloWorldService = helloWorldService;
  	}
  
  	@Activate
  	public void start() {
  		helloWorldService.sayHello("Mr. X");
  	}
  
  	public void unbind(HelloWorldService helloWorldService) {
  		this.helloWorldService = null;
  	}
      
  	@Deactivate
  	public void stop() {
  		this.helloWorldService = null;
  	}
  }
  ----
  Again a XML file `my.osgi.ds.example.helloclient.impl.HelloWorldClientImpl.xml` is generated in the folder `OSGI-INF`. 
  
  Content look like this:
  [source,xml]
  ----
  <?xml version="1.0" encoding="UTF-8"?>
  <scr:component xmlns:scr="http://www.osgi.org/xmlns/scr/v1.1.0" activate="start" deactivate="stop" name="my.osgi.ds.example.helloclient.impl.HelloWorldClientImpl">
     <reference bind="bind" cardinality="1..1" interface="my.osgi.ds.example.helloservice.api.HelloWorldService" policy="static" unbind="unbind"/>
     <implementation class="my.osgi.ds.example.helloclient.impl.HelloWorldClientImpl"/>
  </scr:component>
  ----
  
  