Some advise for those considering using interface default methods in service api.
It's a good solution for adding a method to a smart proxy, but isn't compatible with interfaces used by a java reflective proxy (returned by your Exporter). Here's why; the method call on the dynamically generated reflective proxy, is marshalled across the network and invoked on the remote exported object, if the default method doesn't exist on the remote interface, it causes a runtime exception. Cheers, Peter. Sent from my Samsung device.