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

Java д Access ÂÒÂë

Java д Access
1.       ÔÚ±¾µØÖÐÎļÆËã»úÉÏ£¬·¢ÏÖдÖÐÎĵ½accessÉÏ£¬³öÏÖÂÒÂë¡£¶ÁµÄʱºòÒ²ÊÇÂÒÂë¡£
2.       ¶ÁµÄʱºò£¬²»ÄܶÁstring£¬ÏÈʹÓÃbyte¶Á³öÀ´£¬È»ºóÔÙ´´½¨GBK±àÂëµÄString.
3.       ²Î¿¼¶Á£¬¿ÉÄÜдµÄʱºòÒ²ÊDZàÂëת»»µÄÎÊÌ⣬ËùÒÔÒ»Ö±ÔÚ×ö±àÂëת»»£¬¿ÉÊÇÎÞÂÛÈçºÎÒ²²»ÄÜÕýȷдÈë¡£
4.       ¿¼ÂÇÊÇ·ñÊÇ»·¾³ÓÐÎÊÌâ¡£´Ónetbeans6.7.1תÒƵ½ÁËeclipse3.4.2¡£ÎÊÌâÒÀ¾É¡£
5.       µ½ÁíÍâµÄ»úÆ÷ÉÏÈ¥ÊÔÁË£¬ÓкÍÎÒ»úÆ÷ÏÖÏóÏàͬµÄ£¬Ò²ÓÐÕý³£µÄ¡£¼ÈÈ»ÓÐÕý³£µÄ£¬ÄÇô»¹ÊÇ¿ÉÄÜÓÐЩÉèÖá£
6.       ·ÖÎöÁ˰ѹ¤³ÌתΪUTF-8»òÕßGBKʵ¼ÊûÓйØϵ£¬ÒòΪÕâÖ»ÊÇÓ°ÏìjavacµÄ±àÒë¡£Ö»ÒªÔÚjavacµÄʱºòÖ¸¶¨ÁËencoding£¬ÄÇô±àÂë¾ÍûÓйØϵÁË¡£¿ÉÊÇ£¬¹¤³ÌÖ¸¶¨ÎªGBKµÄʱºò£¬²âÊÔ³ÌÐò»¹ÊÇÕý³£ÁË£¬µ«ÊÇ£¬ÎÒÓõÄswing£¬ÆäÇ°¶ËÊÇUTF-8µÄ£¬¶øÇÒÎҵijÌÐòÐèÒª¿¼ÂÇÖÐÈÕÎÄ£¬ËùÒÔÎÒ»¹ÊÇҪʹÓÃUTF-8¡£
7.       ·¢ÏÖ¿ØÖÆ̨ÉÏÖ±½ÓʹÓÃjavaÃüÁ¿ÉÒÔÕý³££¬µ«ÊÇͬÑùµÄµ½IDEÀïÃæ¾Í²»Õý³£¡£¿ØÖÆ̨µÄ±àÂëÊÇGBK¡£
8.       EclipseÀïÃ棬¹¤³ÌÊÇUTF-8£¬µ«ÊÇRun configurations->common->console encodingÀïÃ棬ÓÐÒ»¸öÉèÖ㬰ÑËüÉèΪGBK¾ÍOKÁË¡£
9.       NetbeansÀïÃæûÓÐÕâ¸ö£¬¿ªÊ¼¿¼ÂÇÔÚnetbeans.confÀïÃæʹÓÃ-J-Duser.languageÕâÑùµÄ²ÎÊý£¬µ«ÊÇÆäʵÎÒµÄIDE±¾À´¾ÍÊÇÖÐÎÄÁË£¬ÕâÑù×öûÓÐÒâÒå¡£
10.   ×îºó·¢ÏÖÆäʵÊDZ¾µØJVMµÄ²ÎÊý£¬ÔÚnetbeansÀïÃæµÄÊôÐÔ->ÔËÐÐ->VMÑ¡ÏîÀïÉèÖÓ-Dfile.encoding=GBK”¾ÍOKÁË¡£
×ܽ᣺
¸Ð¾õ¾ÍÊÇÓÐ2¸ö±àÂëÐèÒªÎÒÃÇ¿¼ÂÇ£¬Ò»¸öÊDZàÒëʱºòµÄ£¬Ò»¸öÊÇÔËÐÐʱºòµÄ¡£±àÒëʱºòµÄÆäʵӰÏì±È½ÏС£¬Ö÷Òª¾ÍÊÇΪÁ˹ú¼Ê»¯µÄ×¢Ê͵ȵȣ»»¹ÓÐÔËÐÐʱ£¬¸Ð¾õ¾ÍÊÇODBCдAccessÐèҪʹÓÃÖÐÎĵĻ·¾³¡£


Ïà¹ØÎĵµ£º

javaÉè¼Æģʽ

1¡¢FACTORY£¨¹¤³§Ä£Ê½£©
2¡¢BUILDER£¨½¨Ôìģʽ£©
3¡¢FACTORY METHOD£¨¹¤³§·½·¨Ä£Ê½£©
4¡¢PROTOTYPE£¨Ô­Ê¼Ä£ÐÍģʽ£©
5¡¢SINGLETON£¨µ¥Àýģʽ£©
6¡¢ADAPTER£¨ÊÊÅäÆ÷ģʽ£©
7¡¢BRIDGE£¨ÇÅÁºÄ£Ê½£©
8¡¢COMPOSITE£¨ºÏ³Éģʽ£©
9¡¢DECORATOR£¨×°ÊÎģʽ£©
10¡¢FACADE£¨ÃÅÃæģʽ£©
11¡¢FLYWEIGHT£¨ÏíԪģʽ£© ......

Serializable javaÐòÁл¯

Bean Serializable Interface µÄ½Ó¿ÚÈÃBEAN¿ÉÒÔ´®Ðл¯£¬½«Æä±ä³ÉÒ»¸ö¿É±£´æΪÒÔºóʹÓõĶþ½øÖÆÁ÷¡£µ±Ò»¸öBEAN±»ÏµÁл¯µ½´ÅÅÌÉÏ»òÕßÆäËûÈκεط½£¬Æä״̬±»±£´æÆðÀ´£¬ÆäÖеÄÊôÐÔÖµÒ²²»»á¸Ä±ä¡£ÔÚBEANµÄ¹æ·¶ÖУ¬JSP²¢Ã»ÓÐÒªÇóBEANʵÏÖSerializable½Ó¿Ú¡£µ«ÊÇ£¬Èç¹ûÄúÏ£Íû×Ô¼º¿ØÖÆÄúËù´´½¨µÄ×é¼þµÄserialization½ø³Ì£¬»òÕßÄúÏë ......

javaÓëÍøÂç


1 ÍøÂçͨÐŵı¾ÖÊÊǽø³Ì¼äͨÐÅ¡£   
2 TcpЭÒéºÍUDPЭÒé
TCP£º¿ªÏú´ó£¬ÓÃÓÚ¿É¿¿ÐÔÒªÇó¸ßµÄ³¡ºÏ¡£
TCPµÄ¹ý³ÌÏ൱ÓÚ´òµç»°µÄ¹ý³Ì
UDP£ºÓÃÔÚ¶ÔʵʱÐÔÒªÇó±È½Ï¸ßµÄ³¡ºÏ¡£
UDPµÄ¹ý³ÌÏ൱ÓÚдÐŵĹý³Ì¡£
×¢Ò⣺socketÊÇÌ×½Ó×Ö£¬ipºÍport£¨¶Ë¿ÚºÅ 0~65535¸ö¶Ë¿Ú£¬Ò»¸ö¶Ë¿ÚÖ»ÄÜÓÐÒ»¸ö½ø³Ì£©
3£¬   ......

Javaģʽ֮µ¥Àýģʽ

¼òµ¥µÄ˵µ¥Àý¾ÍÊÇ Ö»ÄÜÓÐÒ»¸öʵÀý£¬ËùÒԵط½Óõ½µÄʵÀý¶¼ÊÇͬһ¸ö¡£
¾ÍºÃÏñ¼ÒÈ˳Է¹£¬×À×ÓÊǵ¥ÀýµÄ£¬´ó¼ÒÓõÄÊÇͬһ¸ö¡£¶øÍëÊǶàÀýµÄ£¬Ã¿È˶¼ÓÐ×Ô¼¸µÄ¡£ ÏÂÃæÊǾßÌåµÄÀý×Ó£º
Javaģʽ֮µ¥Àýģʽ£º
          µ¥Àýģʽȷ±£Ò»¸öÀàÖ»ÓÐÒ»¸öʵÀý£¬×ÔÐÐÌṩÕâ¸öʵÀý²¢ÏòÕû¸öÏµÍ ......

AndroidÖи÷ÖÖJAVA°üµÄ¹¦ÄÜÃèÊö

AndroidÖи÷ÖÖJAVA°üµÄ¹¦ÄÜÃèÊö
2009-09-29 13:05
ÔÚAndroidµÄÓ¦ÓóÌÐò¿ª·¢ÖУ¬Í¨³£Ê¹ÓõÄÊÇJAVAÓïÑÔ£¬³ýÁËÐèÒªÊìϤJAVAÓïÑԵĻù´¡ÖªÊ¶Ö®Í⣬»¹ÐèÒªÁ˽âAndroidÌṩµÄÀ©Õ¹µÄJAVA¹¦ÄÜ¡£
ÔÚÒ»°ãµÄJAVAÓ¦ÓÃÖУ¬Èç¹ûÐèÓÃÒýÓûù´¡Àà¿â£¬Í¨³£ÐèҪʹÓÃÈçϵķ½Ê½£º
import javax.swing.*;
ÒÔÉÏ´úÂë±íʾÁËÒýÓÃJAVAµÄGUI×é¼þSwi ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ