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

JavaÔ¶³ÌͨѶÏà¹Ø¼¼Êõ

Ò»¡¢»ùÓÚRMIµÄÒ»´ÎÍêÕûµÄÔ¶³ÌͨÐŹý³ÌµÄÔ­Àí£º
1. ¿Í»§¶Ë·¢ÆðÇëÇó£¬ÇëÇóת½»ÖÁRMI¿Í»§¶ËµÄstubÀࣻ
2. stubÀཫÇëÇóµÄ½Ó¿Ú¡¢·½·¨¡¢²ÎÊýµÈÐÅÏ¢½øÐÐÐòÁл¯£»
3. »ùÓÚsocket½«ÐòÁл¯ºóµÄÁ÷´«ÊäÖÁ·þÎñÆ÷¶Ë£»
4. ·þÎñÆ÷¶Ë½ÓÊÕµ½Á÷ºóת·¢ÖÁÏàÓ¦µÄskeltonÀࣻ
5. skeltonÀཫÇëÇóµÄÐÅÏ¢·´ÐòÁл¯ºóµ÷ÓÃʵ¼ÊµÄ´¦ÀíÀࣻ
6. ´¦ÀíÀà´¦ÀíÍê±Ïºó½«½á¹û·µ»Ø¸øskeltonÀࣻ
7. SkeltonÀཫ½á¹ûÐòÁл¯£¬Í¨¹ýsocket½«Á÷´«Ë͸ø¿Í»§¶ËµÄstub£»
8. stubÔÚ½ÓÊÕµ½Á÷ºó·´ÐòÁл¯£¬½«·´ÐòÁл¯ºóµÄJava Object·µ»Ø¸øµ÷ÓÃÕß¡£
1. ´«ÊäµÄ±ê×¼¸ñʽÊÇʲô£¿
   ÊÇJava ObjectStream¡£
2. ÔõôÑù½«ÇëÇóת»¯Îª´«ÊäµÄÁ÷£¿
   »ùÓÚJava´®Ðл¯»úÖƽ«ÇëÇóµÄjava objectÐÅϢת»¯ÎªÁ÷¡£
3. Ôõô½ÓÊպʹ¦ÀíÁ÷£¿
   ¸ù¾Ý²ÉÓõÄЭÒéÆô¶¯ÏàÓ¦µÄ¼àÌý¶Ë¿Ú£¬µ±ÓÐÁ÷½øÈëºó»ùÓÚJava´®Ðл¯»úÖƽ«Á÷½øÐз´ÐòÁл¯£¬²¢¸ù¾ÝRMIЭÒé»ñÈ¡µ½ÏàÓ¦µÄ´¦Àí¶ÔÏóÐÅÏ¢£¬½øÐе÷Óò¢´¦Àí£¬´¦ÀíÍê±ÏºóµÄ½á¹ûͬÑù»ùÓÚjava´®Ðл¯»úÖƽøÐзµ»Ø¡£
4. ´«ÊäЭÒéÊÇ£¿
   Socket¡£
¶þ¡¢XML-RPCЭÒéµÄÒ»´ÎÔ¶³ÌͨÐŹý³Ì£º
1. ¿Í»§¶Ë·¢ÆðÇëÇ󣬰´ÕÕXML-RPCЭÒ齫ÇëÇóÐÅÏ¢½øÐÐÌî³ä£»
2. Ìî³äÍê±Ïºó½«xmlת»¯ÎªÁ÷£¬Í¨¹ý´«ÊäЭÒé½øÐд«Ê䣻
3. ½ÓÊÕµ½ÔÚ½ÓÊÕµ½Á÷ºóת»»Îªxml£¬°´ÕÕXML-RPCЭÒé»ñÈ¡ÇëÇóµÄÐÅÏ¢²¢½øÐд¦Àí£»
4. ´¦ÀíÍê±Ïºó½«½á¹û°´ÕÕXML-RPCЭÒéдÈëxmlÖв¢·µ»Ø¡£
1. ´«ÊäµÄ±ê×¼¸ñʽÊÇ£¿
  ±ê×¼¸ñʽµÄXML¡£
2. ÔõôÑù½«ÇëÇóת»¯Îª´«ÊäµÄÁ÷£¿
   ½«XMLת»¯ÎªÁ÷¡£
3. Ôõô½ÓÊպʹ¦ÀíÁ÷£¿
    ͨ¹ý¼àÌýµÄ¶Ë¿Ú»ñÈ¡µ½ÇëÇóµÄÁ÷£¬×ª»¯ÎªXML£¬²¢¸ù¾ÝЭÒé»ñÈ¡ÇëÇóµÄÐÅÏ¢£¬½øÐд¦Àí²¢½«½á¹ûдÈëXMLÖзµ»Ø¡£
4. ´«ÊäЭÒéÊÇ£¿
   Http¡£
Èý¡¢Binary-RPC¿´Ãû×Ö¾ÍÖªµÀºÍXML-RPCÊDz¶àµÄÁË£¬²»Í¬Ö®´¦½öÔÚÓÚ´«ÊäµÄ±ê×¼¸ñʽÓÉXMLתΪÁ˶þ½øÖƵĸñʽ¡£
1. ´«ÊäµÄ±ê×¼¸ñʽÊÇ£¿
   ±ê×¼¸ñʽµÄ¶þ½øÖÆÎļþ¡£
2. ÔõôÑù½«ÇëÇóת»¯Îª´«ÊäµÄÁ÷£¿
    ½«¶þ½øÖƸñʽÎļþת»¯ÎªÁ÷¡£
3. Ôõô½ÓÊպʹ¦ÀíÁ÷£¿
    ͨ¹ý¼àÌýµÄ¶Ë¿Ú»ñÈ¡µ½ÇëÇóµÄÁ÷£¬×ª»¯Îª¶þ½øÖÆÎļþ£¬¸ù¾ÝЭÒé»ñÈ¡ÇëÇóµÄÐÅÏ¢£¬½øÐд¦Àí²¢½«½á¹ûдÈëXMLÖзµ»Ø¡£
4. ´«ÊäЭÒéÊÇ£¿
   Http¡£
ËÄ¡¢JMSÖеÄÒ»´ÎÔ¶³ÌͨÐŵĹý³Ì£º
1. ¿Í»§¶Ë½«ÇëÇóת»¯Îª·ûºÏJMS¹æ¶¨µÄMessage£»
2. ͨ¹ýJMS API½«Message·ÅÈëJMS Queue


Ïà¹ØÎĵµ£º

JavaÄÚ´æ¹ÜÀí

JavaÄÚ´æ¹ÜÀí
¹Ø¼ü×Ö: ÄÚ´æ·ÖÅ䣬³£Á¿³Ø
Ò»¡¢JavaÄÚ´æ·ÖÅä
1¡¢ JavaÓм¸ÖÖ´æ´¢ÇøÓò£¿
* ¼Ä´æÆ÷
    -- ÔÚCPUÄÚ²¿£¬¿ª·¢ÈËÔ±²»ÄÜͨ¹ý´úÂëÀ´¿ØÖƼĴæÆ÷µÄ·ÖÅ䣬ÓɱàÒëÆ÷À´¹ÜÀí
* Õ»
    -- ÔÚWindowsÏÂ, Õ»ÊÇÏòµÍµØÖ·À©Õ¹µÄÊý¾Ý½á¹¹£¬ÊÇÒ»¿éÁ¬ÐøµÄÄÚ´æµÄÇøÓò£¬¼´Õ»¶¥µÄµØÖ·ºÍÕ»µÄ×î´óÈÝÁ¿ÊÇ ......

java ·ºÐÍ»úÖƺͷ´Éä»úÖÆ

  ѧÍêÁËJAVA,C#¾¹»¹²»Ö®·ºÐÍ»úÖƺͷ´Éä»úÖÆ¡«¿ñº¹£¡ÀÏʦû˵¹ý£¬ÎÒҲûÓÐ×êÑйý¡«
·ºÐÍ£º
       ¸ÅÄËùν·ºÐÍ(generic)ÊÇÖ¸½«ÀàÐͲÎÊý»¯ÒÔ´ïµ½´úÂ븴ÓÃÌá¸ßÈí¼þ¿ª·¢¹¤×÷ЧÂʵÄÒ»ÖÖÊý¾ÝÀàÐÍ¡£·ºÐÍÀàÊÇÒýÓÃÀàÐÍ£¬ÊǶѶÔÏó£¬Ö÷ÒªÊÇÒýÈëÁËÀàÐͲÎÊýÕâ¸ö¸ÅÄî¡£
  ......

java staticºÍfinalµÄÀí½â

final ¹Ø¼ü×Ö ºÍ static Ó÷¨
Ò»¡¢final 
¸ù¾Ý³ÌÐòÉÏÏÂÎÄ»·¾³£¬Java¹Ø¼ü×ÖfinalÓГÕâÊÇÎÞ·¨¸Ä±äµÄ”»òÕß“ÖÕ̬µÄ”º¬Ò壬Ëü¿ÉÒÔÐÞÊηdzéÏóÀà¡¢·Ç³éÏóÀà³ÉÔ±·½·¨ºÍ±äÁ¿¡£Äã¿ÉÄܳöÓÚÁ½ÖÖÀí½â¶øÐèÒª×èÖ¹¸Ä±ä£ºÉè¼Æ»òЧÂÊ¡£
finalÀ಻Äܱ»¼Ì³Ð£¬Ã»ÓÐ×ÓÀ࣬finalÀàÖеķ½·¨Ä¬ÈÏÊÇfinalµÄ¡£ 
......

¼òµ¥JAVA socket ±Ê¼Ç

Server£º
                ServerSocket server = new ServerSocket(PORT, 1);  // ´ò¿ªServer²¢¼àÌý
                Socket client = server.accept(); ......

JavaÅàѵ,ÎÒΪʲôѡÔñ´«ÖDz¥¿Í

       ´ó¼ÒºÃ,ÎÒÊÇ´«ÖDz¥¿Í2009Äê12ÔÂ20ºÅ³å´Ì°àѧԱ.ÔÚ½ÓÏÂÀ´µÄ¼¸¸öÔÂÀïÎÒ½«ÕæʵµÄ¼Í¼ÔÚ´«ÖDz¥¿ÍµÄѧϰ¾­Àú.Ò»ÊǶÔ×Ô¼ºÑ§Ï°µÄ×ܽáºÍ¼Í¼;¶þÊÇÕæʵµÄ·´Ó¦ÔÚ´«ÖDz¥¿Íѧϰ¾­ÀúºÍ¹ý³Ì.
       ÏȽéÉÜÒ»ÏÂÎÒ×Ô¼º´Ó±ÏÒµµ½´«ÖDz¥¿Í֮ǰÔÚ±±¾©µÄ¾­Àú.09Äê±¾¿ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ