javaÖÐAxis2Éú³É¿Í»§¶Ë·½Ê½
Axis2Éú³É¿Í»§¶Ë·½Ê½
»ùÓÚStockQuoteServiceÀà´´½¨¿Í»§¶ËµÄËÄÖÖ·½Ê½
¹¹½¨»ùÓÚAXIOMµÄ¿Í»§¶Ë£»
ʹÓÃAxis2 Databinding Frame work(ADB)Éú³É¿Í»§¶Ë£»
ʹÓÃXMLBeansÉú³É¿Í»§¶Ë£»
ʹÓÃJiBXÉú³É¿Í»§¶Ë¡£
ADB£º×î¼òµ¥µÄÉú³ÉAxis¿Í»§¶ËµÄ·½·¨¡£´ó²¿·ÖÇé¿öÏ£¬ÕâЩÖ÷ÒªµÄÀ඼»áÒÔÄÚ²¿ÀàµÄÐÎʽ´´½¨ÔÚstubÀàÖС£It is not meant to be a full schema binding application, and has difficulty with structures such as XML Schema element extensions and restrictions¡£ be meant to£ºÓÐÒâÒª¡¢´òËã
XMLBeans:ÓëADB²»Í¬£¬ËûÊÇÒ»¸öÈ«¹¦ÄܵÄschema±àÒëÆ÷¡£ËûûÓÐADBµÄÏÞÖÆ¡£È»¶ø£¬ËûÒ²±ÈADBÓÃÆðÀ´¸ü¸´ÔÓ¡£Ëû»á²ú³É´óÁ¿µÄÎļþ£¬±à³ÌÄ£ÐͲ»ÈçADBÖ±¹Û¡£
JiBX:ËûÊÇÒ»¸öÊý¾Ý°ó¶¨¿ò¼Ü¡£Ëû²»½öÌṩÁËWSDL£JAVAµÄת»»£¬¶øÇÒÌṩÁËJAVA£XMLµÄת»»¡£JiBXÏ൱Áé»î£¬ÔÊÐíÄãÑ¡ÔñÀàÀ´´ú±íÄãµÄʵÌ壬µ«ÊÇÕâ¸öÈ´²»ºÃ×ö£¬µ«»¹¾ä»°Ëµ£¬Èç¹ûÕâЩ¶¼Äܽ¨ºÃ£¬ÄÇôʹÓÃJiBX¾Í¸üʹÓÃADBÒ»ÑùÈÝÒס£
¶ÔÓÚ¼òµ¥Ó¦ÓÃÀ´ËµADBÒѾ¹»ÓÃÁË£¬Èç¹ûÏëÓøü¼ÓÇ¿´ó¸ü¼ÓÁé»îµÄ¹¦ÄÜ£¬ÄÇôÄã¿ÉÄÜÐèҪʹÓÃÆäËûÁ½ÖÖ·½Ê½¡£
Axis2ÌṩµÄËÄÖÖµ÷ÓÃģʽ
Web services¿ÉÒÔÓÃÀ´ÎªÓû§Ìṩ¹ã·ºµÄ¹¦ÄÜ£¬´Ó¼òµ¥µÄ¡¢ÉÙʱ¼äÏûºÄµÄ¹¦Äܵ½¶àʱ¼äÏûºÄµÄÒµÎñ·þÎñ¡£µ±ÎÒÃÇʹÓ㨵÷Óÿͻ§¶ËµÄÓ¦ÓóÌÐò£©ÕâЩWeb Serviceʱ£¬ÎÒÃDz»ÄÜÓüòµ¥µÄµ÷ÓûúÖÆÀ´Õë¶ÔÄÇЩ¶Ôʱ¼äÏûºÄÓкܴóÒªÇóµÄ·þÎñ²Ù×÷¡£ÀýÈ磬Èç¹ûÎÒÃÇʹÓÃÒ»¸ö¼òµ¥µÄ´«ÊäͨµÀ£¨ÈçHTTP£©²¢Ê¹ÓÃIN-OUTģʽÀ´µ÷ÓÃÒ»¸öÐèÒªºÜ³¤Ê±¼äÀ´Íê³ÉµÄWeb Service£¬ÄÇô¶àÊýÇé¿öÏ£¬ÎÒÃǵõ½µÄ½á¹û½«ÊÇ"connection time outs"¡£ÁíÒ»·½Ã棬Èç¹ûÎÒÃÇ´ÓÒ»¸ö¼òµ¥µÄ¿Í»§¶ËÓ¦ÓóÌÐòµ÷ÓÃÒ»¸öͬ²½µÄ·þÎñ£¬Ê¹ÓÃ"blocking"µÄ¿Í»§¶ËAPI½«»á½µµÍ¿Í»§¶ËÓ¦ÓóÌÐòµÄÐÔÄÜ¡£ÏÖÔÚÀ´·ÖÎöÒ»ÏÂһЩ³£ÓõķþÎñµ÷ÓÃÐÎʽ¡£
Ðí¶àWeb ServiceÒýÇæÌṩ¸ø¿Í»§BlockingºÍNon-BlockingµÄ¿Í»§¶ËAPIs¡£
1£©Blocking API-Ò»µ©·þÎñ±»ÆôÓ㬿ͻ§¶ËµÄÓ¦ÓóÌÐò½«±»¹ÒÆð£¬Ö±µ½operation±»Ö´ÐÐÍê±Ï£¨±íÏÖΪÊÕµ½Ò»¸öresponse»òfault£©£¬²ÅÄÜÖØлñµÃ¿ØÖÆȨ¡£ÕâÊǵ÷ÓÃWeb Service×î¼òµ¥µÄ·½Ê½£¬²¢ÇÒÕâÖÖ·½Ê½ÊÊÓÃÓÚ¶àÊýÒµÎñÇéÐΡ£
2£©Non-Blocking API-ÕâÊÇÒ»¸ö»Ø½Ð»òÂÖѯ»úÖƵÄAPI¡£Òò´Ë£¬Ò»µ©·þÎñ±»ÆðÓ㬿ͻ§¶ËÓ¦ÓóÌÐòÂíÉϵõ½¿ØÖÆȨ£¬Í¨¹ýʹÓÃÒ»¸öcallback¶ÔÏóÀ´»ñµÃresponse¡£ÕâÖÖ·½Ê½Ê¹µÃ¿Í»§¶ËÓ¦ÓóÌÐò¿ÉÒԺܷ½±ãµÄͬ²½ÆôÓöà¸öWeb Service¡£
ÕâÁ½ÖÖ
Ïà¹ØÎĵµ£º
WindowsϵÄMemcache°²×°£º
1. ÏÂÔØmemcacheµÄwindowsÎȶ¨°æ£¬½âѹ·Åij¸öÅÌÏÂÃ棬±ÈÈçÔÚc:\memcached
2. ÔÚÖնˣ¨Ò²¼´cmdÃüÁî½çÃ棩ÏÂÊäÈë ‘c:\memcached\memcached.exe -d install’ °²×°
3. ÔÙÊäÈ룺 ‘c:\memcached\memcached.exe -d start’ Æô¶¯¡£NOTE: ÒÔºómemcached½«×÷ΪwindowsµÄÒ»¸ö· ......
JAVAÖÐÓÃÓÚ´¦Àí×Ö·û´®µÄ“ÈýÐֵܔ
JAVAÖÐÓÃÓÚ´¦Àí×Ö·û´®³£ÓõÄÓÐÈý¸öÀࣺjava.lang.String¡¢java.lang.StringBuffer¡¢java.lang.StringBuilder£¬ÕâÈýÕߵĹ²Í¬Ö®´¦¶¼ÊÇfinalÀ࣬²»ÔÊÐí±»¼Ì³Ð£¬ÕâÖ÷ÒªÊÇ´ÓÐÔÄܺͰ²È«ÐÔÉÏ¿¼Âǵģ¬ÒòΪÕ⼸¸öÀ඼ÊǾ³£±»Ê¹ÓÃ×ŵģ¬ÇÒ¿¼Âǵ½·ÀÖ¹ÆäÖеIJÎÊý±»ÐÞ¸ÄÓ°Ïìµ½ÆäËüµÄÓ¦Óᣠ......
1.ÄãÐèÒª¾«Í¨ÃæÏò¶ÔÏó·ÖÎöÓëÉè¼Æ(OOA/OOD)¡¢É漰ģʽ(GOF£¬J2EEDP)ÒÔ¼°×ÛºÏģʽ¡£ÄãÓ¦¸ÃÁ˽âUML£¬ÓÈÆäÊÇclass£¬object£¬interactionÒÔ¼°statediagrams¡£
2.ÄãÐèҪѧϰJavaÓïÑԵĻù´¡ÖªÊ¶ÒÔ¼°ËüµÄºËÐÄÀà¿â(collections£¬serialization£¬streams£¬networking£¬?multithreading£¬reflection£¬event£¬handling£¬NIO£¬localiza ......
ÔÚJDK6ÖÐ ,AWTÐÂÔö¼ÓÁËÁ½¸öÀà:DesktopºÍSystemTray,Ç°Õß¿ÉÒÔÓÃÀ´´ò¿ªÏµÍ³Ä¬ÈÏä¯ÀÀÆ÷ä¯ÀÀÖ¸¶¨µÄURL,´ò¿ªÏµÍ³Ä¬ÈÏÓʼþ¿Í»§¶Ë¸øÖ¸¶¨µÄÓÊÏä·¢Óʼþ,ÓÃĬÈÏÓ¦ÓóÌÐò´ò¿ª»ò±à¼Îļþ(±ÈÈç,ÓüÇʱ¾´ò¿ªÒÔtxtΪºó׺ÃûµÄÎļþ),ÓÃϵͳĬÈϵĴòÓ¡»ú´òÓ¡Îĵµ;ºóÕß¿ÉÒÔÓÃÀ´ÔÚϵͳÍÐÅÌÇø´´½¨Ò»¸öÍÐÅ̳ÌÐò.ÏÂÃæ´úÂëÑÝʾÁËDeskt ......