Thank you, that answers most of my questions.
For the second part concerning storing objects in JNDI, I went through another book and came across JNDI binding, where you can bind any object that serializable using ctx.bind();. Does this mean that you can in fact bind objects globally or am I misunderstanding something?
/Kristofer
[Message sent by forum member 'krippa' (krippa)]
http://forums.java.net/jive/thread.jspa?messageID=223896