Jndi or jmx lookup of ApplicationContext
Thanks for the answers.
I am not using any EJB's but I tried to use the FileSystemXmlApplicationContext instead of the XmlBeanFactory, and now i can use this as parent context;
I then registered this factory to jboss jndi and looked it up again in the webaplication where it is used as parent context for the webapp.
So for now I am happy and all seams to work fine:)
Just a little curious about the jndi lookup of the ApplicationContext. Saw someone waring about this method(classcast problem), but is there any other way to use the same beanfactory in many different applications running in the same application server?
As I see the JMX work in spring 1.2 will make the jndi lookup unnecessary, am I right?
/Kasper