[Red5] newb question on 'howto create new applications in red5'
Chedli Ghedira
chdoula at gmail.com
Sat Dec 9 06:05:36 EST 2006
Hi,
I recommand this link :
http://www.flashextensions.com/tutorials.php
See Red5 section for video tutorials for beginners like me and you ;o)
Good luck
2006/12/3, Roel Smulders <mstrblstrprdctns at hotmail.com>:
>
> I have 2 questions:
> when following the 'howto create new applications in red5'
> there is something I dont get :
>
> I have done exactly as the tutorial said: created a folder in webapps
> (named
> 'testapp') with inside it a WEB-INF folder with the 4 files from the
> emptyapp-template found in Red5\doc\templates\myapp\WEB-INF. I changed
> these
> to my needs, but I am puzzled by this code:
>
> <bean id="web.handler"
> class="the.path.to.my.Application"
> singleton="true" />
>
> <!-- this will support calling methods through "myhandler.<methodName>"
> -->
> <bean id="myhandler.service"
> class="the.path.to.my.ServiceHandler"
> singleton="true" />
>
> I have no clue whatso-ever what I should fill in there.. the web.handler
> class should be
> /testapp or Red5/webapps/testapp ?
> and where ARE the servicehandlers hidden? I dont get it..
>
> it then goes on howto create the server side logic, but tells not where to
> put it. it has something called
>
> package the.path.to.my;
>
> in it. The path to my - WHAT?
> after that, it is all clear, but where should I put:
>
> package the.path.to.my;
>
> import org.red5.server.adapter.ApplicationAdapter
> public class Application extends ApplicationAdapter {
> public Double add(Double a, Double b){
> return a+b;
> }
> }
>
> ?
>
> the action snippet to call the server side function is clear. But Where to
> store the server side script?? the tutorial does not mention, and I cannot
> find it anywhere in the existing examples...
>
> can some1 help me out on this one? it must be something obvious i totally
> miss, being a noob at red5....
>
> so, what should be put in the beans? what should package the.path.to.my;
> be?
> and where is the server side script at?
>
> those things do NOT become clear with the 'howto create new applications
> in
> red5' tutorial...
>
> thanx in advance!
>
> _________________________________________________________________
> Share your latest news with your friends with the Windows Live Spaces
> friends module.
>
> http://clk.atdmt.com/MSN/go/msnnkwsp0070000001msn/direct/01/?href=http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mk
>
>
> _______________________________________________
> Red5 mailing list
> Red5 at osflash.org
> http://osflash.org/mailman/listinfo/red5_osflash.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/red5_osflash.org/attachments/20061209/56b74dcc/attachment.htm
More information about the Red5
mailing list