Custom Adapter to Java API using reflection

We need to develop an adaptor to an application which has a Java / RMI API. At first we were developing Java Services for each API Service. But that is becoming quite tedious.

Alternatively we could hand code meta data, and mappings from idata to method calls, etc…

I would rather have an Adapter that uses Reflection to interogate the Java API to dynamically populate meta data, etc…

If anyone has experience with this sort of thing I would really appreciate hearing from you.

Would the EJB adapter be a fit?