[Red5] Moved config files to /etc: No bean named 'red5.common' is defined
flash at novemberain.com
Thu Aug 17 05:04:00 EDT 2006
Alexander Farber wrote:
> PS: Don't want to annoy anyone here, but to me
> as a JAVA/XML illiterate and maybe even a hater
> this Spring-stuff just feels so wrong: instead of
> using one plain text file for configuration, you
> have to spend days to debug this XML-junk and
> even once you sort it out, it is still counter-intuitive:
Spring does use properties files for external variables. Spring even
have special bean type for it:
<property name="location" value="classpath:/red5.properties" />
This one was taken from red5-core.xml app context file which is used by
Red5 core application.
If you found Spring counter-intuitive, you may give it up and create
your own IoC container or develop Pico-based Red5. But every IoC
container I know uses XML because... well, you just won't believe me.
If I were you I would just read Spring reference up to 4th chapter. Many
things suddenly will become clear and obvious. Don't blame tool if you
can't use it. Probably the reason is you.
Michael "Antares" Klishin,
novemberain.com | osflash.org/red5 | rubyonrails.ru | flex.org
More information about the Red5