first SharedObjects will work out of the box with Red5 so long as you have a valid application setup.  Are you trying to manipulate shared objects on the server?
 
Second, yes if your Application Class extends ApplicationAdapter you receive many capabilities such as SharedObject handling..
 
however..
class="drawing/Application"
 
I notice you put a forward slash there.  Is that a typo cause it should be a period?
 
Dominick Accattato, CTO
New View Networks
www.newviewnetworks.com
 
On 8/11/06, Sascha <[EMAIL PROTECTED]> wrote:
uhm also if i now look very dumb to the most java dev“s here . but tried
to combine a SO
sample with the "how to... new application" >add example< eg.:

*_________*
*[JAVA]
*---------

import org.red5.server.adapter.ApplicationAdapter;

public class Application extends ApplicationAdapter

{

public double add(double a, double b)

   {

   return a + b;

   }

}
---------

*[/JAVA]
_________
*
well anyway, i wheter call the "add function" or i can use the shared
objet stuff but i cant do both :-(
that belongs to my settings in the red5-web.xml eg.:

*_________*
*[ red5-web.xml ]
*---------

   <bean id="web.handler"
       class="org.red5.server.adapter.ApplicationAdapter"
       singleton="true" />

---------
*[ red5-web.xml ]*
*_________*


when i configure it that way the SO functionality works but to get a
result from the add function
i would need to change this line here:

class="org.red5.server.adapter.ApplicationAdapter"

to

class="drawing/Application"

i thought in case of the Application cla extends the ApplicationAdapter
class it should work because this is needed for the SO...

where is my foult??

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

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

Reply via email to