Click here to Skip to main content
16,019,619 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want to use RMI in m application. So using the interface is compulsory. I want to force the develpoer 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 usefull article or link to help me.
Posted
Comments
TorstenH. 6-Feb-13 3:52am    
Ok, so you have a RMI and you know about interfaces and stuff.
Why are you not able to define the getter and setter in the interface? What is the real problem? Do you know the values that have to be set? or are they not defined (yet)?

What about these links[^]? Lots of sample code and explanations.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900