0 Replies Latest reply on Sep 13, 2009 10:29 PM by skanthi

    Using Remote Object

    skanthi

      Hi all..

       

      I have a doubt using RemoteObject...

       

      I have a java class with a method updateClient() and returns a String..

       

      I used a timer in flex which invokes Java class for every one second..

       

      the updateClient() uses a counter variable declared globally and returns an incremented value of the counter as String..

       

      But each time the timer invokes the method i can only see that the string returned is only "1";

       

      How does this happen.Only if a new instance on Java class is created each time.

       

      Is this true . i mean does the lcds creates a new instance of java class each time its method is invoked.???

       

      thankx..