Centralized remoting

Although the current implementation of remoting is great and offers great flexibility but it becomes a big pain when the number of objects invlolved is large, updating each config file whenever the location of any object that it uses changes can be very tedious work, i wonder if there is some work in progress to have something like the naming service in java. I think i will need to implement something like that because we have around 10 remote objects which use each other so synchronizing config files slows down development a  lot , it would be better to develop a service that knows the locations of remote objects of various types,

Basically it would be a  Type --> Url mapping. All remote objects would register themselves when their host starts up and de-register when the host shuts down and then to get an instance of a paticular object i would just have to use this "Object locator" service, infact i could even implement some knind of load balancing on this component.

No Comments