Change log. Latest additions on top.
Added support for Java8, migrated from deprecated apt.
See also: https://github.com/anotheria/distributeme/pull/4
For generation pom.xml should be changed:
<plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>3.5.1</version> <configuration> <source>${source-version}</source> <target>${target-version}</target> <annotationProcessors> <annotationProcessor> org.distributeme.processors.GeneratorProcessorFactory </annotationProcessor> </annotationProcessors> </configuration> </plugin> |
Maintenances release with a major version upgrade due to new parent, new dependencies, maven central publishing.
1.0.5 services can not work with 1.0.4 registry and vice-versa, you have to upgrade both |
@DistributeMe public interface FirstService extends Service{ String greet(String message); } public class RemoteClient { public static void main(String[] args) { FirstService service = ServiceLocator.getRemote(FirstService.class); System.out.println("client: Service replied "+service.greet("Hello from client")); } } |