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

Java+FlexÕûºÏÓ¦Óüòµ¥Ê¾Àý (mx:RemoteObject)

1.java
Java´úÂë
package com;    
  
public class LoginDemo {    
        
    public String validate(String username,String password){    
        String message ="login failed!";    
        if(username.equals("lin")&&password.equals("lin")){    
            message = "login successed!";    
        }    
        return message;    
    }    
  
}  
package com; public class LoginDemo { public String validate(String username,String password){ String message ="login failed!"; if(username.equals("lin")&&password.equals("lin")){ message = "login successed!"; } return message; } }
2.remoting-config.xml
Java´úÂë
<?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>   &


Ïà¹ØÎĵµ£º

JavaÅÅÐò»ã×Ü

¡¡¡¡ÅÅÐòÊǼÆËã»úÄÚ¾­³£½øÐеÄÒ»ÖÖ²Ù×÷£¬ÆäÄ¿µÄÊǽ«Ò»×é“ÎÞÐò”µÄ¼Ç¼ÐòÁе÷ÕûΪ“ÓÐÐò”µÄ¼Ç¼ÐòÁС£·ÖÄÚ²¿ÅÅÐòºÍÍⲿÅÅÐò¡£ÈôÕû¸öÅÅÐò¹ý³Ì²»ÐèÒª·ÃÎÊÍâ´æ±ãÄÜÍê³É£¬Ôò³Æ´ËÀàÅÅÐòÎÊÌâΪÄÚ²¿ÅÅÐò¡£·´Ö®£¬Èô²Î¼ÓÅÅÐòµÄ¼Ç¼ÊýÁ¿ºÜ´ó£¬Õû¸öÐòÁеÄÅÅÐò¹ý³Ì²»¿ÉÄÜÔÚÄÚ´æÖÐÍê³É£¬Ôò³Æ´ËÀàÅÅÐòÎÊÌâΪÍⲿÅÅÐò ......

JavaÒì³£¿ò¼ÜÉè¼Æ

ʲôÊÇÒì³££¿
Òì³££¨exception£©Ó¦¸ÃÊÇÒ쳣ʼþ£¨exceptional event£©µÄËõд¡£
Òì³£¶¨Ò壺Òì³£ÊÇÒ»¸öÔÚ³ÌÐòÖ´ÐÐÆÚ¼ä·¢ÉúµÄʼþ£¬ËüÖжÏÕýÔÚÖ´ÐеijÌÐòµÄÕý³£µÄÖ¸ÁîÁ÷¡£
µ±ÔÚÒ»¸ö·½·¨Öз¢Éú´íÎóµÄʱºò£¬Õâ¸ö·½·¨´´½¨Ò»¸ö¶ÔÏ󣬲¢ÇÒ°ÑËü´«µÝ¸øÔËÐÐʱϵͳ¡£Õâ¸ö¶ÔÏó±»½Ð×öÒì³£¶ÔÏó£¬Ëü°üº¬ÁËÓйشíÎóµÄÐÅÏ¢£¬ÕâЩÐÅÏ¢°üÀ¨´í ......

´«ÖDz¥¿ÍjavaÅàѵ java»ù´¡Ö®MYSQL

³é¿Õ¸´Ï°ÁËÏÂÕýÔò±í´ïʽµÄÓ÷¨£¬ºÜ¶àǰÁ½¸öÔÂѧЩµÄ¶«Î÷£¬ÏÖÔÚ¶¼ÊÖÉúÁË£¬Ö»Óв»¶ÏµÄ¸´Ï°²ÅÄÜ×öµ½ÕÆÎÕ£¡
½ñÌ쿪ʼ½²Êý¾Ý¿âÁË£¬MYSQL£¬È»ºóÂíÉϾͻῪʼ½Ó´¥¿ò¼Ü····¹þ¹þ£¬ÒªÕæµÄ¿ªÊ¼×öÏîÄ¿ÁË
¼¤¶¯¹þ¡£¡£¡£¡£
ÕýÔò±í´ïʽÊÇ´ÓJDK1.5Ö®ºóÍÆ³öµÄ¼ò»¯×Ö·û´®²Ù×÷µÄ£¬ÓÃÌØÊâµÄ·ûºÅ´ú±í¶Ô×Ö·û´®µÄÔËÓ ......

Flex4¶¯Ì¬¼ÓÔØ Çл»CSS

Flex4Öж¯Ì¬¼ÓÔØCSSÎļþµÄ·½Ê½ÒѾ­ºÍFlex3ÓÐÁËÒ»¶¨µÄÇø±ð
Ö÷Òª²½ÖèÈçÏ£º
1.±àд²»Í¬µÄCSSÎļþ
¼ûºóÎÄ
2.½«CSSÎļþ±àÒë³ÉSWFÎļþ
ÔÚFlashBuilderÖÐÓÒ¼üCSSÎļþ£¬Ñ¡ÔñCompile CSS to SWF£¬
Õâʱbin-debugĿ¼ÏµĶÔӦλÖþͻáÉú³ÉÒ»¸öÓëCSSͬÃûµÄSWFÎļþ¡£
Ñ¡Öкó¸ÃÑ¡Ïîǰ»áÓй´£¬Ö®ºóÖ»ÒªÐÞ¸ÄÁËCSSÎļþ£¬¾Í»á×Ô¶¯±àÒ ......

Eclipse¿ª·¢FlexºÍJ2EEµÄÅäÖÃ

eclipseÒ»¸öÏîÄ¿ÖÐͬʱ¿ª·¢flexºÍj2eeµÄ»·¾³ÅäÖÃ
ÒòΪ¹¤×÷ÐèÒª£¬Ñ§ÁËÒ»ÖÜflex½ñÌ쿪ʼÑо¿Óë·þÎñÆ÷ͨÐÅ£¬Ñ¡ÔñÁËÃâ·ÑµÄBlazeDS¡£ÓÉÓÚ֮ǰ×öÏîÄ¿ÓõÄÊÇeclipse europa£¬¾Í°Ñflex builder 3 pluginÖ±½Ó°²×°µ½Ô­ÓеÄeclipseÉÏÁË£¬ÕâÑùÔÙÅäÖõÄʱºò¿Í»§¶Ë±à³ÌÓõÄflexºÍ·þÎñÆ÷¶ËµÄJ2EE¾ÍÄÜÕûºÏµ½Ò»¸ö¹¤³ÌÏÂÁË£¬Ï£Íû¶ÔÓÚÔÝʱÓÉjs ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ