We are using a lot of RMI services and some JMS services.
We would like to expose these services by using JNDI.
For the RMI Services, we've installed an LDAP Server (ApacheDS) where references are stored to the actual RMI services.
This was very easy to realize.
For JMS we are using ActiveMQ which uses it's own JNDI server implementation.
But now we have two JNDI servers and we don't want two seperate JNDI configurations within the client.
Therefore we would like to have one global entrypoint InitialContext and create a forest/federation of JNDI servers.
I've found documentation that states its possible to create such a forest even with complete virtual LDAP servers, but I have no idea how to realize this.
Is it possible to create an entry in our global JNDI (LDAP) the automatically links to the ActiveMQ JNDI server?
How should this be realized?