You need to make a destination for it in remoting-config.xml
e.g.:
<destination id="ClassName">
<properties>
<source>com.domain.ClassName</source>
<scope>application</scope>
</properties>
</destination>
(file would be in: /WEB-INF/classes/com/domain/ClassName)
in your mxml:
<mx:RemoteObject id="myRO" destination="ClassName"/>
to call your RO:
myRO.method();
Brennan
--- In [email protected], Madhuri Chamarty
<[EMAIL PROTECTED]> wrote:
>
> hi,
>
> I want to use the Remote Object for sending and receiving data.
I'm using java jdbc connectivity for that purpose of connecting to the
DB. I have placed my class files into the
C:\fds2\jrun4\servers\default\flex\WEB-INF\classes folder .
> I want to know how i can use Remote Object for getting my data to be
displayed on my mxml file..i tried it but was not working. Could u
please send me the code of how i can get the data.
>
> kindly help its urgent :(
>
> Thank u
>
>
>
> ---------------------------------
> Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls.
Great rates starting at 1ยข/min.
>
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/