JavaÃÜÂë¼ÓÃÜ
Java´úÂë
package com.sunnylocus.util;
import java.security.MessageDigest;
/**
* ¶ÔÃÜÂë½øÐмÓÃܺÍÑéÖ¤µÄÀà
*/
public class CipherUtil{
//Ê®Áù½øÖÆÏÂÊý×Öµ½×Ö·ûµÄÓ³ÉäÊý×é
private final static String[] hexDigits = {"0", "1", "2", "3", "4",
"5", "6", "7", "8", "9", "a", "b", "c", "d", "e", "f"};
/** * °ÑinputString¼ÓÃÜ */
public static String generatePassword(String inputString){
return encodeByMD5(inputString);
}
/**
* ÑéÖ¤ÊäÈëµÄÃÜÂëÊÇ·ñÕýÈ·
* @param password ¼ÓÃܺóµÄÃÜÂë
* @param inputString ÊäÈëµÄ×Ö·û´®
* @return ÑéÖ¤½á¹û£¬TRUE:ÕýÈ· FALSE:´íÎó
*/
public static boolean validatePassword(String password, String inputString){
if(password.equals(encodeByMD5(inputString))){
return true;
Ïà¹ØÎĵµ£º
Java´´Ê¼ÈËղķ˹·¸ß˹ÁÖ(James Gosling)ÈÕÇ°ÔÚ²©¿ÍÖгÆ,ÒѾÔÚ4ÔÂ2ÈÕ´Ó¼×¹ÇÎÄ(Oracle£©ÍËÐÝ¡£ºÜ¶àÈ˵ĵÚÒ»·´Ó¦ÊÇ£¬ËûÊÇ·ñ»áͶ±¼Î¢Èí¡¢GoogleÖ®ÀàµÄ¹«Ë¾ÄØ£¿²»¹ýGosling±íʾĿǰ»¹Ã»ÓнøÒ»²½´òËã¡£
¹ØÓÚÀëÖ°µÄ¾ßÌåÔÒò£¬¸ß˹ÁÖûÓÐ͸¶¡£Ö»ÊÇÔÚ²©¿ÍÖÐдµÀ£º“Êǵģ¬ÄÇЩ´«ÑÔ¶¼ÊÇÕæµÄ£ºÎÒÒѾÔÚÒ»ÖÜÇ°£¨4 ......
package com.tonglian.test;
import java.util.TimerTask;
//TimerTaskÊǸöÐéÀ࣬ÆäÖÐÓÐÒ»¸örun()
public class Work extends TimerTask{
@Override
public void run() {
// TODO Auto-generated method stub
System.out.println("tttt/n");
}
}
//¹¦ÄÜ£ºÃ¿¸ô1Ãë¾Í»áµ ......
Axis2Éú³É¿Í»§¶Ë·½Ê½
»ùÓÚStockQuoteServiceÀà´´½¨¿Í»§¶ËµÄËÄÖÖ·½Ê½
¹¹½¨»ùÓÚAXIOMµÄ¿Í»§¶Ë£»
ʹÓÃAxis2 Databinding Frame work(ADB)Éú³É¿Í»§¶Ë£»
ʹÓÃXMLBeansÉú³É¿Í»§¶Ë£»
ʹÓÃJiBXÉú³É¿Í»§¶Ë¡£
ADB£º×î¼òµ¥µÄÉú³ÉAxis¿Í»§¶ËµÄ·½·¨¡£´ó²¿·ÖÇé¿öÏ£¬ÕâЩÖ÷ÒªµÄÀ඼»áÒÔÄÚ²¿ÀàµÄÐÎʽ´´½¨ÔÚstubÀàÖС£It is not meant ......