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

¼òµ¥µÄj2ee+flex Á½¸ö¶ÀÁ¢¹¤³ÌµÄͨÐÅÀý×Ó

»·¾³£ºeclipse 3.5 + tomcat 6.0 + flex builder 3.0 + blazeds-turnkey-3.2.0.3978.zip£¨adobeÍøÕ¾ÉÏÏÂÔØ£©
(ÒòΪ²»ÄܷŽØͼËùÒÔÖ»ÄÜÐðÊöÁË)
1£¬Ð½¨Ò»¸öjava webÏîÄ¿ ÀýÃûΪ :testjava;
2,Ôڴ˹¤³ÌÖÐдһ¸ö¼òµ¥µÄÀà:
        package cn.com;
 
       public class InfoTest {
          public String seeHello() {
             return "Hello World";
         }
       }
3,ÔÚtestjava¹¤³Ì¼ÓÓëflexͨÐÅ»·¾³:
  
   ½âѹblazeds-turnkey-3.2.0.3978.zip,ÕÒµ½ÀïÃæµÄblazeds.war£¬½«Ëüµ¼½øtestjava¹¤³Ì(ÓÒ»÷WebContent>>import...>>File System  Ñ¡ÉÏÓ²ÅÌÖÐÄãµÄblazeds.warµØÖ·>>finish)
   ±à¼­WEB-INF/flex/remoting-config.xml £º
         <?xml version="1.0" encoding="UTF-8"?>
         <service id="remoting-service"
               class="flex.messaging.services.RemotingService">
         <adapters>
             <adapter-definition id="java-object"  class="flex.messaging.services.remoting.adapters.JavaAdapter" default="true"/>
         </adapters>
         <default-channels>
             <channel ref="my-amf"/>
         </default-channels>
         <destination id="InfoTest ">//Õâ¸öÓëflex ÖеÄRemoteObject¶ÔÓ¦  
       &


Ïà¹ØÎĵµ£º

Flex Framework Fundamentals

ת×Ô£ºhttp://www.cnblogs.com/sharplife/archive/2007/09/03/880641.html
×î½ü¿´Ê±Ñ§Ï°FlexÓ¦Ó㬿ªÊ¼¶ÔFlexºÍFlashµÄ¹ØϵÓÐЩģºý£¬¶ÁÁËOreillyµÄProgramming Flex
2²ÅËãÊÇÃ÷°×Щ£¬ÏÖ¼ÇÏ¡£
1¡¢FlexÓ¦ÓóÌÐòµÄÉúÃüÖÜÆÚ
FlexÓ¦ÓþÍÆä¸ù±¾ÉϽ²¾ÍÊÇFlashÓ¦Óã¬Ö»²»¹ýÆäÊÇ»ùÓÚFlex
Framework£¨ÓÉActionScriptд¾Í£©¿ª· ......

flexµÄ»ù´¡

1.ÔÚflexÀïÃæÏÔʾ²éѯºóµÄlist¼¯ºÏÊý¾Ý
 private var model:ModelConfig=ModelConfig.getOne();
 ModelCongÀàÖдæ·ÅһЩȫ¾ÖµÄ¶«Î÷ҪʵÏÖ½Ó¿Úimplements IModelLocator
£¨Èçpublic var root:String="http://192.168.1.68:8090/OA";--ϵͳÊý¾Ý£¬
public var users:UsersVO=new UsersVO();ÓÃÀ´´æ´¢ÐÅÏ¢µÄ±äÁ¿£¬ ......

×Ô¶¨ÒåÕæÕýµÄ¿ÉÖØÓÃFlex×é¼þ

À´Ô´£ºhttp://blogs.adobe.com/tomsugden/2009/12/writing_genuinely_reusable_fle.html
ÔÚÆóÒµµÄ´óÏîÄ¿À¾­³£ÒªÎªFlex Àà¿âдһϵÁпÉÖØÓõÄ×é¼þ¡£ÀíÂÛÉÏһЩÏàͬµÄ×é¼þ¿ÉÒÔÖظ´ÓÃÔÚ²»Í¬µÄÄ£¿éºÍ×ÓÄ£¿éµÄFlex »ò AIR ³ÌÐòÖУ¬´øÀ´Ò»ÖÂÐԺͿìËÙ¿ª·¢µÄºÃ´¦¡£È»¶øÔÚʵ¼ÊÖУ¬´æÔÚЩ´íÎóÓ÷¨ÏÞÖÆÁË×é¼þµÄÖØÓÃÐÔ¡£±¾ÎÄÕ½âÊÍÊ ......

Flex ±à³Ì¹æ·¶

http://www.adobe.com/cn/devnet/flex/articles/best_practices_pt2_07.html
Flex ×î¼Ñ×ö·¨ - µÚ 2 ²¿·Ö: ¿ª·¢×ö·¨
Flex ¿ª·¢×î¼Ñ×ö·¨»Ø¹Ë
ÕâЩ×ö·¨¿ÉÒÔÓ¦Óõ½ËùÓÐ Flex Ó¦ÓóÌÐò¡£Çë²é¿´ÕâЩ×ö·¨:
 ´´½¨ºÍʹÓà assets Ŀ¼
 Ê¹Óà assets Ŀ¼ÖеÄ×ÓĿ¼
 Ê¹Óà SWF Ŀ¼
 Ê¹Óà images Ŀ¼
&n ......

flex amf

AMFÊÇAdobe¶À¼Ò¿ª·¢³öÀ´µÄͨÐÅЭÒ飬Ëü²ÉÓöþ½øÖÆѹËõ£¬ÐòÁл¯¡¢·´ÐòÁл¯¡¢´«ÊäÊý¾Ý£¬´Ó¶øΪFlash ²¥·ÅÆ÷ÓëFlash RemotingÍø¹ØͨÐÅÌṩÁËÒ»ÖÖÇáÁ¿¼¶µÄ¡¢¸ßЧÄܵÄͨÐÅ·½Ê½¡£ÈçÏÂͼËùʾ£º

AMF(Action Message Format)ÊÇÒ»ÖÖ binary formatµÄ×ÊÁÏÐÍ̬£¬Í¸¹ý AMF overHTTPµÄ·½Ê½½«flash¶Ë×ÊÁϱàÂëºó´«»Øserver£¬server¶ËµÄ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ