Thursday, April 29, 2004 01:20 AM
You're facing an issue which is inherent to RMI. Whereas there are many solutions (code generators for example), I believe the real problem is RMI itself. Its lack of dynamism usually leads to poor solutions.
I suggest you have a look to the Mandala project
which focuses on dynamism for both remote aspect and concurrent aspect. I believe using Mandala, you'll find an elegant solution to your problem.