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

Ò»¸öJava·´Éä»úÖÆÀý×Ó

package test;
import java.lang.reflect.Method;
public class InvokeTest {
  /**
   *
   * main ·½·¨
   * @param args
   * void
   */
  public static void main(String[] args) {
    try {
      InvokeTest invokeTest = new InvokeTest();
      //1.µÚÒ»²½»ñÈ¡·½·¨µÄÓ³Éä
      //String[] realArgs = {"",""};//¶¨ÒåÒ»¸öÓëexecute·½·¨µÚ1¸ö²ÎÊý¶ÔÓ¦µÄStringÊý×é(×¢Òâ´ËÊý×éֻΪ»ñÈ¡·½·¨µÄÓ³Éä)
      //Integer in = new Integer(0);//¶¨ÒåÒ»¸öÓëexecute·½·¨µÚ2¸ö²ÎÊý¶ÔÓ¦µÄInteger¶ÔÏó     
      //Class[] c_args = new Class[2];
      //c_args[0] = realArgs.getClass();//·Ö±ð»ñÈ¡ÒÔÉÏÁ½¸ö²ÎÊýµÄclass
      //c_args[1] = in.getClass();
      //Method method = invokeTest.getClass().getMethod("execute", c_args);//·µ»ØÖµÎªtest·½·¨µÄÓ³Éä(ÀàÐÍMethod)
      /**
       * ×¢Ò⣬ÒÔÉϼ¸¾ä(11-16ÐÐ)¿ÉÒÔд³ÉÏÂÃæÒ»¾ä
       * Ä¿µÄÊÇ»ñÈ¡execute·½·¨µÄÓ³Éä,µÚÒ»¸ö²ÎÊýÊÇ·½·¨,µÚ¶þ¸ö²ÎÊýÊÇexecute·½·¨ËùÐèÒªµÄ²ÎÊýÁбí,ÀàÐÍÊÇclass
       * ËùÒÔµ±execute·½·¨Ã»ÓвÎÊýʱ,getMethodµÚ¶þ¸ö²ÎÊýΪnull¼´¿É
       */
      Method method = invokeTest.getClass().getMethod("execute",
          new Class[] { String[].class, Integer.class });
     
      //2.µÚ¶þ²½µ÷Ó÷½·¨
      //String[] a1={"zhong","cheng"};//ÕâÀïµÄÊý×éÓÃÓÚ×öÕæÕýµ÷ÓÃʱµÄ²ÎÊý
      //Integer a2=new Integer(5);//ͬÉÏ
      //Object[] allArgs = new


Ïà¹ØÎĵµ£º

JAVA¾²Ì¬·½·¨µÄͬ²½ÎÊÌâ~~~~~~~~~~~~~

Ò»Ö±±»Í¬²½¸ãµÃÔÎͷתÏò£¬½ñÌìÓöµ½ÁËҪд¾²Ì¬·½·¨£¬×ܵ£ÐĻ᲻»áÓÐͬ²½ÎÊÌ⣬½á¹û¿´ÁËÒÔÏÂһϯ»°£¬»íÈ»¿ªÀÊ~~
Every method of java will have a stack, and every invokation on that
method will have it's own 'stack frame'. So the locale data of one
method invokation will not affect others.
Please do not c ......

javaÓ¦ÓÃÔ´ÂëºÃÍøÖ·

 StrutsME Ò»¸öÇáÁ¿¼¶µÄÐòÁл¯Ð­Ò飬ʹJ2ME¿Í»§¶ËÄܵ÷ÓÃStruts WebÓ¦ÓóÌÐò¡£
http://www.strutsme.org/
JsonME ÇáÁ¿¼¶ÊµÏÖJ2ME Json¡£
http://www.json.org/java/org.json.me.zip
MicroLog ÇáÁ¿¼¶µÄLOG
http://microlog.sourceforge.net/snapshot
Mobile Ajax for Java ME °üÀ¨ÁËXmlHttpRequest£¬jsonµÄÒ ......

Ubuntu JavaÏà¹ØÈí¼þ°²×° mysql jdk tomcat

Mysql
 sudo netstat -tap | grep mysql
    µ±ÄúÔËÐиÃÃüÁîʱ£¬Äú¿ÉÒÔ¿´µ½ÀàËÆÏÂÃæµÄÐУº
    linuxidc@linuxidc-laptop:~$">linuxidc@linuxidc-laptop:~$ sudo netstat -tap | grep mysql
    [sudo] password for linuxidc:
    tcp &n ......

java»ù±¾Êý¾ÝÀàÐÍÓëÆä·â×°Àà

 1   Boolean VS boolean
public final class Booleanextends [url=file:///G:/html_zh_CN/html/zh_CN/api/java/lang/Object.html]Object[/url]implements [url=file:///G:/html_zh_CN/html/zh_CN/api/java/io/Serializable.html]Serializable[/url], [url=file:///G:/html_zh_CN/html/zh_CN/api/java/lang ......

javaÎļþ²Ù×÷´óÈ«

Ò».»ñµÃ¿ØÖÆÌ¨Óû§ÊäÈëµÄÐÅÏ¢
Java´úÂë
/** */
/**»ñµÃ¿ØÖÆÌ¨Óû§ÊäÈëµÄÐÅÏ¢
 
     * @return
 
     * @throws IOException
 
     */
  
    public
  ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ