Blazeds ÓëFlex ·¢²¼Ê±ÐèҪעÒâµÄÎÊÌâ
ÔÚͨ¹ýblazedsʵÏÖÏûϢʱ£¬FLEX·¢²¼Ê±ÐèÒªÔÚÉèÖÃÀïÃ潫flexserverÖн«contextrootÓëwebÓ¦ÓõÄcontextrootÃû³ÆÉèÖóÉÒ»ÑùµÄ£¡·ñÔò¾Í²»ÄÜÕýÈ·µÄ½ÓÊÕµ½ÏûÏ¢
ÒÔÏÂÊÇÏà¹ØµÄ²ÎÊýÎÄÕÂ
¹Ø¼ü×Ö: flex blazeds
À´×Ô£ºhttp://hi.baidu.com/%C7%E1%BD%A3/blog/item/33ce7219256b894d42a9ad30.html
Flex µ÷ÓÃÔ¶³Ì»òËùÔÚwebÓ¦ÓÃµÄ BlazeDS·þÎñʱ£¬±ØÐ뽨Á¢ºÍÔ¶¶ËµÄͨµÀchannel,²ÅÄÜÕý³£Í¨ÐÅ¡£
1. ͨ³£µÄ·½Ê½ÊÇ Flex ÔÚ±àÒëʱ¾ÍÖ¸¶¨Ô¶³ÌµÄ¶Ëµã Endpoint£¬service-config.xml ÖеÄEndpoint ÅäÖÃÊÇ ÀýÈ磺
Xml´úÂë
<endpoint url="http://{server.name}:{server.port}/{context.root}/messagebroker/amf"
<endpoint url="http://{server.name}:{server.port}/{context.root}/messagebroker/amf"
±àÒëʱָ¶¨µÄ·½Ê½ÊÇÔÚ¼Ó±àÒë²ÎÊý,ÀýÈ磺
ÒýÓÃ
-services "services-config.xml" -context-root "/HelloBlazeds"
services-config.xml ÐèÒª·ÅÔÚµ±Ç°Ä¿Â¼Ï£¬»òÕßÖ¸¶¨BlazeDSËùÔÚµÄÅäÖÃÎļþ·¾¶¡£
http://www.adobe.com/cfusion/communityengine/index.cfm?event=showdetails&productId=2&postId=12209
2. ÔÚ <mx:RemoteObject/> ¶ÔÏóÖÐÖ¸¶¨Endpoint²ÎÊý£º
ÀýÈ磺
Xml´úÂë
<mx:RemoteObject id="roOrder" destination="Hello" showBusyCursor="true" endpoint="http://server:8080/HelloBlazeDS/messagebroker/amf" >
<mx:RemoteObject id="roOrder" destination="Hello" showBusyCursor="true" endpoint="http://server:8080/HelloBlazeDS/messagebroker/amf" >
1) ȫ·¾¶: endpoint="http://server:8080/HelloBlazeDS/messagebroker/amf" >
2) »ùÓÚcontextRoot: endpoint="/HelloBlazeDS/messagebroker/amf" >
3) »ùÓÚµ±Ç°Â·¾¶£º endpoint="messagebroker/amf" >
×ܽ᣺
¶ÔÓÚFlex+BlazeDS¼¯³É¿ª·¢£¬·½Ê½1£¬ºÍ2.1),2.2) ¶ÔÓÚÆóÒµÓ¦ÓÃÀ´Ëµ¶¼²»ÊÇ×î¼Ñ·½°¸£¬ÒòΪËû½« contextrootдËÀÁË£¬²»±ãÓÚÒÆÖ²£¬Ò²¾ÍÊÇ˵£¬±àÒëºóµÄ swf ·Åµ½ÆäËûÓ¦ÓÃÏÂÎÞ·¨µ÷ÓÃBlazeDS·þÎñ£»
Ïà¹ØÎĵµ£º
µÚÒ»Õ Flex ÊÇÈçºÎ¹¤×÷µÄ
¸Ã²¿·ÖÎĵµµÄÄÚÈÝÊÇΪÓû§Ìṩ¹ØÓÚ Adobe.Flex ¹¤×÷»úÖƵÄÒ»¸ö¿ìËÙ×ÛÊö¡£Í¨¹ý±¾ÕÂ
½ÚµÄѧϰ£¬Äã¿ÉÒÔ´´½¨ÄãµÄµÚÒ»¸ö Flex Ó¦ÓóÌÐò£¬²¢½«ËüÓëÄãÒÔÇ°ËùÊìϤµÄ Web ¿ª·¢¼¼Êõ
½øÐбȽϣ¬ÒÔÁì»á Flex µÄÄÚººÍ¾«Ëè¡£
µÚÒ»½Ú ¹¹½¨²¢ÔËÐÐ Flex Ó¦ÓóÌÐò
Flex ÊÇÒ»¸öÌṩ¿ª·¢Éè¼ÆºÍÔËÐÐÖ§³Öµ ......
ÓÐʱºòÎÒÃÇÐèÒªÔÚFlexÓ¦ÓÃÖÐǶÈëHTML´úÂ룬¸ù¾ÝǶÈëHTMLÒªÇóµÄ²»Í¬ÓÐÒÔÏÂÁ½ÖÖ·½·¨£º
1¡¢FlexÎı¾×é¼þ£¨Label¡¢Text¡¢TextArea£©µÄhtmlTextÊôÐÔÖ§³ÖһЩ»ù±¾µÄHTML´úÂ룬ÀýÈ磺
<mx:TextArea>
<mx:htmlText>
<![CDATA[
<p alig ......
¡¡¡¡¾¹ý·´¸´µÄµ÷ÊÔ¸ú×Ù£¬ÔÚcairngorm¿ò¼Ü²»ÄܵؿØÖÆÊý¾Ý¸üвÙ×÷µÄ´¥·¢Ë³Ðò£¬ÎÞ·¨±£Ö¤Í¬Ê±¶ÁÈ¡“Ä£ÐÍ”²ãµÄµãÀà(equip)¡¢ÏßÀࣨlink£©ÊµÀý¶ÔÏóµÄÊý¾Ý¡£
¡¡¡¡¿´À´£¬Ö»ÄÜÔÚ¿ØÖÆmxml¿Ø¼þÖжԿؼþ½øÐпØÖÆÁË¡£ ......
Axis¼ò½é
¼¼ÊõÇ°ÑØ 2008-04-07 22:42 ÔĶÁ104 ÆÀÂÛ0
×ֺţº ´ó´ó ÖÐÖРСС
1.SOAP¼ò½é
ÆóҵϵͳÄÚ²¿¸÷¸öϵͳ֮¼äµÄÐÅÏ¢½»»»Ò»Ö±ÊÇÒ»¸öÄÑÌ⣬ÔÚ¹ýÈ¥ÓÐDCOM¡¢CORBAµÈ½â¾ö·½°¸£¬µ«¶¼²»ÊǺÜÍêÃÀ£¬²»ÊÇÌ«¸´ÔÓ¾ÍÊÇÓÐȱÏÝ¡£ÏÖÔÚÔò½ÏÁ÷ÐÐSOAP£¨È«³Æ£ºSimple O ......
ÔÚRIAÓ¦Óÿª·¢¹ý³ÌÖУ¬ÐÔÄÜÒ»Ö±ÊÇÎÒÃǹØ×¢µÄÒ»¸öÖص㣻Éú³ÉswfÎļþµÄ´óС£¬ÄÚ´æ¡¢cpu×ÊÔ´ÏûºÄ£¬Ê¼þÏìÓ¦µÈ£¬¶¼½«Ó°ÏìÓû§ÔÚä¯ÀÀ»òÕßʹÓùý³ÌÖеÄÌåÑ飻
Õâ¾ÍÒªÇóÎÒÃÇÔÚƽʱµÄ¿ª·¢¹ý³ÌÖÐÑø³ÉÁ¼ºÃµÄ±à³ÌÏ°¹ß£¬ºÏÀíʹÓÃ×é¼þ£¬±Ü¿ªÒ»Ð©½ÏÏûºÄ×ÊÔ´µÄÒòËØ¡£±¾ÎĽ«Õë¶ÔÕâЩÎÊÌâÕ¹¿ªÒ»Ð©ÌÖ ......