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

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


Ïà¹ØÎĵµ£º

javaѧϰ±Ê¼Ç 2.»ù±¾Êý¾ÝÀàÐÍ

1.ÕûÊý
byte    1×Ö½Ú
short   2×Ö½Ú
int      4×Ö½Ú
long    8×Ö½Ú
2.¸¡µã
float
double
Ìáʾ
£¨1£© ¸¡µãÐ͵ÄÖµ£¬Èç¹ûûÓÐÌرðÖ¸Ã÷£¬Ä¬ÈÏÊÇ double Ð͵Ä
£¨2£© ¶¨Òå float Ð͵Äʱºò£¬Ò»¶¨ÒªÖ¸Ã÷ÊÇ float Ð͵ģ¬¿ÉÒÔͨ¹ýÔÚÊý×ÖºóÃæÌí¼Ó&rd ......

Java¼¯ºÏ¿ò¼Üͼ


Java¼¯ºÏ¿ò¼Üͼ
¡¡¡¡¼¯ºÏ½Ó¿Ú£º6¸ö½Ó¿Ú£¨¶ÌÐéÏß±íʾ£©£¬±íʾ²»Í¬¼¯ºÏÀàÐÍ£¬ÊǼ¯ºÏ¿ò¼ÜµÄ»ù´¡¡£
¡¡¡¡³éÏóÀࣺ5¸ö³éÏóÀࣨ³¤ÐéÏß±íʾ£©£¬¶Ô¼¯ºÏ½Ó¿ÚµÄ²¿·ÖʵÏÖ¡£¿ÉÀ©Õ¹Îª×Ô¶¨Ò弯ºÏÀà¡£
¡¡¡¡ÊµÏÖÀࣺ8¸öʵÏÖÀࣨʵÏß±íʾ£©£¬¶Ô½Ó¿ÚµÄ¾ßÌåʵÏÖ¡£
¡¡¡¡Ôںܴó³Ì¶ÈÉÏ£¬Ò»µ©ÄúÀí½âÁ˽ӿڣ¬Äú¾ÍÀí½âÁË¿ò¼Ü¡£ËäÈ»Äú×ÜÒª´´½ ......

java ½âѹËõzipÎļþ

²âÊÔ»·¾³£º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 {
   ......

javaÅжÏ×ÓÍøÑÚÂë

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();
......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ