I would like to have my app (EJBs) initialize similar to a Windows ini file. I'm assuming that storing various items in JNDI is the way to go.
How do I put these items into JNDI (assume they are string values)? Do they go in an XML files somewhere (like ejb-jar.xml)? I know there is an <env-entry> tag, but that seems to work on a bean basis (ie. goes within a session or entity bean).
Check the javadoc for javax.naming.Context bind(), rebind() and unbind() methods. Also notice you probably don't want to bind in the global namespace as this information would be available for everyone.