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
[EMAIL PROTECTED]

Reply via email to