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

Java½Ó¿Ú×ܽá

java½Ó¿Ú
ʲôÊǽӿÚ
¡¡¡¡JavaÖеĽӿÚÊÇһϵÁз½·¨µÄÉùÃ÷£¬ÊÇһЩ·½·¨ÌØÕ÷µÄ¼¯ºÏ£¬Ò»¸ö½Ó¿ÚÖ»Óз½·¨µÄÌØÕ÷ûÓз½·¨µÄʵÏÖ£¬Òò´ËÕâЩ·½·¨¿ÉÒÔÔÚ²»Í¬µÄµØ·½±»²»Í¬µÄÀàʵÏÖ£¬¶øÕâЩʵÏÖ¿ÉÒÔ¾ßÓв»Í¬µÄÐÐΪ(¹¦ÄÜ)¡£
¡¡¡¡½Ó¿ÚµÄÁ½ÖÖº¬Ò壺һ£¬Java½Ó¿Ú£¬JavaÓïÑÔÖдæÔڵĽṹ£¬ÓÐÌض¨µÄÓï·¨ºÍ½á¹¹;¶þ£¬Ò»¸öÀàËù¾ßÓеķ½·¨µÄÌØÕ÷¼¯ºÏ£¬ÊÇÒ»ÖÖÂß¼­ÉϵijéÏó¡£Ç°Õß½Ð×ö“Java½Ó¿Ú”£¬ºóÕß½Ð×ö“½Ó¿Ú”¡£
¡¡¡¡ÔÚJavaÓïÑԹ淶ÖУ¬Ò»¸ö·½·¨µÄÌØÕ÷½ö°üÀ¨·½·¨µÄÃû×Ö£¬²ÎÊýµÄÊýÄ¿ºÍÖÖÀ࣬¶ø²»°üÀ¨·½·¨µÄ·µ»ØÀàÐÍ£¬²ÎÊýµÄÃû×ÖÒÔ¼°ËùÅ׳öÀ´µÄÒì³£¡£ÔÚJava±àÒëÆ÷¼ì²é·½·¨µÄÖØÔØʱ£¬»á¸ù¾ÝÕâЩÌõ¼þÅжÏÁ½¸ö·½·¨ÊÇ·ñÊÇÖØÔØ·½·¨¡£µ«ÔÚJava±àÒëÆ÷¼ì²é·½·¨µÄÖû»Ê±£¬Ôò»á½øÒ»²½¼ì²éÁ½¸ö·½·¨(·Ö´¦³¬ÀàÐͺÍ×ÓÀàÐÍ)µÄ·µ»¹ÀàÐͺÍÅ׳öµÄÒì³£ÊÇ·ñÏàͬ¡£
¡¡¡¡½Ó¿Ú¼Ì³ÐºÍʵÏּ̳еĹæÔò²»Í¬£¬Ò»¸öÀàÖ»ÓÐÒ»¸öÖ±½Ó¸¸À࣬µ«¿ÉÒÔʵÏÖ¶à¸ö½Ó¿Ú¡£
¡¡¡¡Java½Ó¿Ú±¾ÉíûÓÐÈκÎʵÏÖ£¬ÒòΪJava½Ó¿Ú²»Éæ¼°±íÏ󣬶øÖ»ÃèÊöpublicÐÐΪ£¬ËùÒÔJava½Ó¿Ú±ÈJava³éÏóÀà¸ü³éÏ󻯡£
¡¡¡¡Java½Ó¿ÚµÄ·½·¨Ö»ÄÜÊdzéÏóµÄºÍ¹«¿ªµÄ£¬Java½Ó¿Ú²»ÄÜÓй¹ÔìÆ÷£¬Java½Ó¿Ú¿ÉÒÔÓÐpublic£¬¾²Ì¬µÄºÍfinalÊôÐÔ¡£
¡¡¡¡½Ó¿Ú°Ñ·½·¨µÄÌØÕ÷ºÍ·½·¨µÄʵÏַָÀ´¡£ÕâÖÖ·Ö¸îÌåÏÖÔÚ½Ó¿Ú³£³£´ú±íÒ»¸ö½ÇÉ«£¬Ëü°ü×°Óë¸Ã½ÇÉ«Ïà¹ØµÄ²Ù×÷ºÍÊôÐÔ£¬¶øʵÏÖÕâ¸ö½Ó¿ÚµÄÀà±ãÊÇ°çÑÝÕâ¸ö½ÇÉ«µÄÑÝÔ±¡£Ò»¸ö½ÇÉ«Óɲ»Í¬µÄÑÝÔ±À´ÑÝ£¬¶ø²»Í¬µÄÑÝÔ±Ö®¼ä³ýÁË°çÑÝÒ»¸ö¹²Í¬µÄ½ÇÉ«Ö®Í⣬²¢²»ÒªÇóÆäËüµÄ¹²Í¬Ö®´¦¡£
ΪʲôʹÓýӿÚ
¡¡¡¡Á½¸öÀàÖеÄÁ½¸öÀàËƵŦÄÜ£¬µ÷ÓÃËûÃǵÄÀද̬µÄ¾ö¶¨Ò»ÖÖʵÏÖ£¬ÄÇËûÃÇÌṩһ¸ö³éÏó¸¸À࣬×ÓÀà·Ö±ðʵÏÖ¸¸ÀàËù¶¨ÒåµÄ·½·¨¡£
¡¡¡¡ÎÊÌâµÄ³öÏÖ£ºJavaÊÇÒ»ÖÖµ¥¼Ì³ÐµÄÓïÑÔ£¬Ò»°ãÇé¿öÏ£¬Äĸö¾ßÌåÀà¿ÉÄÜÒѾ­ÓÐÁËÒ»¸ö³¬À࣬½â¾öÊǸøËüµÄ¸¸Àà¼Ó¸¸À࣬»òÕ߸øËü¸¸ÀàµÄ¸¸Àà¼Ó¸¸Àֻ࣬µ½Òƶ¯µ½ÀàµÈ¼¶½á¹¹µÄ×¶Ë¡£ÕâÑùÒ»À´£¬¶ÔÒ»¸ö¾ßÌåÀàµÄ¿É²åÈëÐÔµÄÉè¼Æ£¬¾Í±ä³ÉÁ˶ÔÕû¸öµÈ¼¶½á¹¹ÖÐËùÓÐÀàµÄÐ޸ġ£
¡¡¡¡½Ó¿ÚÊǿɲåÈëÐԵı£Ö¤¡£
¡¡¡¡ÔÚÒ»¸öµÈ¼¶½á¹¹ÖеÄÈκÎÒ»¸öÀ඼¿ÉÒÔʵÏÖÒ»¸ö½Ó¿Ú£¬Õâ¸ö½Ó¿Ú»áÓ°Ïìµ½´ËÀàµÄËùÓÐ×ÓÀ࣬µ«²»»áÓ°Ïìµ½´ËÀàµÄÈκγ¬Àà¡£´ËÀཫ²»µÃ²»ÊµÏÖÕâ¸ö½Ó¿ÚËù¹æ¶¨µÄ·½·¨£¬¶øÆä×ÓÀà¿ÉÒÔ´Ó´ËÀà×Ô¶¯¼Ì³ÐÕâЩ·½·¨£¬µ±È»Ò²¿ÉÒÔÑ¡ÔñÖû»µôËùÓеÄÕâЩ·½·¨£¬»òÕßÆäÖеÄijһЩ·½·¨£¬Õâʱºò£¬ÕâЩ×ÓÀà¾ßÓÐÁ˿ɲåÈëÐÔ(²¢ÇÒ¿ÉÒÔÓÃÕâ¸ö½Ó¿ÚÀàÐÍ×°ÔØ£¬´«µÝʵÏÖÁËËûµÄËùÓÐ×ÓÀà)¡£
¡¡¡¡ÎÒÃǹØÐĵIJ»ÊÇÄÇÒ»¸ö


Ïà¹ØÎĵµ£º

ͨ¹ýjava·´Éä»úÖƶ¯Ì¬µ÷ÓÃij·½·¨µÄ×ܽá

ͨ¹ýjavaµÄ·´Éä»úÖÆ£¬¶¯Ì¬µ÷ÓÃij¸ö·½·¨£º
ÈçÏ£º
public Object invokeMethod(String className, String methodName,
Object[] args) throws Exception{
Class ownerClass = Class.forName(className);
Object owner = ownerClass.newInstance();

Class[] argsClass = new Class[args.length ......

ÓÃjava¶ÁÎļþÄÚÈÝ

import java.io.BufferedReader;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.RandomAccessFile;
import java.io.Reader;
/**
 *
 * ¶àÖÖ·½Ê½¶ÁÎ ......

JAVA(ËÄ)

JavaÔÓ̸£¨¾Å£©£­£­Struts 
                J2eeµÄ¿ªÔ´¿ò¼ÜºÜ¶à£¬±ÊÕßÖ»ÄܽéÉÜ×Ô¼ºÊìϤµÄ¼¸¸ö£¬ÆäËûµÄÄ¿Ç°ÔÚÖйúITÐÐÒµÓ¦Óõò»ÊǺܶࡣϣÍû´ó¼Ò¶ÔгöµÄ¿ò¼Ü²»ÒªÃ¤Ä¿µÄÍƳ磬Ê×ÏÈÒ»¶¨ÒªÊìϤËü±È¾ÉµÄµ½µ×ºÃÔÚÄÄÀеÄÀíÄîºÍÌØÐÔ ......

java php DES ¼ÓÃܽâÃÜ

import java.io.IOException;
import java.security.SecureRandom;
import javax.crypto.Cipher;
import javax.crypto.SecretKey;
import javax.crypto.SecretKeyFactory;
import javax.crypto.spec.DESKeySpec;
import sun.misc.BASE64Decoder;
import sun.misc.BASE64Encoder;
public class DES {
private byte ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ