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

¸ßÖÊÁ¿JAVA´úÂë±àд¹æ·¶

1. Java ÃüÃûÔ¼¶¨
¡¡¡¡³ýÁËÒÔϼ¸¸öÌØÀýÖ®Í⣬ÃüÃûʱӦʼÖÕ²ÉÓÃÍêÕûµÄÓ¢ÎÄÃèÊö·û¡£´ËÍ⣬һ°ãÓ¦²ÉÓÃСд×Öĸ£¬µ«ÀàÃû¡¢½Ó¿ÚÃûÒÔ¼°Èκηdzõʼµ¥´ÊµÄµÚÒ»¸ö×ÖĸҪ´óд¡£
1.1 Ò»°ã¸ÅÄî
¡¡¡¡* ¾¡Á¿Ê¹ÓÃÍêÕûµÄÓ¢ÎÄÃèÊö·û
¡¡¡¡* ²ÉÓÃÊÊÓÃÓÚÏà¹ØÁìÓòµÄÊõÓï
¡¡¡¡* ²ÉÓôóСд»ìºÏʹÃû×ֿɶÁ
¡¡¡¡* ¾¡Á¿ÉÙÓÃËõд£¬µ«Èç¹ûÓÃÁË£¬ÒªÃ÷ÖǵØʹÓã¬ÇÒÔÚÕû¸ö¹¤³ÌÖÐͳһ
¡¡¡¡* ±ÜÃâʹÓó¤µÄÃû×Ö£¨Ð¡ÓÚ 15 ¸ö×ÖĸÊǸöºÃÖ÷Ò⣩
¡¡¡¡* ±ÜÃâʹÓÃÀàËƵÄÃû×Ö£¬»òÕß½ö½öÊÇ´óСд²»Í¬µÄÃû×Ö
¡¡¡¡* ±ÜÃâʹÓÃÏ»®Ïߣ¨³ý¾²Ì¬³£Á¿µÈ£©
1.2 ʾ·¶
¡¡¡¡* °ü£¨Package£© ²ÉÓÃÍêÕûµÄÓ¢ÎÄÃèÊö·û£¬Ó¦¸Ã¶¼ÊÇÓÉСд×Öĸ×é³É¡£¶ÔÓÚÈ«¾Ö°ü£¬½«ÄãµÄ Internet ÓòÃû·´×ª²¢½ÓÉÏ°üÃû¡£ È磺
      java.awt
     com.ambysoft.www.persistence
¡¡¡¡* ÀࣨClass£© ²ÉÓÃÍêÕûµÄÓ¢ÎÄÃèÊö·û£¬ËùÓе¥´ÊµÄµÚÒ»¸ö×Öĸ´óд¡£ È磺
      Customer
     SavingsAccount
¡¡¡¡* ½Ó¿Ú£¨Interface£© ²ÉÓÃÍêÕûµÄÓ¢ÎÄÃèÊö·û˵Ã÷½Ó¿Ú·â×°£¬ËùÓе¥´ÊµÄµÚÒ»¸ö×Öĸ´óд¡£Ï°¹ßÉÏ£¬Ãû×ÖºóÃæ¼ÓÉϺó׺ able£¬ ible »òÕß er£¬µ«Õâ²»ÊDZØÐèµÄ¡£È磺
      Contactable
     Prompter
¡¡¡¡* ×é¼þ/²¿¼þ£¨Component£© ʹÓÃÍêÕûµÄÓ¢ÎÄÃèÊöÀ´ËµÃ÷×é¼þµÄÓÃ;£¬Ä©¶ËÓ¦½ÓÉÏ×é¼þÀàÐÍ¡£ È磺
      okButton
      customerList
      fileMenu
¡¡¡¡* Òì³££¨Exception£© ͨ³£²ÉÓÃ×Öĸ e ±íʾÒì³£¡£ e
¡¡¡¡* Àà±äÁ¿ ×ֶβÉÓÃÍêÕûµÄÓ¢ÎÄÃèÊö£¬µÚÒ»¸ö×ÖĸСд£¬ÈκÎÖм䵥´ÊµÄÊ××Ö´óд£¬È磺   firstName
      lastName
¡¡¡¡* ʵ²Î/²ÎÊý ͬ×Ö¶Î/ÊôÐÔµÄÃüÃû¹æÔò
      public void setFirstName(String firstName){
            this.firstName = firstName;
     }
¡¡¡¡* ¾Ö²¿±äÁ¿ ͬ×Ö¶Î/ÊôÐÔµÄÃüÃû¹æÔò
¡¡¡¡ ** »ñÈ¡³ÉÔ±º¯Êý ±»·ÃÎÊ×Ö¶ÎÃûµÄÇ°Ãæ¼ÓÉÏǰ׺ get¡£ getFirstName(), getLastName()
    ** ²¼¶ûÐ͵ĻñÈ¡³ÉÔ±º¯Êý ËùÓеIJ¼¶ûÐÍ»ñÈ¡º¯Êý±ØÐëÓõ¥´Ê is ×öǰ׺¡£ isPersiste


Ïà¹ØÎĵµ£º

JavaÖÐͨ¹ýDWR»ñÈ¡session¡¢request¡¢response

ÔÚDWRÖÐÐèÒªÓõ½session,requestµÈÕâЩ¶«Î÷µÄʱºò£¬¿ÉÒÔÓÃÒÔÏ·½·¨»ñÈ¡:
1. ʹÓÃDWRµÄAPI (ºÜ¶àÈ˶¼²»ÍƼöÕâÖÖ×ö·¨,¾­²âÊÔ,ʹÓÃÆðÀ´¿Ï¶¨Ã»ÎÊÌâ)
import uk.ltd.getahead.dwr.WebContext;
import uk.ltd.getahead.dwr.WebContextFactory;
WebContext ctx = WebContextFactory.get();
ctx.getSession()
ctx.getHttp ......

javaÖеĶ¯Ì¬´úÀí

   JavaÔÚJDK1.3Ö®ºó¼ÓÈëÁË¿ÉЭÖú¿ª·¢¶¯Ì¬´úÀí¹¦ÄܵÄAPI.ʹÓö¯Ì¬´úÀí£¬¿ÉÒÔʹһ¸ö´¦ÀíÕߣ¨´úÀí£©·þÎñÓÚ¸÷¸ö¶ÔÏó¡£´´½¨Ò»¸ö¶¯Ì¬´úÀíÀàÖ»ÐèʵÏÖjava.lang.reflect.InvocationHandler½Ó¿Ú¡£
  ÏÂÃæ´´½¨Ò»¸ö´¦ÀíÈÕÖ¾µÄ¶¯Ì¬´úÀíÀàLogHandlerÈ¥´úÀíHelloSpeakerÀà
   Ê×ÏÈ´´½¨HelloSpeakerµÄ½Ó¿Ú
pa ......

ÓÉJava toy programme µÃ³öµÄ¾­Ñé¼°½Ìѵ

ѧϰJava´ó¸ÅÒ»¸öÔÂÁË£¬ÓÉÓÚÒÔÇ°ÓÐc/c++»ù´¡£¬ËùÒÔÔÚJ2SE²¿·ÖµÄѧϰÊDZȽϿìµÄ£¬½ñÌìÔÚÂÛ̳¿´µ½Ò»¸öÍøÓѵÄÇóÖúÌû£¬Òª½«Ó²ÅÌÉÏÁ½¸öÎļþºÏ²¢ÎªÒ»¸ö²¢É¾³ýÔ­Îļþ£¬ÓÚÊDZãдÁ˲âÊÔ³ÌÐò¡£ºóÀ´ÔÚɾ³ýÎļþʱ£¬ÓÉÓÚûÓаѶµ½ÎļþÉϵÄÊä³öÁ÷¹Ø±Õ£¬µ¼ÖÂÔõôҲÎÞ·¨É¾³ý¡£¶øÇÒÒ»Ö±²é²»³öÔ­Òò£¬ºóÀ´ÒÔΪÊÇdelete·½·¨Ö»ÄÜɾ³ý¿ÕÎļþ£¬Ò»g ......

JavaÐéÄâ»ú²ÎÊýѧϰ »ù±¾²ÎÊý

JavaÐéÄâ»ú²ÎÊý·ÖΪ»ù±¾²ÎÊýºÍÀ©Õ¹²ÎÊý£¬±¾ÎÄÖ÷ÒªÏêϸ½éÉÜ»ù±¾²ÎÊýÖи÷¸ö²ÎÊýµÄÒâÒåÒÔ¼°ÆäÓ÷¨¡£
Òª²é¿´JavaÐéÄâ»úÓÐÄÄЩ¿ÉÑ¡µÄ²ÎÊýÅäÖ㬿ÉÒÔÖ±½ÓÔËÐÐjavaÃüÁÏÔʾÈçÏÂЧ¹û£º
ϱ߷ֱð½éÉÜÿ¸ö²ÎÊýµÄÓ÷¨£º
1. -client£¬-server
ÕâÁ½¸ö²ÎÊýÓÃÓÚÉèÖÃÐéÄâ»úʹÓúÎÖÖÔËÐÐģʽ£¬clientģʽÆô¶¯±È½Ï¿ì£¬µ«ÔËÐÐʱÐÔÄܺÍÄÚ´ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ