JavaÔ¶³ÌͨѶ¿ÉÑ¡¼¼Êõ¼°ÔÀí
ÔÚ·Ö²¼Ê½·þÎñ¿ò¼ÜÖУ¬Ò»¸ö×î»ù´¡µÄÎÊÌâ¾ÍÊÇÔ¶³Ì·þÎñÊÇÔõôͨѶµÄ£¬ÔÚJavaÁìÓòÖÐÓкܶà¿ÉʵÏÖÔ¶³ÌͨѶµÄ¼¼Êõ£¬ÀýÈ磺RMI¡¢MINA¡¢ESB¡¢Burlap¡¢Hessian¡¢SOAP¡¢EJBºÍJMSµÈ£¬ÕâЩÃû´ÊÖ®¼äµ½µ×ÊÇЩʲô¹ØϵÄØ£¬ËüÃDZ³ºóµ½µ×ÊÇ»ùÓÚʲôÔÀíʵÏÖµÄÄØ£¬Á˽âÕâЩÊÇʵÏÖ·Ö²¼Ê½·þÎñ¿ò¼ÜµÄ»ù´¡ÖªÊ¶£¬¶øÈç¹ûÔÚÐÔÄÜÉÏÓиߵÄÒªÇóµÄ»°£¬ÄÇÉîÈëÁ˽âÕâЩ¼¼Êõ±³ºóµÄ»úÖƾÍÊDZØÐëµÄÁË£¬ÔÚÕâƪblogÖÐÎÒÃǽ«À´Ò»Ì½¾¿¾¹£¬Å×שÒýÓñ£¬»¶Ó´ó¼ÒÌṩ¸ü¶àµÄʵÏÖÔ¶³ÌͨѶµÄ¼¼ÊõºÍÔÀíµÄ½éÉÜ¡£
»ù±¾ÔÀí
ҪʵÏÖÍøÂç»úÆ÷¼äµÄͨѶ£¬Ê×ÏȵÃÀ´¿´¿´¼ÆËã»úϵͳÍøÂçͨÐŵĻù±¾ÔÀí£¬Ôڵײã²ãÃæÈ¥¿´£¬ÍøÂçͨÐÅÐèÒª×öµÄ¾ÍÊǽ«Á÷´Óһ̨¼ÆËã»ú´«Êäµ½ÁíÍâһ̨¼ÆËã»ú£¬»ùÓÚ´«ÊäÐÒéºÍÍøÂçIOÀ´ÊµÏÖ£¬ÆäÖд«ÊäÐÒé±È½Ï³öÃûµÄÓÐhttp¡¢tcp¡¢udpµÈµÈ£¬http¡¢tcp¡¢udp¶¼ÊÇÔÚΪijÀàÓ¦Óó¡¾°¶ø¶¨Òå³öµÄ´«ÊäÐÒ飬ÍøÂçIO£¬Ö÷ÒªÓÐbio¡¢nio¡¢aioÈýÖÖ·½Ê½£¬ËùÓеķֲ¼Ê½Ó¦ÓÃͨѶ¶¼»ùÓÚÕâ¸öÔÀí¶øʵÏÖ£¬Ö»ÊÇΪÁËÓ¦ÓõÄÒ×Ó㬸÷ÖÖÓïÑÔͨ³£¶¼»áÌṩһЩ¸üΪÌù½üÓ¦ÓÃÒ×ÓõÄÓ¦ÓòãÐÒé¡£
Ó¦Óü¶ÐÒé
Ô¶³Ì·þÎñͨѶ£¬ÐèÒª´ïµ½µÄÄ¿±êÊÇÔÚһ̨¼ÆËã»ú·¢ÆðÇëÇó£¬ÁíÍâһ̨»úÆ÷ÔÚ½ÓÊÕµ½ÇëÇóºó½øÐÐÏàÓ¦µÄ´¦Àí²¢½«½á¹û·µ»Ø¸øÇëÇó¶Ë£¬ÕâÆäÖÐÓÖ»áÓÐÖîÈçone way request¡¢Í¬²½ÇëÇó¡¢Òì²½ÇëÇóµÈµÈÇëÇó·½Ê½£¬°´ÕÕÍøÂçͨÐÅÔÀí£¬ÐèҪʵÏÖÕâ¸öÐèÒª×öµÄ¾ÍÊǽ«ÇëÇóת»»³ÉÁ÷£¬Í¨¹ý´«ÊäÐÒé´«ÊäÖÁÔ¶¶Ë£¬Ô¶¶Ë¼ÆËã»úÔÚ½ÓÊÕµ½ÇëÇóµÄÁ÷ºó½øÐд¦Àí£¬´¦ÀíÍê±Ïºó½«½á¹ûת»¯ÎªÁ÷£¬²¢Í¨¹ý´«ÊäÐÒé·µ»Ø¸øµ÷Óöˡ£
ÔÀíÊÇÕâÑùµÄ£¬µ«ÎªÁËÓ¦Óõķ½±ã£¬Òµ½çÍƳöÁ˺ܶà»ùÓÚ´ËÔÀíÖ®ÉϵÄÓ¦Óü¶µÄÐÒ飬ʹµÃ´ó¼Ò¿ÉÒÔ²»ÓÃÈ¥Ö±½Ó²Ù×÷Õâôµ×²ãµÄ¶«Î÷£¬Í¨³£Ó¦Óü¶µÄÔ¶³ÌͨÐÅÐÒé»áÌṩ£º
1¡¢ÎªÁ˱ÜÃâÖ±½Ó×öÁ÷²Ù×÷ÕâôÂé·³£¬ÌṩһÖÖ¸ü¼ÓÒ×ÓûòÌùºÏÓïÑԵıê×¼´«Êä¸ñʽ£»
2¡¢ÍøÂçͨÐÅ»úÖƵÄʵÏÖ£¬¾ÍÊÇÌæÄãÍê³ÉÁ˽«´«Êä¸ñʽת»¯ÎªÁ÷£¬Í¨¹ýijÖÖ´«ÊäÐÒé´«ÊäÖÁÔ¶¶Ë¼ÆËã»ú£¬Ô¶¶Ë¼ÆËã»úÔÚ½ÓÊÕµ½Á÷ºóת»¯Îª´«Êä¸ñʽ£¬²¢½øÐд洢»òÒÔijÖÖ·½Ê½Í¨ÖªÔ¶¶Ë¼ÆËã»ú¡£
ËùÒÔÔÚѧϰӦÓü¶µÄÔ¶³ÌͨÐÅÐÒéʱ£¬ÎÒÃÇ¿ÉÒÔ´ø×ÅÕ⼸¸öÎÊÌâ½øÐÐѧϰ£º
1¡¢´«ÊäµÄ±ê×¼¸ñʽÊÇʲô£¿
2¡¢ÔõôÑù½«ÇëÇóת»¯Îª´«ÊäµÄÁ÷£¿
3¡¢Ôõô½ÓÊպʹ¦ÀíÁ÷£¿
4¡¢´«ÊäÐÒéÊÇ£¿
²»¹ýÓ¦Óü¶µÄÔ¶³ÌͨÐÅÐÒé²¢²»»áÔÚ´«ÊäÐÒéÉÏ×öʲô¶à´óµÄ¸Ä½ø£¬Ö÷ÒªÊÇÔÚÁ÷²Ù×÷·½Ã棬ÈÃÓ¦ÓòãÉú³ÉÁ÷ºÍ´¦ÀíÁ÷µÄÕâ¸ö¹ý³Ì¸ü¼ÓµÄÌùºÏËùʹÓõÄÓïÑÔ»ò±ê×¼£¬ÖÁÓÚ´«ÊäÐÒéÔòͨ³£¶¼ÊÇ¿ÉÑ¡µÄ£¬ÔÚjavaÁìÓòÖÐÖªÃûµÄÓУºRMI¡¢XML-RP
Ïà¹ØÎĵµ£º
1.ÕûÊý
byte 1×Ö½Ú
short 2×Ö½Ú
int 4×Ö½Ú
long 8×Ö½Ú
2.¸¡µã
float
double
Ìáʾ
£¨1£© ¸¡µãÐ͵ÄÖµ£¬Èç¹ûûÓÐÌرðÖ¸Ã÷£¬Ä¬ÈÏÊÇ double Ð͵Ä
£¨2£© ¶¨Òå float Ð͵Äʱºò£¬Ò»¶¨ÒªÖ¸Ã÷ÊÇ float Ð͵ģ¬¿ÉÒÔͨ¹ýÔÚÊý×ÖºóÃæÌí¼Ó&rd ......
Java¼¯ºÏ¿ò¼Üͼ
¡¡¡¡¼¯ºÏ½Ó¿Ú£º6¸ö½Ó¿Ú£¨¶ÌÐéÏß±íʾ£©£¬±íʾ²»Í¬¼¯ºÏÀàÐÍ£¬ÊǼ¯ºÏ¿ò¼ÜµÄ»ù´¡¡£
¡¡¡¡³éÏóÀࣺ5¸ö³éÏóÀࣨ³¤ÐéÏß±íʾ£©£¬¶Ô¼¯ºÏ½Ó¿ÚµÄ²¿·ÖʵÏÖ¡£¿ÉÀ©Õ¹Îª×Ô¶¨Ò弯ºÏÀà¡£
¡¡¡¡ÊµÏÖÀࣺ8¸öʵÏÖÀࣨʵÏß±íʾ£©£¬¶Ô½Ó¿ÚµÄ¾ßÌåʵÏÖ¡£
¡¡¡¡Ôںܴó³Ì¶ÈÉÏ£¬Ò»µ©ÄúÀí½âÁ˽ӿڣ¬Äú¾ÍÀí½âÁË¿ò¼Ü¡£ËäÈ»Äú×ÜÒª´´½ ......
²âÊÔ»·¾³£ºwin2000+jdk1.4+jb2006
import java.io.*;
import java.util.Enumeration;
//import java.util.zip.*;
import org.apache.tools.zip.*;
public class Test {
//½âѹÎļþ
public static void extZipFileList(String zipFileName, String extPlace) {
try {
  ......
String[] ips = ipValue.split("\\.");
String binaryVal = "";
for (int i = 0; i < ips.length; i++)
{
String binaryStr = Integer.toBinaryString(Integer.parseInt(ips[i]));
Integer times = 8 - binaryStr.length();
......