cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Carsten Ziegeler <cziege...@apache.org>
Subject Re: Number of Spring configuration files
Date Mon, 17 Sep 2007 07:53:00 GMT
Reinhard Poetz wrote:
> Daniel Fagerstrom wrote:
>> Grzegorz Kossakowski skrev:
>>> I see. Last question is about multiple bean declarations in one xml
>>> file. Do we think it's good or
>>> bad practise?
>>
>> No strong opinion about that. If a couple of beans works togther or
>> are of the same "kind" it seem natural to put them together in one
>> file. Otherwise not. What is your opinion?
> 
> I agree with this. Also see
> http://netzooid.com/blog/2007/07/03/tips-for-improving-springs-start-up-performance/:
> Having a lot of XML files means a lot of files to parse which slows down
> the startup.
> 
What's the advantage of having several small xml files compared to one?
Too many files confuse users, so I would go to put everything in a
single file and only if it makes sense to split it, start a new file.

Carsten

-- 
Carsten Ziegeler
cziegeler@apache.org

Mime
View raw message