On Wed, 2006-10-25 at 17:39 -0700, Carl Sziebert wrote:
> Yes, you can just use the DataSource entry in the config file by
> itself.  I'd suggest that you use vanilla IoC and declare an
> accessor/mutator pair for the DataSource in your ApplicationAdapter
> subclass.  Then you'll need to declare the DataSource as a property of
> your ApplicationAdapter in the red5-web.xml like so:
> 
> <bean id="web.handler" class="example.Application" singleton="true">
>         <property name="dataSource" ref="dataSource" />
> </bean>

Or even go futher and create dependency injected beans for DAO to use
criteria queries (if you really need it, I dunno).
-- 
Michael,

puts self.inspect # => { Flex, Red5, Java, Ruby, insomnia } 


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

Reply via email to