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

Java ¼¼ÊõÊÇʲô£¿

Java ¼¼ÊõÊÇʲô£¿
Java ¼¼Êõ¼ÈÊÇÒ»Öָ߼¶µÄÃæÏò¶ÔÏóµÄ±à³ÌÓïÑÔ£¬Ò²ÊÇÒ»¸öƽ̨¡£Java ¼¼Êõ»ùÓÚ Java ÐéÄâ»ú£¨Java virtual machine£¬JVM£©µÄ¸ÅÄî —— ÕâÊÇÓïÑÔÓëµ×²ãÈí¼þºÍÓ²¼þÖ®¼äµÄÒ»ÖÖת»»Æ÷¡£Java ÓïÑÔµÄËùÓÐʵÏÖ¶¼±ØÐëʵÏÖ JVM£¬´Ó¶øʹ Java ³ÌÐò¿ÉÒÔÔÚÓÐ JVM µÄÈκÎϵͳÉÏÔËÐС£
Java ±à³ÌÓïÑÔ£¨Java programming language£©ÓëÖÚ²»Í¬Ö®´¦ÔÚÓÚ£ºJava ³ÌÐò¼ÈÊDZàÒëÐ͵ģ¨compiled£©£¨×ª»»ÎªÒ»ÖÖ³ÆΪ Java ×Ö½ÚÂëµÄÖмäÓïÑÔ£©£¬ÓÖÊǽâÊÍÐ͵ģ¨interpreted£©£¨JVM ¶Ô×Ö½ÚÂë½øÐнâÎöºÍÔËÐУ©¡£±àÒëÖ»½øÐÐÒ»´Î£¬¶ø½âÊÍÔÚÿ´ÎÔËÐгÌÐòʱ¶¼»á½øÐС£±àÒëºóµÄ×Ö½ÚÂë²ÉÓÃÒ»ÖÖÕë¶Ô JVM ÓÅ»¯¹ýµÄ»úÆ÷ÂëÐÎʽ£»½âÊÍÆ÷ÊÇ JVM µÄʵÏÖ¡£
Java ƽ̨£¨Java platform£© ÊÇÒ»ÖÖ´¿Èí¼þƽ̨£¬Ëü¿ÉÒÔÔÚ¸÷ÖÖ»ùÓÚÓ²¼þµÄƽ̨ÉÏÔËÐС£ËüÓÐÈý¸ö°æ±¾£¨²Î¼ûºóÃæµÄ Java ƽ̨µÄ¶à¸ö°æ±¾£©¡£ËüÓÉ JVM ºÍ Java Ó¦ÓóÌÐò±à³Ì½Ó¿Ú£¨Java Application Programming Interface£¬API£©×é³É¡£Java API ÊÇÒ»¸ö´óÐ͵ÄÏÖ³ÉÈí¼þ×é¼þ£¨Àࣩ¼¯ºÏ£¬Ëü¿ÉÒÔ¼ò»¯ applet ºÍÓ¦ÓóÌÐòµÄ¿ª·¢ºÍ²¿Ê𣬰üÀ¨½¡×³¡¢°²È«ÇÒ¿É»¥²Ù×÷µÄÆóÒµÓ¦ÓóÌÐò¡£Ëüº­¸Ç´Ó»ù±¾¶ÔÏóµ½Á¬ÍøºÍ°²È«ÐÔ£¬ÔÙµ½ XML Éú³ÉºÍ Web ·þÎñµÄËùÓж«Î÷¡£Java API ×éÖ¯³ÉÏà¹ØÀàºÍ½Ó¿ÚµÄ¿â£»¿âÒ²³ÆΪ°ü£¨package£©¡£
³ýÁË Java API Ö®Í⣬ÿ¸öÍêÕûµÄ Java ƽ̨ʵÏÖ»¹°üº¬£º
ÓÃÀ´±àÒë¡¢ÔËÐС¢¼àÊÓ¡¢µ÷ÊÔÓ¦ÓóÌÐòÒÔ¼°½¨Á¢Ó¦ÓóÌÐòÎĵµµÄ¿ª·¢¹¤¾ß¡£
ÓÃÀ´²¿ÊðÓ¦ÓóÌÐòµÄ±ê×¼»úÖÆ¡£
ÓÃÀ´´´½¨¸´ÔÓµÄͼÐÎÓû§½çÃ棨GUI£©µÄÓû§½çÃ湤¾ß°ü¡£
ÓÃÀ´ÆôÓÃÊý¾Ý¿â·ÃÎʺͲÙ×÷Ô¶³Ì¶ÔÏóµÄ¼¯³É¿â¡£
Java ¼¼ÊõÊÇ×î³õÓÉ Sun Microsystems ¹«Ë¾¿ª·¢µÄ¡£Java Community Process£¨JCP£¬Ò»¸öÓÉÈ«ÊÀ½çµÄ Java ¿ª·¢ÈËÔ±ºÍ»ñµÃÐí¿ÉµÄÈËÔ±×é³ÉµÄ¿ª·ÅÐÔ×éÖ¯£©¶Ô Java ¼¼Êõ¹æ·¶¡¢²Î¿¼ÊµÏֺͼ¼Êõ¼æÈÝÐÔ°ü½øÐпª·¢ºÍÐÞ¶©¡£ÔÚ 2006 Äê 8 Ô£¬Sun Microsystems Ðû²¼Ëü´òË㿪·Å Java ƽ̨µÄÔ´Â룬²¢¿ªÊ¼Õ÷ѯ¶ÔÐí¿ÉЭÒéºÍ¹ÜÀí·½Ê½µÄ·´À¡¡£
¸ü¶àÃâ·Ñ¼¼ÊõÎÄÕºͼ¼Êõ½²×ùÊÓƵÇë²Î¿¼www.ascenttech.com.cn
   ×ª
ÌÆɽµÏÈñÈí¼þITÂÛ̳


Ïà¹ØÎĵµ£º

Javaµ÷Óô洢¹ý³Ì


 
 
 
Javaµ÷Óô洢¹ý³Ì
±¾ÎIJûÊöÁËÔõôʹÓÃDBMS´æ´¢¹ý³Ì¡£ÎÒ²ûÊöÁËʹÓô洢¹ý³ÌµÄ»ù±¾µÄºÍ¸ß¼¶ÌØÐÔ£¬±ÈÈç·µ»ØResultSet¡£±¾ÎļÙÉèÄã¶ÔDBMSºÍJDBCÒѾ­·Ç³£ÊìϤ£¬Ò²¼ÙÉèÄãÄܹ»ºÁÎÞÕÏ°­µØÔĶÁÆäËüÓïÑÔд³ÉµÄ´úÂ루¼´²»ÊÇJavaµÄÓïÑÔ£©£¬µ«ÊÇ£¬²¢²»ÒªÇóÄãÓÐÈκδ洢¹ý³ÌµÄ±à³Ì¾­Àú¡£
´æ´¢¹ý³ÌÊÇÖ¸±£´æÔÚ ......

JavaÖÐstaticÓ÷¨


ת×Ô
http://blog.pfan.cn/sword2008/13772.html
Ò»¡¢static
¡¡¡¡ÇëÏÈ¿´ÏÂÃæÕâ¶Î³ÌÐò£º
  public class Hello{
    public static void main(String[] args){
//(1)
      System.out.println("Hello,world!");   //(2)
    ......

Java ¶ÔÏóµÄ´æ´¢Î»ÖÃ

ժѡ×Ô¡¶Java±à³Ì˼Ïë¡·
1£® ¼Ä´æÆ÷£¨register£©¡£ÕâÊÇ×î¿ìµÄ´æ´¢Çø£¬ÒòΪËüλÓÚ²»Í¬ÓÚÆäËû´æ´¢ÇøµÄµØ·½——´¦ÀíÆ÷ÄÚ²¿¡£µ«ÊǼĴæÆ÷µÄÊýÁ¿¼«ÆäÓÐÏÞ£¬ËùÒԼĴæÆ÷ÓɱàÒëÆ÷¸ù¾ÝÐèÇó½øÐзÖÅä¡£Äã²»ÄÜÖ±½Ó¿ØÖÆ£¬Ò²²»ÄÜÔÚ³ÌÐòÖиоõµ½¼Ä´æÆ÷´æÔÚµÄÈκμ£Ïó¡£
2£®¶ÑÕ»£¨stack£©¡£Î»ÓÚͨÓÃRAM£¨random-access memory£¬ ......

JavaÁ¬½ÓDB2Ïà¹Ø

1. ¹ØÓÚConnection Pool
JDBC±¾Éí²»ÌṩÁ¬½Ó³Ø¼¼Êõ£¬ÐèÒªµÚÈý·½¿âµÄÖ§³Ö¡£
ÔÚÐèҪƵ·±»ñµÃÁ¬½ÓµÄApplicationÖÐ×îºÃÓÃConnection Pool£¬ÈçWeb ApplicationÖÐ
¶ÔÓÚÒ»°ãµÄJava ApplicationÔò¿ÉÒÔÖ±½ÓÓÃJDBCÁ¬½ÓÊý¾Ý¿â¡£
 
2. Java ApplicationÖÐÁ¬½ÓDB2
    °²×°DB2 Personal Edition V9Ö®ºó£¬ÔÚÆäÖ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ