my dog learned polymorphism
The moose likes Distributed Java and the fly likes Howto setup JNDI Federation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide 1Z0-808 this week in the OCAJP forum!
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "Howto setup JNDI Federation" Watch "Howto setup JNDI Federation" New topic

Howto setup JNDI Federation

pe bo

Joined: Dec 17, 2005
Posts: 3
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?

It is sorta covered in the JavaRanch Style Guide.
subject: Howto setup JNDI Federation