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:

<bean id="placeholderConfig" 
class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
            <property name="location" value="classpath:/red5.properties" />
</bean>

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

_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org

Reply via email to