This question would be for the Java/J2EE propellorheads among us.
I'm laying out my JNDI directory categories, and am curious if there's any type of naming or heirarchy conventions that some of you may follow (being more experienced than I am)?
What gets me is that JBoss puts some of its defaults all over the place, like JavaMail in java:/Mail, JMS stuff in java:/Queue/A,B,C /Topic/, etc... Some stuff is in java:/comp/env, like JDBC stuff, etc. Are any of these mandated and can only be found in that specific part of the JNDI directory? Like I see JDBC drivers always being registered under java:/comp/env/jdbc/foo ... do the drivers always go in there, i.e. unconfigurable, or can I change that?