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

Java AnnotationÈëÃÅ

ͻ񻣼
±¾ÎÄÕë¶Ôjava³õѧÕß»òÕßannotation³õ´ÎʹÓÃÕßÈ«ÃæµØËµÃ÷ÁËannotationµÄʹÓ÷½·¨¡¢¶¨Ò巽ʽ¡¢·ÖÀà¡£³õѧÕß¿ÉÒÔͨ¹ýÒÔÉϵÄ˵Ã÷ÖÆ×÷¼òµ¥µÄannotation³ÌÐò£¬µ«ÊǶÔÓÚһЩ¸ß¼¶µÄannotationÓ¦Óã¨ÀýÈçʹÓÃ×Ô¶¨ÒåannotationÉú³ÉjavabeanÓ³ÉäxmlÎļþ£©»¹ÐèÒª½øÒ»²½µÄÑо¿ºÍ̽ÌÖ¡£Éæ¼°µ½ÉîÈëannotationµÄÄÚÈÝ£¬×÷Õß½«ÔÚºóÎÄ¡¶Java Annotation¸ß¼¶Ó¦Óá·ÖÐ̸µ½¡£
ͬʱ£¬annotationÔËÐдæÔÚÁ½ÖÖ·½Ê½£ºÔËÐÐʱ¡¢±àÒëʱ¡£ÉÏÎÄÖÐÌÖÂ۵ͼÊÇÔÚÔËÐÐʱµÄannotationÓ¦Ó㬵«ÔÚ±àÒëʱµÄannotationÓ¦Óû¹Ã»ÓÐÉæ¼°£¬
Ò»¡¢ÎªÊ²Ã´Ê¹ÓÃAnnotation£º
ÔÚJAVAÓ¦ÓÃÖУ¬ÎÒÃdz£Óöµ½Ò»Ð©ÐèҪʹÓÃÄ£°æ´úÂë¡£ÀýÈ磬ΪÁ˱àдһ¸öJAX-RPC web service£¬ÎÒÃDZØÐëÌṩһ¶Ô½Ó¿ÚºÍʵÏÖ×÷Ϊģ°æ´úÂë¡£Èç¹ûʹÓÃannotation¶ÔÔ¶³Ì·ÃÎʵķ½·¨´úÂë½øÐÐÐÞÊεϰ£¬Õâ¸öÄ£°æ¾ÍÄܹ»Ê¹Óù¤¾ß×Ô¶¯Éú³É¡£
ÁíÍ⣬һЩAPIÐèҪʹÓÃÓë³ÌÐò´úÂëͬʱά»¤µÄ¸½ÊôÎļþ¡£ÀýÈ磬JavaBeansÐèÒªÒ»¸öBeanInfo ClassÓëÒ»¸öBeanͬʱʹÓÃ/ά»¤£¬¶øEJBÔòͬÑùÐèÒªÒ»¸ö²¿ÊðÃèÊö·û¡£´ËʱÔÚ³ÌÐòÖÐʹÓÃannotationÀ´Î¬»¤ÕâЩ¸½ÊôÎļþµÄÐÅÏ¢½«Ê®·Ö±ãÀû¶øÇÒ¼õÉÙÁË´íÎó¡£
¶þ¡¢Annotation¹¤×÷·½Ê½£º
ÔÚ5.0 °æÖ®Ç°µÄJavaƽ̨ÒѾ­¾ßÓÐÁËһЩad hoc annotation»úÖÆ¡£±ÈÈ磬ʹÓÃtransientÐÞÊηûÀ´±êʶһ¸ö³ÉÔ±±äÁ¿ÔÚÐòÁл¯×ÓϵͳÖÐÓ¦±»ºöÂÔ¡£¶ø@deprecatedÕâ¸ö javadoc tagÒ²ÊÇÒ»¸öad hoc annotationÓÃÀ´ËµÃ÷Ò»¸ö·½·¨Òѹýʱ¡£´ÓJava5.0°æ·¢²¼ÒÔÀ´£¬5.0ƽ̨ÌṩÁËÒ»¸öÕýʽµÄannotation¹¦ÄÜ£ºÔÊÐí¿ª·¢Õß¶¨Ò塢ʹÓÃ×Ô¼ºµÄannoatationÀàÐÍ¡£´Ë¹¦ÄÜÓÉÒ»¸ö¶¨ÒåannotationÀàÐ͵ÄÓï·¨ºÍÒ»¸öÃèÊöannotationÉùÃ÷µÄÓï·¨£¬¶ÁÈ¡annotaion µÄAPI£¬Ò»¸öʹÓÃannotationÐÞÊεÄclassÎļþ£¬Ò»¸öannotation´¦Àí¹¤¾ß£¨apt£©×é³É¡£
annotation²¢²»Ö±½ÓÓ°Ïì´úÂëÓïÒ壬µ«ÊÇËüÄܹ»¹¤×÷µÄ·½Ê½±»¿´×÷ÀàËÆ³ÌÐòµÄ¹¤¾ß»òÕßÀà¿â£¬Ëü»á·´¹ýÀ´¶ÔÕýÔÚÔËÐеijÌÐòÓïÒåÓÐËùÓ°Ïì¡£annotation¿ÉÒÔ´ÓÔ´Îļþ¡¢classÎļþ»òÕßÒÔÔÚÔËÐÐʱ·´ÉäµÄ¶àÖÖ·½Ê½±»¶ÁÈ¡¡£
µ±È»annotationÔÚijÖ̶ֳÈÉÏʹjavadoc tag¸ü¼ÓÍêÕû¡£Ò»°ãÇé¿öÏ£¬Èç¹ûÕâ¸ö±ê¼Ç¶ÔjavaÎĵµ²úÉúÓ°Ïì»òÕßÓÃÓÚÉú³ÉjavaÎĵµµÄ»°£¬ËüÓ¦¸Ã×÷Ϊһ¸öjavadoc tag£»·ñÔò½«×÷Ϊһ¸öannotation¡£
Èý¡¢AnnotationʹÓ÷½·¨£º
1¡£ÀàÐÍÉùÃ÷·½Ê½£º
ͨ³££¬Ó¦ÓóÌÐò²¢²»ÊDZØÐ붨ÒåannotationÀàÐÍ£¬µ«ÊǶ¨ÒåannotationÀàÐͲ¢·ÇÄÑÊ¡£AnnotationÀàÐÍÉùÃ÷ÓÚÒ»°ãµÄ½Ó¿ÚÉùÃ÷¼«ÎªÀàËÆ£¬Çø±ðÖ»ÔÚÓÚËüÔÚinterface¹Ø¼ü×ÖÇ°ÃæÊ¹ÓÓ@


Ïà¹ØÎĵµ£º

Java ¹ýÂ˲»°²È«×Ö·û

public   static   String   htmlEncode(String   pstrWord)    
  {  
        if((pstrWord   !=   null)&&(pstrWord   !=   ""))  
......

Using Google is AJAX Search API with Java ...

http://www.ajaxlines.com/ajax/stuff/article/using_google_is_ajax_search_api_with_java.php
I was rather depressed over a year ago when Google deprecated their SOAP Search API with their AJAX Search API. Essentially Google was saying that they didn want anyone programmatically accessing Google search ......

JAVA ÅàѵÌâ¿â Spring

Ò»¡¢Spring»ù´¡ÖªÊ¶¼°IOC_Ñ¡ÔñÌâ
1. ÏÂÃæ¹ØÓÚspringÃèÊö´íÎóµÄÊÇ£º£¨ £©
A  SpringÖ§³Ö¿É²åÈëµÄÊÂÎñ¹ÜÀíÆ÷£¬Ê¹ÊÂÎñ»®·Ö¸üÇáËÉ£¬Í¬Ê±ÎÞÐè´¦Àíµ×²ãµÄÎÊÌâ¡£
B  SpringÊÂÎñ¹ÜÀíµÄͨÓóéÏó²ã»¹°üÀ¨JTA²ßÂÔºÍÒ»¸öJDBC DataSource¡£
C  ÓëJTA»òEJB CMTÒ»Ñù£¬SpringµÄÊÂÎñÖ§³ÖÒÀÀµÓÚJava EE»·¾³¡£
D  Spr ......

¹Ø¼ü´Ê¹ýÂËʵÏÖ£¨JAVA TXT£©

http://51jsp.cn/post/23.html
ÏÖÔÚ×öÍøÕ¾Ê×ÏÈ¿¼ÂÇÒ»µã¾ÍÊDz»ÄÜÔÚ×Ô¼ºµÄÍøÕ¾ÖгöÏÖ·Ç·¨µÄ¶«Î÷£¬°üÀ¨Ò»Ð©Ãô¸ÐµÄ´Ê¡£ÏÖÔÚÎÒÃǾÍÀ´¼òµ¥µÄʵÏÖËü£¬ÎªÁ˲éÕҵĿìËÙÔÚÕâÓÃtxtÀ´±£´æÕâЩ·Ç·¨µÄ¹Ø¼ü´Ê¡£Õâ¸öTXTÎĵµÊÇÔÚÍøÉÏÕÒµ½£¬ÏÖÔÚ´«ÉÏÀ´200907261131128065.rar
ÓÃJAVA³ÌÐòʵÏÖ¼òµ¥µÄÌí¼ÓÑéÖ¤¹Ø¼ü´Ê£¬Èç¹û´ó¼ÒҪʵ¼ÊÖÐʹÓã¬Ìí ......

JavaÈýÖÖ·½Ê½½âÎöxml


JavaÀï±ß½âÎöxmlÒ»°ãÓÐÈýÖÖ³£Óõļ¼Êõ£º
1¡¢ Document Object Model (DOM)£¬W3CÀï±ßÒ»ÖÖ³ÉÊìµÄ±ê×¼¡£Ä¿Ç°¹ã·ºÊ¹ÓõĽâÎö¹¤¾ß£ºJDOM DOM4J
2¡¢ Simple API for XML (SAX)£¬µÚÒ»ÖÖ±»¹ã·º½ÓÊܵÄXMLµÄAPI£¬³ÉΪÊÂʵÉϵıê×¼¡£
3¡¢ Streaming API for XML (StAX)£¬ÔÚJSR-173ÖÐÌáµ½µÄÒ»ÖÖºÜÓÐǰ;µÄÐÂÐͽâÎöÄ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ