So, I was doing my periodic surf of the Sun sites, looking for what’s changed, what’s new and wonderful, and possibly worth using, and JNDI caught my attention.
Last time I saw it, it wasn’t much to us, but since then we’ve taken to using LDAP a lot more extensively than we’d originally intended. JNDI seems to solve or improve several of the complaints we’ve had with LDAP (mainly along the lines of “the code to use it is a bitch to maintain”, and “DN syntax gives you headaches unless you work with it every day”). Note: LDAP’s great, but it’s still a PITA if you’re only trying to use it in a non-mainstream branch of your system, because it just has a different way of looking at everything compared to what you’re used to. So, it’s expensive (in time, effort) to maintain/use.
Has anyone here got any comments or experience of using JNDI they’d care to share? Our usage would be a bit unusual, but for other games devs JNDI could be an excellent replacement for LDAP user-accounts systems, or even as a basis for a game-logic system. A good research project, perhaps…
It seems, from Sun’s docs, that JNDI is simply two things:
- a wrapper of LDAP into a neat OOP API
- a federation/composite of LDAP with other directory protocols into a common API
Both of which seem emminently sensible, and neither of which I can see providing opportunities for Sun to produce a slow implementation (having a bottleneck where we would be using this would be lethal).