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.
--
Reinhard Pötz Independent Consultant, Trainer & (IT)-Coach
{Software Engineering, Open Source, Web Applications, Apache Cocoon}
web(log): http://www.poetz.cc
--------------------------------------------------------------------