title: How to define Getter and Setter (Property) in java interface
body: <p>I want to use RMI in my application. So using the interface is compulsory. I want to force the developer to implement getter and setters. So I want to define the getter and setter methods in my interface. How can I do this? Unfortunately there is no useful article or link to help me. Any helps would be appreciated.</p>