flex Á¬½ÓÊý¾Ý¿âʧ°Ü£¿£¿
ÎÒÊǰ´ http://hi.baidu.com/dapao98301/blog/item/eff43ed557b44509a08bb75f.html ¸øÎÒµÄÌáʾ×öµÄ£¬ÏÖÔÚ×ÜÊÇ
<mx:RemoteObject id="getData" destination="dataService1" result="proccessResult(event.result)" fault="Alert.show(event.fault.faultString,'Error')"/>
Õâ¶Î´úÂ룬µ¯³öÕÒ²»µ½¡°dataService1¡± £¬ÎÒÔÚremoting-config.xml ÅäÖÃÖмÓÈëµÄÊÇÈçÏ´úÂ룺
<destination id="dataService1">
<properties>
<source>com.connectDB.DateServiceImpl </source>
</properties>
</destination>
È·¶¨ÀàÎļþÊÇû´íµÄ£¬ÎÒµÄÊý¾Ý¿âÊÇÓÃmysql£¬mysqlµÄjar·ÅÖÃÁËlibÏÂÃæ£¬²»ÖªµÀ»¹ÓÐʲôûÓÐÅäÖõÄÂð????
Çë¸÷λ´óÏÀ°ï°ï棬¼±£¡£¡£¡
ÄÇÇëÎÊÎÒ¸ÃÔõÑùÕýÈ·µÄÖ¸¶¨service-config£¬ÎÒÊÇÔÚfdsÏÂÐ޸ĵÄÅäÖÃÎļþ£¬»¹Ðè²»ÐèÁíÍ⽨service-config.xml Îļþ
´íÎóÐÅÏ¢£º
[MessagingError message='Destination 'dataService1' either does not exist or the destination has no channels defined (and the application does not define any default channels.)']
Ïà¹ØÎÊ´ð£º
Èç¹ûÓÐÊý¾ÝÔ´ÈçÏ£º
<root>
<type label="Food" name="li">
<food label=" ......
ÎÒÔÚCanvasÀï»ÍøÂçÍØÆËͼ£¬½ÚµãÊÇÓÃVBoxÀ´×öµÄ£¬VBoxÀï°üº¬imageºÍlabel.µ±³¬³ö·¶Î§Ê±canvasÉú³É¹ö¶¯Ìõ£¬Í϶¯¹ö¶¯ÌõµÄʱºò£¬½Úµã¾Í´íλÁË¡£ÇëÎÊÔõô½â¾ö£¬Ð»Ð»
²»ÈÃËü³¬³ö·¶Î§ßÂ...£¬»ò½ûÓÃcanvasµÄ ......
ÕýÔÚѧϰMenuBar¿Ø¼þ£¬µ«ÊÇMenuBarÖеÄiconĬÈÏÊÇÏÔʾÔÚ¸ù½ÚµãÎÄ×Ö×ó±ßµÄ£¬ÈçºÎµ÷Õûµ½ÓÒ±ßÈ¥¡£ÄѵÀÒªÖØÐ´ÀàÂ𣿸ոÕѧϰ£¬Ã»ÓÐÕâô¸ßˮƽ¡£µ½ÍøÉÏÕÒҲûÓÐÕâ·½ÃæµÄ×ÊÁÏ¡£
menu¼Ì³Ð×Ôlist¶ø²»ÊÇbutton£¬²»Ö§³ÖiconÓÒ ......
ÎÒ×öÁ˸öÍøÂçÍØÆËͼ¡£ÀûÓÃBlazedsÀ´È¥Êý¾Ý¶ÔÏó£¨remoteObject£©£¬ÏÔʾÔÚDataGridÀïÃæ£¬Á¬½ÓÊý¾Ý¿âÓõÄÊÇjdbc·½Ê½¡£Ô¶³Ì¶ÔÏóÈ¡µÃºóµ÷Ó÷½·¨È¡µÃÊý¾Ý¿âµÄÊý¾Ý£¬ÎÒÄܲ»Äܶ¨Ê±È¥µ÷ÓÃÔ¶³Ì¶ÔÏóÀïµÄ·½·¨À´È¡µÃÊý¾Ý¡ ......
Ôõô½â¾öflexÓëJava´úÂë½»»¥Ê±µÄÒ첽ͨÐÅÎÊÌ⣿£¿³ýÁ˰ѷ½·¨·ÅÈëresultÖл¹ÓÐʲô°ì·¨£¿
AbstractOperationµÄsend()·½·¨·µ»ØÒ»¸öAsyncToken¶ÔÏ󣬶øResultEventÒ²ÓÐtokenÊôÐÔ£¬ËüºÍsend()·½·¨·µ»ØµÄAsyncTokenÊÇÍ¬Ò ......