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

JavaÏîÄ¿¿ª·¢¹æ·¶


JavaÏîÄ¿¿ª·¢¹æ·¶
Ò»¡¢Ä¿µÄ   
¡¡¡¡¶ÔÓÚ´úÂ룬Ê×ÒªÒªÇóÊÇËü±ØÐëÕýÈ·£¬Äܹ»°´ÕÕ³ÌÐòÔ±µÄÕæʵ˼ÏëÈ¥ÔËÐУ»µÚ¶þ¸öµÄÒªÇóÊÇ´úÂë±ØÐëÇåÎúÒ׶®£¬Ê¹±ðµÄ³ÌÐòÔ±Äܹ»ÈÝÒ×Àí½â´úÂëËù½øÐеÄʵ¼Ê¹¤×÷¡£ÔÚÈí¼þ¹¤³ÌÁìÓò£¬Ô´³ÌÐòµÄ·ç¸ñͳһ±êÖ¾×Å¿Éά»¤ÐÔ¡¢¿É¶ÁÐÔ£¬ÊÇÈí¼þÏîÄ¿µÄÒ»¸öÖØÒª×é³É²¿·Ö¡£¶øÄ¿Ç°»¹Ã»ÓгÉÎĵıàÂë·ç¸ñÎĵµ£¬ÒÔÖÂÓںܶàʱºò£¬³ÌÐòԱûÓÐÒ»¸ö¹²Í¬µÄ±ê×¼¿ÉÒÔ×ñÊØ£¬±àÂë·ç¸ñ¸÷Ò죬³ÌÐò¿Éά»¤ÐԲ¿É¶ÁÐÔÒ²ºÜ²î¡£Í¨¹ý½¨Á¢´úÂë±àд¹æ·¶£¬Ðγɿª·¢Ð¡×é±àÂëÔ¼¶¨£¬Ìá¸ß³ÌÐòµÄ¿É¿¿ÐÔ¡¢¿É¶ÁÐÔ¡¢¿ÉÐÞ¸ÄÐÔ¡¢¿Éά»¤ÐÔ¡¢¿É¼Ì³ÐÐÔºÍÒ»ÖÂÐÔ£¬¿ÉÒÔ±£Ö¤³ÌÐò´úÂëµÄÖÊÁ¿£¬¼Ì³ÐÈí¼þ¿ª·¢³É¹û£¬³ä·ÖÀûÓÃ×ÊÔ´£¬Ê¹¿ª·¢ÈËÔ±Ö®¼äµÄ¹¤×÷³É¹û¿ÉÒÔ¹²Ïí¡£
    ±¾ÎÄÔڲο¼Òµ½çÒÑÓеıàÂë·ç¸ñµÄ»ù´¡ÉÏ£¬ÃèÊöÁËÒ»¸ö»ùÓÚ JBuilder µÄÏîÄ¿·ç¸ñ£¬Á¦ÇóÒ»ÖÖͳһµÄ±à³Ì·ç¸ñ£¬²¢´ÓÕûÌå±àÂë·ç¸ñ¡¢´úÂëÎļþ·ç¸ñ¡¢º¯Êý±àд·ç¸ñ¡¢±äÁ¿·ç¸ñ¡¢×¢ÊÍ·ç¸ñµÈ¼¸¸ö·½Ãæ½øÐвûÊö¡££¨ÕâЩ¹æ·¶²¢²»ÊÇÒ»¶¨Òª¾ø¶Ô×ñÊØ£¬µ«ÊÇÒ»¶¨ÒªÈóÌÐòÓÐÁ¼ºÃµÄ¿É¶ÁÐÔ£©
¶þ¡¢ÕûÌå±àÂë·ç¸ñ
1¡¢Ëõ½ø
    Ëõ½ø½¨ÒéÒÔ4¸ö¿Õ¸ñΪµ¥Î»¡£½¨ÒéÔÚ Tools/Editor Options ÖÐÉèÖà Editor Ò³ÃæµÄBlock
indentΪ4£¬Tab Size Ϊ8¡£Ô¤´¦ÀíÓï¾ä¡¢È«¾ÖÊý¾Ý¡¢±êÌâ¡¢¸½¼Ó˵Ã÷¡¢º¯Êý˵Ã÷¡¢±êºÅµÈ¾ù¶¥¸ñÊéд¡£Óï¾ä¿éµÄ"{"¡¢"}"Åä¶Ô¶ÔÆ룬²¢ÓëÆäÇ°Ò»ÐжÔÆ룬Óï¾ä¿éÀàµÄÓï¾äËõ½ø½¨Òéÿ¸ö"{"¡¢"}"µ¥¶ÀÕ¼Ò»ÐУ¬±ãÓÚÆ¥¶Ô¡£ JBuilder ÖеÄĬÈÏ·½Ê½ÊÇ¿ªÊ¼µÄ"{"²»Êǵ¥¶ÀÒ»ÐУ¬½¨Òé¸ü¸Ä³ÉÉÏÊö¸ñʽ£¨ÔÚ Project/Default Project Properties ÖÐÉèÖà Code Style ÖÐÑ¡Ôñ Braces Ϊ Next line£©¡£
2¡¢¿Õ¸ñ
    Ô­ÔòÉϱäÁ¿¡¢Àà¡¢³£Á¿Êý¾ÝºÍº¯ÊýÔÚÆäÀàÐÍ£¬ÐÞÊÎÃû³ÆÖ®¼äÊʵ±¿Õ¸ñ²¢¾ÝÇé¿ö¶ÔÆë¡£¹Ø¼ü×ÖÔ­ÔòÉÏ¿ÕÒ»¸ñ£¬È磺if ( ...  µÈ¡£ÔËËã·ûµÄ¿Õ¸ñ¹æ¶¨ÈçÏ£º"::"¡¢"->"¡¢"["¡¢"]"¡¢"++"¡¢"--"¡¢"~"¡¢"!"¡¢"+"¡¢"-"£¨Ö¸Õý¸ººÅ£©¡¢"&"£¨ÒýÓ㩵ȼ¸¸öÔËËã·ûÁ½±ß²»¼Ó¿Õ¸ñ£¨ÆäÖе¥Ä¿ÔËËã·ûϵָÓë²Ù×÷ÊýÏàÁ¬µÄÒ»±ß£©£¬ÆäËüÔËËã·û£¨°üÀ¨´ó¶àÊý¶þÄ¿ÔËËã·ûºÍÈýÄ¿ÔËËã·û"?:"Á½±ß¾ù¼ÓÒ»¿Õ¸ñ£¬ÔÚ×÷º¯Êý¶¨Òåʱ»¹¿É¾ÝÇé¿ö¶à¿Õ»ò²»¿Õ¸ñÀ´¶ÔÆ룬µ«ÔÚº¯ÊýʵÏÖʱ¿ÉÒÔ²»Óá£","ÔËËã·ûÖ»ÔÚÆäºó¿ÕÒ»¸ñ£¬Ðè¶ÔÆëʱҲ¿É²»¿Õ»ò¶à¿Õ¸ñ¡£²»ÂÛÊÇ·ñÓÐÀ¨ºÅ£¬¶ÔÓï¾äÐкó¼ÓµÄ×¢ÊÍÓ¦ÓÃÊʵ±¿Õ¸ñÓëÓï¾ä¸ô¿ª²¢¾¡¿ÉÄܶÔÆë¡£¸öÈËÈÏΪ´ËÏî¿ÉÒÔÒÀÕÕ¸öÈËÏ°¹ß¾ö¶¨×ñÑ­Óë·ñ¡£
3¡¢¶ÔÆë
    Ô­ÔòÉϹØϵÃ


Ïà¹ØÎĵµ£º

JavaÖм¯ºÏÈÝÆ÷ÀàListºÍSetµÄÓ÷¨

ListµÄÓ÷¨
List°üÀ¨List½Ó¿ÚÒÔ¼°List½Ó¿ÚµÄËùÓÐʵÏÖÀà¡£ÒòΪList½Ó¿ÚʵÏÖÁËCollection½Ó¿Ú£¬ËùÒÔList½Ó¿ÚÓµÓÐCollection½Ó¿ÚÌṩµÄËùÓг£Ó÷½·¨£¬ÓÖÒòΪListÊÇÁбíÀàÐÍ£¬ËùÒÔList½Ó¿Ú»¹ÌṩÁËһЩÊʺÏÓÚ×ÔÉíµÄ³£Ó÷½·¨£¬Èç±í1Ëùʾ¡£
±í1  List½Ó¿Ú¶¨ÒåµÄ³£Ó÷½·¨¼°¹¦ÄÜ
´Ó±í1¿ÉÒÔ¿´³ö£¬List½Ó¿ÚÌṩµÄÊʺÏÓÚ×ÔÉíµÄ ......

IBM FileNet Content Java API ¼ò½é

2008 Äê 6 ÔÂ 24 ÈÕ
Ô­ÎĵØÖ·£º http://www.ibm.com/developerworks/cn/data/library/techarticles/dm-0806wangys/
±¾ÎĽéÉÜ IBM FileNet P8 4.0 Platform ÌṩµÄ Content Java API¡£Ê×ÏÈ¶Ô FileNet P8 Content Engine ºÍ API ½øÐиÅÒª½éÉÜ, ²¢ËµÃ÷ÁËһЩ»ù±¾¸ÅÄËæºóÏêϸ½éÉÜÁË FileNet Content EngineÌṩµÄ»ùÓÚ EJB ......

JavaÃæÏò¶ÔÏó±à³Ì˼Ïë µÚÒ»ÕÂ

µÚÒ»Õ              ¸ÅÊö
°æȨÉùÃ÷
´ËÎĵµÓɱ¾È˸ºÔðÕûÀí×ܽᣬ²¢¶Ô¸ÃÎĵµ±£ÓÐÓÐÏÞÔðÈÎȨÀû£¬´ËÎĵµÖ»ÄÜÓÃÓÚѧϰÒÔ¼°½Ìѧ£¬ÇëÎðÓÃ×÷ÉÌÒµÓÃ;£¬Òò´Ë¶ø
²úÉúµÄ·¨ÂÉÎÊÌ⣬±¾ÈËÒ»¸Å²»¸ºÔð¡£ ±¾ÈËÉùÃ÷£¬´ËÎĵµ×ÊÁÏΪ±¾È˽Ìѧ¾­ÑéºÍÍøÂç×ÊÁÏÊÕ¼¯ºÏ²¢Ö®³É¹û ......

java¶¯Ì¬´úÀíÓ¦ÓÃÓÚRMI

¶¯Ì¬´úÀíÊÇÖ¸¿Í»§Í¨¹ý´úÀíÀàÀ´µ÷ÓÃÆäËü¶ÔÏóµÄ·½·¨
¶¯Ì¬´úÀíʹÓó¡ºÏ:
•Ô¶³Ì·½·¨µ÷ÓÃ(RMI)
• 
1.´´½¨Ò»¸öʵÏÖ½Ó¿ÚInvocationHandlerµÄÀ࣬Ëü±ØÐëʵÏÖinvoke·½·¨
2.´´½¨±»´úÀíµÄÀàÒÔ¼°½Ó¿Ú
3.ͨ¹ýProxyµÄ¾²Ì¬·½·¨
newProxyInstance(ClassLoader loader, Class[] interfaces, InvocationHandler ......

Java Annotation ½éÉÜ£¨×ª£©

×÷Õß:cleverpig(×÷ÕßµÄBlog:http://blog.matrix.org.cn/page/cleverpig)
Ô­ÎÄ:http://www.matrix.org.cn/resource/article/44/44055_Java+Annotation+Reflect.html
¹Ø¼ü×Ö:java,annotation,reflect
Ç°ÑÔ£º
ÔÚÉÏƪÎÄÕ¡¶Java AnnotationÈëÃÅ¡·ÖиÅÒªÐԵĽéÉÜÁËAnnotationµÄ¶¨Ò塢ʹÓ㬷¶Î§º­¸Ç½Ï¹ã£¬µ«ÊÇÉî¶È²»¹»¡£ËùÒÔ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ