Question

How do I expose multiple objects with RMI using Spring?

I start with what is written here.

What if I want to expose more objects, must I declare another instance of RMIServiceExporter?

Was it helpful?

Solution

Yes you need to declare an instance of RMIServiceExporter for each service you wish to expose. Each RMIServiceExporter can only be associated with a single service instance and service interface.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top