The event system (see Out-of-Process Extension Points) introduced in Content Services 7 enables out-of-process extensions. To support the event system a REST API Java Wrapper is provided for easy development of extensions from Java applications. For more information on a REST API Java Wrapper, see REST API Java Wrapper.
You should get familiar with the SDK 5 as it is the recommended way of developing out-of-process extensions.