Hi,

is there is similar different in scope as with Cocoon 2.2 with regard to the location of Spring configuration files? I am referring to

http://cocoon.apache.org/2.2/core-modules/core/2.2/1263_1_1.html

e.g. beans defined by some Spring configuration files in /META-INF/cocoon/spring/ are globally accessible, while those in /COB-INF/config/spring/ are local to the block.

Would the same be applicable to Cocoon 3?

I will be running three application in the same servlet container as three different blocks. They will share 2 other blocks. I want to be quite sure that I do not mix the beans from different blocks. My first attempt resulted in app 1 reading a database of app 2, which of course should not be.

I have for each blocks a few REST resources defined. Can I have them defined in a Spring configuration file in /COB-INF/config/spring/ (local) while they are referring to a org.apache.cocoon.servlet.XMLSitemapServlet defined in a Spring configuration located in /META-INF/cocoon/spring/ (global). Will this work properly?

Thanks,

--
Andre H. Juffer              | Phone: +358-8-553 1161
Biocenter Oulu and           | Fax: +358-8-553-1141
Department of Biochemistry   | Email: andre.juf...@oulu.fi
University of Oulu, Finland  | WWW: www.biochem.oulu.fi/Biocomputing/
StruBioCat                   | WWW: www.strubiocat.oulu.fi
NordProt                     | WWW: www.nordprot.org
Triacle Biocomputing         | WWW: www.triacle-bc.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org
For additional commands, e-mail: users-h...@cocoon.apache.org

Reply via email to