Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

Flex BlazeDS Message Service

 ÏûÏ¢·þÎñ(Message Service )Ìṩ·¢²¼(publish)/¶©ÔÄ(subscribe)»úÖÆÔÊÐíFlex Ó¦ÓóÌÐò·¢²¼ÏûÏ¢¡¢¶©ÔÄÏûÏ¢ÖÕ¶Ë(messaging destination)£¬´Ó¶øʵÏÖʵʱÊý¾ÝµÄÍƺÍЭ×÷¡£
¡¡¡¡Ò»¡¢Message Service
¡¡¡¡Message Service Ìṩ·¢²¼(publish)/¶©ÔÄ(subscribe)»úÖÆÔÊÐíFlex Ó¦ÓóÌÐò·¢²¼ÏûÏ¢¡¢¶©ÔÄÏûÏ¢ÖÕ¶Ë(messaging destination)£¬´Ó¶øʵÏÖÊý¾ÝµÄʵʱÍƶ¯ºÍЭ×÷´«ËÍ¡£
¡¡¡¡ÏûÏ¢ÖÕ¶ËÔÚmessaging-config.xmlÅäÖã¬ÆäÖÐƵµÀ(channel)ÊÇÆä¹Ø¼üÔªËØ£¬ËüÓÃÀ´ÊµÏÖ¿Í»§¶ËºÍ·þÎñÆ÷¶Ë½»»»Êý¾Ý¡£Ê¹ÓÃBlazeDS£¬ÏûÏ¢ÖÕ¶Ëͨ³£ÓÃ×÷streamingƵµÀ»òÕßpollingƵµÀ¡£
¡¡¡¡Ê¹ÓÃstreamingƵµÀ£¬·þÎñÆ÷¶Ë»áÒ»Ö±ÏìÓ¦HTTPÇëÇóÖ±µ½¸ÃƵµÀÁ¬½Ó±»¹Ø±Õ£¬ËüÔÊÐí·þÎñÆ÷Ïò¿Í»§¶Ë²»¶Ï´«ËÍ´óÁ¿µÄÊý¾Ý¡£ÒòΪHTTPÁ¬½ÓÊǶÀÒ»ÎÞ¶þµÄ£¬ÕâʵÏÖÊý¾ÝµÄË«Ïò´«ËÍ£¬Ã¿¸östreaming AMF»òÕßHTTPƵµÀÊÂʵÉÏÐèÒªÁ½¸öä¯ÀÀÆ÷ HTTPÁ¬½Ó£¬ Ò»¸öÁ¬½ÓÐèÒª²»¶Ï´¦Àí·þÎñÆ÷¶ËÓëƵµÀ½ôÃÜÏà¹ØµÄ¿Í»§¶ËµÄÏìÓ¦¡£ÁíÍâÐèÒªÒ»¸ö¶ÌÔÝÁ¬½Ó,Ö»Óе±Êý¾ÝÐèÒª´«Ë͵½·þÎñÆ÷ʱ£¬Ëü²ÅÍÑÀëä¯ÀÀÆ÷Á¬½Ó³Ø£»µ±¶ÌÔÝÁ¬½Ó²»ÔÙÐèҪʱ£¬ËüÁ¢¼´±»ÊÍ·Å»Øä¯ÀÀÆ÷Á¬½Ó³Ø¡£
¡¡¡¡pollingƵµÀ¿ÉÒÔͨ¹ý¼òµ¥µÄʱ¼ä¼ä¸ô»òÕßʹÓ÷þÎñÆ÷µÈ´ýÀ´ÅäÖã¬Èç¹ûÊý¾Ý²»ÂíÉÏ¿ÉÓà (³¤ÂÖÑ­)µÄ»°¡£ÁíÍ⣬ÿ´ÎÂÖÑ­ÏìÓ¦Íê³ÉÇëÇó¡£Ä¬ÈÏÏÂä¯ÀÀÆ÷HTTP 1.1µÄÁ¬½ÓÊdzÖÐøµÄ£¬ä¯ÀÀÆ÷ÂÖÑ­ÒÑÓеÄÁ¬½Ó£¬·¢ËͲ¢·¢µÄÂÖÑ­ÇëÇó£¬ÒÔ´ËÀ´¼õÇáÂÖÑ­µÄ¿ªÏú¡£
¡¡¡¡µ±ÐèҪ׼ʵʱͨÐÅʱ£¬streaming ƵµÀÊÇ×îºÃÑ¡Ôñ¡£
¡¡¡¡¶þ¡¢IE Óë Firefoxä¯ÀÀÆ÷ϵIJ»Í¬
¡¡¡¡ä¯ÀÀÆ÷¶Ôÿ¸ösession¶¼ÓÐÁ¬½ÓÊýÏÞÖÆ¡£²»Í¬µÄä¯ÀÀÆ÷£¬Á¬½Ó×î´óÊýÒÔ¼°¶ÔsessionµÄ´¦Àí·½Ê½¶¼²»Ò»Ñù¡£
¡¡¡¡IEÖÐÿ¸ösessionµÄ×î´óÁ¬½ÓÊýΪ2¡£ µ«Èç¹û´Ó¿ªÊ¼²Ëµ¥»ò¿ì½Ý·½Ê½´ò¿ª¶à¸öIEʵÀý£¬Ã¿¸öIEʵÀý¿ªÆô²»Í¬µÄ½ø³Ì²¢ÓµÓи÷×Ôsession¡£ÁíÍ⣬Èç¹ûÎÒÃÇͨ¹ýCTRL+N ¿ªÆô¶ÔÒÑÓеÄIEʵÀýÒ»¸öеÄIE´°¿Ú£¬¸Ã´°¿Ú½«Óë´´½¨ËüµÄIEʵÀý¹²ÓÃÒ»¸ösession ¡£Ò²¾ÍÊÇ˵£¬Èç¹û³ÌÐòʵÀý¿ªÆô²»Í¬µÄ½ø³Ì£¬ÎÒÃÇ¿ÉÒÔͨ¹ýHTTP streaming½¨Á¢²»ÏÞÁ¿Ó¦ÓÃÈ¡µÃ·þÎñÆ÷¶ËÊý¾Ý£»Èç¹ûͨ¹ýCTRL+N¿ªÆô¶à¸ö´°¿Ú£¬Ã¿¸ösession×î¶à½¨Á¢2¸öÁ¬½Ó¡£
¡¡¡¡FirefoxÖÐÿ¸ösession×î¶à½¨Á¢8¸öÁ¬½Ó¡£Èç¹û´Ó¿ªÊ¼²Ëµ¥»ò¿ì½Ý·½Ê½´ò¿ª¶à¸öFirefoxʵÀý£¬ËùÓÐʵÀý¿ªÆôʹÓÃͬһ½ø³Ì²¢¹²ÓÃÒ»¸ösession¡£¼ÈÈ»ä¯ÀÀÆ÷¶ÔÆÕͨµÄHTTPÇëÇóͨ³£Ö»ÐèÒªÒ»¸öÁ¬½Ó£¬ ÀíÂÛÉÏÎÒÃÇ¿ÉÒÔ×î¶à¿ÉÒÔ½¨Á¢7¸öHTTP streamingÁ¬½Ó¡£
¡¡¡¡Èý¡¢messaging-config.xml
¡¡¡¡ÁíÍ⣬Èç¹ûÿ¸ösession


Ïà¹ØÎĵµ£º

flexÖеÄ"²ã"¸ÅÄî

ÔÚ.netÖУ¬ÎÒÃÇ¿ÉÒÔÓÃ"²ã"À´²¼¾Ö£¬ÊµÏֿؼþµÄÉÏÏÂÖصþ¡£
ÔÚflexÀïòËÆÊÇûÕâ¸ö¸ÅÄîµÄ£¬flex°´Ä¬ÈÏÊÇÈÏΪÏȶ¨ÒåµÄÔÚϲ㣬ºó¶¨ÒåµÄÔÚÉϲ㣬²»ÂÛÊÇÊÂÏȶ¨ÒåµÄ¿Ø¼þ£¬»¹ÊÇ´úÂ붯̬Éú³ÉµÄ¿Ø¼þ£¬¶¼ÊÇÏÈÀ´¾ÓÏ¡£
µ«ÊÇflexÓÐ×Ô¼ºµÄµ÷Õûº¯Êý£¬×ÜËãÊÇÈÃÎҲ鵽ÁË¡£
ÈÝÆ÷Ãû.setChildIndex(displayObject,int)¾ÍÊǵ÷ÕûÕâ¸öÈÝÆ÷ÏÂËùÓп ......

FlexµÄTabNavigatorÖÐtab´¥·¢µÄʼþ

Getting Around Bug in Adobe Flex: TabControl Inline Event Handling for TabIndexChange Doesn't Work
I ran into this because I wanted to do something funky.  I wanted my Flex app window to change PageStates (and size) whenever the TabIndex changed.  Whether doing this kind of thing is wise ......

Àí½â Flex itemRenderer µÚ 3 ²¿·Ö: ͨÐÅ

Ô­ÎĵØÖ·£ºhttp://www.adobe.com/cn/devnet/flex/articles/itemrenderers_pt3.html
ÔÚ±¾ÏµÁÐµÄµÚ 2 ²¿·ÖÖÐ, ÎÒÏòÄúչʾÁËÈçºÎʹÓà MXML ºÍ ActionScript ´´½¨Íⲿ itemRenderer¡£ÔÚÎÒÓùýµÄʾÀýÖÐ, ÓÐÒ»¸öµ÷¶È×Ô¶¨Ê¼þ BuyBookEvent µÄ Button£­ÕâÑùÓ¦ÓóÌÐò¿ÉÒÔ¶ÔËü×÷³öÏìÓ¦¡£±¾ÎĽøÒ»²½ÌÖÂÛÓë itemRenderer µÄͨÐÅ¡£
ÎÒ ......

Àí½â Flex itemRenderer µÚ 5 ²¿·Ö: ЧÂÊ

Ô­ÎĵØÖ·£ºhttp://www.adobe.com/cn/devnet/flex/articles/itemrenderers_pt5.html
Èç¹ûÄúÒªÏÔʾ´óÁ¿ itemRenderer£­ÎÞÂÛÔÚ DataGrid »¹ÊÇÔÚ AdvancedDataGrid ÖУ­Èç¹ûÎÞ·¨ÓÐЧ±àдÕâЩ itemRenderer, ÄúµÄÓ¦ÓóÌÐòÐÔÄÜ¿ÉÄÜÊܵ½¸ºÃæÓ°Ïì¡£ÒÔÏÂÊÇһЩ¿ÉÄÜÓÐËù°ïÖúµÄÌáʾ:
ÏÞÖÆʹÓà itemRenderer µÄÁÐÊý¡£ÊÇ·ñÕæµÄÐèÒª½«Ã ......

FlexÊÇʲô

FlexÊÇ RIA(rich internet applications,¼´¸»¿Í»§¶Ë)µÄÒ»ÖÖ¼¼ÊõʵÏÖ,ÏÂÃæÎÒÃÇ°ÑËü¼°ÆäÏà¹ØµÄ֪ʶÓëjava×ö¸ö¼òµ¥µÄ¶ÔÕÕ,ÓÉÓÚ¸öÈËˮƽÓÐÏÞ,ÏÂÃæµÄ±È½Ï½ö¹©²Î¿¼:
1.RIA     vs   ¿çƽ̨µÄ±à³Ì¼¼Êõ
2.Flex    vs   java
3.flex framework  vs jdk
4.flex buil ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ