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

J2EE·Ö²ãÉè¼ÆÊÇJavaÆóÒµÓ¦ÓõÄ×î»ù±¾µÄÉè¼Æ˼Ïë¡£


 
´Ó×î³£¹æµÄ·Ö²ã½á¹¹À´Ëµ£¬ÏµÍ³²ã´Î´ÓÉϵ½ÏÂÒÀ´ÎΪ£º
 
±íÏֲ㣺Ö÷ÒªÊÇ¿Í»§¶ËµÄչʾ¡£
 
·þÎñ²ã£ºÖ±½ÓΪ¿Í»§¶ËÌṩµÄ·þÎñ»ò¹¦ÄÜ¡£Ò²ÊÇϵͳËùÄܶÔÍâÌṩµÄ¹¦ÄÜ¡£
 
ÁìÓò²ã£ºÏµÍ³ÄÚµÄÁìÓò»î¶¯¡£
 
DAO²ã£ºÊý¾Ý·ÃÎʶÔÏó£¬Í¨¹ýÁìÓòʵÌå¶ÔÏóÀ´²Ù×÷Êý¾Ý¿â¡£
 
ÆäÖÐÓÐЩָµ¼Ô­Ôò£º
 
1¡¢Éϲã×ÜÊÇÒÀÀµÆäϲ㣬ÒÀÀµ¹Øϵ²»¿ç²ã¡£
2¡¢±íÏֳɳýÍ⣬ͬһ²ãÖ®¼ä·½·¨²»ÔÊÐíÏ໥µ÷Óá£ÕâÊÇʵ¼Ê¿ª·¢ÖÐһЩ¿ª·¢ÕßÈÝÒ×·¶µÄ´íÎó£¡Èç¹ûÕæÊÇͬһ²ãÖ®¼ä´æÔÚ·½·¨µ÷Óã¬ÐèҪעÒ⣬ÕâЩµ÷Óö¼ÊÇһЩÉϲ㲻¿É¼û·½·¨£¬±ÈÈçһЩ¹¤¾ß·½·¨µÈ¡£
3¡¢Ò»ÇдӷþÎñ²ã³ö·¢£¬´ÓϵͳÐèÒªÌṩµÄ¹¦ÄܽøÐзÖÎö£¬È·¶¨Service½Ó¿ÚÖеķ½·¨¡£¶ø²»ÊÇ´ÓÊý¾Ý¿âµÄ±í³ö·¢£¬´´½¨DAO£¬ÔÙ´´Domain£¬È»ºóService£¬Õâʵ¼ÊÉÏÊǶÔϵͳ·Ö²ãµÄÎó½â¡£
4¡¢ÏµÍ³×îºËÐĵÄÉè¼Æ¾ÍÊǽ«ÏµÍ³ÖеÄʵÌå»®·ÖΪÁìÓòÄ£ÐÍ¡£ÔÚ´Ë»ù´¡ÉÏÉè¼ÆÊý¾ÝµÄDAO²ã£¬²¢½«ÕâЩ»î¶¯±©Â¶¸ø·þÎñ²ã£¬·þÎñ²ãµÄʵÏÖÒÀÀµÓÚÁìÓò»î¶¯¡£
5¡¢Ã¿¸ö½Ó¿ÚµÄÖ°Ôð·¶Î§Ã÷È·Óн硣
 
ÎļþÃû³Æ:
Action(±íÏÖ²ã)
Domain(ÁìÓò²ã,Ò»Õűí¶Ô¾ÍÒ»¸öÁìÓòÄ£ÐÍ)
Service(·þÎñ²ã)
Persistence(³Ö¾Ã²ã,Ò²¾ÍÊÇDAO²ã)
Util(´æһЩ³£ÓõŤ¾ßÀà)


Ïà¹ØÎĵµ£º

JAVA²Ù×÷windows¹²ÏíĿ¼

1 Ïà¹Ø֪ʶ½éÉÜ
1.1 SMB
      MicrosoftÍøÂçÅäÖÃÖÐÖ÷Òª²ÉÓÃSMBÐÎʽʵÏÖÎļþ¹²ÏíºÍ´òÓ¡·þÎñ£¬SMB£¨·þÎñÆ÷ÏûÏ¢¿é£©ÊÇÒ»ÖÖ¿Í»§¶Ë/·þÎñÆ÷Îļþ¹²ÏíЭÒé¡£IBMÓÚ20ÊÀ¼Í80Äê´úÄ©ÆÚ¿ª·¢ÁË·þÎñÆ÷ÐÅÏ¢¿é£¨SMB£©£¬ÓÃÓڹ淶¹²ÏíÍøÂç×ÊÔ´£¨ÈçĿ¼¡¢Îļþ¡¢´òÓ¡»úÒÔ¼°´®Ðж˿ڣ©µÄ½á¹¹¡£ÕâÊÇÒ»ÖÖÇëÇó/ÏìӦЭÒé¡£ÓëFT ......

think in javaµÚÊ®ÎåÕ¹ØÓÚÍøÂç±à³ÌµÄ¶ÁÊé±Ê¼Ç

      ¶ÔÓÚjavaµÄÍøÂç±à³ÌÊéÖÐÌÖÂÛµÄÈ«²¿¹éÄÉÆðÀ´ÓÐSocketµÄʹÓã¬DatagramSocketµÄʹÓã¬javaÓëCGIµÄÅäºÏʹÓã¬javaÁ¬½ÓÊý¾Ý¿âÒÔ¼°javaÖе÷ÓÃÔ¶³Ì·½·¨¡£
     
Ê×ÏÈÊÇSocketµÄʹÓ㬶ÔÓÚ·þÎñ¶ËÀ´Ëµ£¬Ó¦¸ÃÉùÃ÷µÄÊÇServerSocket¶ÔÏó£¬È»ºóʹÓÃSocket
accept()·½·¨½øÐÐ ......

javaÖÐStirngÀàµÄÉ

³£¿´µ½ºÜ¶àÈËÌÖÂÛjavaÖйØÓÚStringµÄÎÊÌâ,ÎÒÒ²¾ÍÓеãÐËȤÁË,¼øÓÚÍøÉϺܶàÈËдµÄ¶¼²î±ðºÜ´ó,
ͬÑùµÄÎÊÌⶼÊDz»Í¬µÄ˵·¨,ÎÒºÜÃÔºý,»¨ÁËÒ»ÍíÉ϶ÁÁËJava Virtual Machine SpecificationºÍ
The Java Language SpecificationµÄһЩÕ½Ú,×öÁ˺ܶàÊÔÑé,×ܽáÁËһϹØÓÚStringµÄÄÚÈÝ,»¹
ÓкܶàÄÚÈÝÎÒÒ²²»È·¶¨,ÔÚÏÂÃæÒ²¶¼Ìá³öÀ´ÁË,Ï ......

JavaϵÁн̳ÌĿ¼±í¡¾¶þ´Î¸üС¿

¡¾ÎªÁËÈöÁÕß¿´ÆðÀ´±È½ÏÓнṹ£¬ÎÒ×Ô¼ºÄâÁËÒ»·ÝÍêÕûµÄÌá¸Ù£¬¶øÇÒΪÁËʹµÃ¶ÁÕßÒ»±ßѧϰÀíÂÛÒ»±ßѧϰÏà¹Ø´úÂëÄÚÈÝ£¬ÀïÃæ90%µÄ´úÂëÎÒ¶¼ÌṩÁËÍêÕûµÄ´úÂëDemo£¬Ö±½Ó¼üÈë¹ýºóÓ¦¸Ã¾Í¿ÉÒÔÔËÐУ¬¶øÇÒÀïÃæËùÓеÄÖصãÎÒ¶¼±ê×¢³öÀ´ÁË£¬Ö÷ÒªÊÇ·½±ã¶ÁÕß²»»áÒÅ©µô¹Ø¼üµÄ֪ʶµã£¬ÒÔ¼°´úÂëµÄ×ÅÉ«£¬Ö÷ÒªÊÇΪÁË·ÀÖ¹¶ÁÕßÊÓ¾õÆ£ÀÍ¡£Ð»Ð»¸÷λָµ ......

JAVA¶ÁÈ¡CSV

Ê×Ïȵ½¸Ãhttp://ostermiller.org/utils/download.html µØÖ·ÏÂÔØcom.Ostermiller.util cvsµÄjar°ü¡£
public class CsvFileParser{
private LabeledCSVParser csvParser;//csv½âÎöÆ÷£¬¶ÔÓÚµÚÒ»ÐеıíÍ·ÐÅÏ¢£¬×Ô¶¯¼ÓÔØΪË÷Òý¹Ø¼ü×Ö
private int currLineNum = -1;//ÎļþËù¶Áµ½ÐÐÊý
private String[] currLi ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ