½«Êý¾Ý´«¸øJAVA´¦Àí.
FLEX:
[Bindable] public var ary1:Array=[];
private function init():void{
ary1.push('»ÆÏþ»ª');
ary1.push('»ÆÏþ»ª');
ary1.push('»ÆÏþ»ª');
remoteObject.tt(ary1)
}
private function resultHandler ( event:ResultEvent ) :void
{
// ÏÔʾÊÕµ½µÄ " Hello World! " Êý¾Ý
Alert.show ( event.result.toString (), " Ìáʾ " );
}
private function faultHandler ( event:FaultEvent ) :void
{
Alert.show ( event.fault.toString (), " Ìáʾ " );
}
<mx:RemoteObject id ="remoteObject" destination ="helloWorld"
source = "news.HelloWorld" result ="resultHandler(event)"
fault="faultHandler(event)" />
JAVA:
public String tt(String[] b) {
//String[] b={"a","b","c"};
&
Ïà¹ØÎĵµ£º
µÚÒ»²½.н¨Ò»¸öÄ£°åÎļþÒÔ.ftl½áβ¡£
IDAO.ftl
package com.media.dao;
import java.util.List;
import com.media.bean.${model_name};
import com.media.exceptions.DAOException;
/**
* ${model_name_cn}½Ó¿Ú
*
* @author ${author}
* @link ${link}
*
* @version $Revision: 1.00 $ $Date: ......
Éè¼ÆÄ£Ê½ÔÚÁ£¶ÈºÍ³éÏó²ã´ÎÉϸ÷²»Ïàͬ¡£ÓÉÓÚ´æÔÚÖÚ¶àµÄÉè¼ÆÄ£Ê½£¬ËùÒÔÎÒÃÇ¿ÉÒÔÓÃÒ»ÖÖ·½Ê½½«ËüÃÇ×éÖ¯ÆðÀ´¡£ÕâÀÎÒÃǸù¾ÝÁ½Ìõ×¼Ôò¶Ôģʽ½øÐзÖÀ࣬ÈçϱíËùʾ£º
µÚÒ»ÊÇÄ¿µÄ×¼Ôò£¬¼´Ä£Ê½ÊÇÓÃÀ´Íê³Éʲô¹¤×÷µÄ¡£Ä£Ê½ÒÀ¾ÝÆäÄ¿µÄ¿É·ÖΪ´´½¨ÐÍ£¨ Creational£©¡¢½á¹¹ÐÍ( Structural)¡¢»òÐÐΪÐÍ( Behavioral )ÈýÖÖ¡£´´½¨ÐÍģʽÓë¶Ô ......
¶àÏß³ÌÊÇÕâÑùÒ»ÖÖ»úÖÆ£¬ËüÔÊÐíÔÚ³ÌÐòÖв¢·¢Ö´Ðжà¸öÖ¸ÁîÁ÷£¬Ã¿¸öÖ¸ÁîÁ÷¶¼³ÆÎªÒ»¸öỊ̈߳¬±Ë´Ë¼ä»¥Ïà¶ÀÁ¢¡£ Ïß³ÌÓÖ³ÆÎªÇáÁ¿¼¶½ø³Ì£¬ËüºÍ½ø³ÌÒ»ÑùÓµÓжÀÁ¢µÄÖ´ÐпØÖÆ£¬ÓɲÙ×÷ϵͳ¸ºÔðµ÷¶È£¬Çø±ðÔÚÓÚÏß³ÌûÓжÀÁ¢µÄ´æ´¢¿Õ¼ä£¬¶øÊǺÍËùÊô½ø³ÌÖÐµÄÆäËüÏ̹߳²ÏíÒ»¸ö´æ´¢¿Õ¼ä£¬ÕâʹµÃÏ̼߳äµÄͨÐÅÔ¶½Ï½ø³Ì¼òµ¥¡£
Ò»£ºÀí½â¶àÏß³Ì
& ......
Ị̈߳¨Thread£©·½Ã棺
1¡¢javaÖÐÓм¸ÖÖ·½·¨¿ÉÒÔʵÏÖÒ»¸öỊ̈߳¿ÓÃʲô¹Ø¼ü×ÖÐÞÊÎͬ²½·½·¨? stop()ºÍsuspend()·½·¨ÎªºÎ²»ÍƼöʹÓã¿
´ð£ºÓÐÁ½ÖÖʵÏÖ·½·¨£¬·Ö±ðÊǼ̳ÐThreadÀàÓëʵÏÖRunnable½Ó¿Ú
ÓÃsynchronized¹Ø¼ü×ÖÐÞÊÎͬ²½·½·¨
·´¶ÔʹÓÃstop()£¬ÊÇÒòΪËü²»°²È«¡£Ëü»á½â³ýÓÉÏ̻߳ñÈ¡µÄËùÓÐËø¶¨£¬ ......
×ªÔØ×Ô http://littlefermat.blog.163.com/blog/static/59771167200962810120843/
Enum×÷ΪSunÈ«ÐÂÒý½øµÄÒ»¸ö¹Ø¼ü×Ö£¬¿´ÆðÀ´ºÜÏóÊÇÌØÊâµÄclass, ËüÒ²¿ÉÒÔÓÐ×Ô¼ºµÄ±äÁ¿£¬¿ÉÒÔ¶¨Òå×Ô¼ºµÄ·½·¨£¬¿ÉÒÔʵÏÖÒ»¸ö»òÕß¶à¸ö½Ó¿Ú¡£µ±ÎÒÃÇÔÚÉùÃ÷Ò»¸öenumÀàÐÍʱ£¬ÎÒÃÇÓ¦¸Ã×¢Òâµ½enumÀàÐÍÓÐÈçϵÄÒ»Ð©ÌØÕ÷¡£
1£®Ëü²»ÄÜÓÐpublicµÄ¹¹Ôìº¯Ê ......