ÕÐƸÒøÐÐÏîÄ¿JAVA¿ª·¢¹¤³Ìʦ
Ö÷ÒªÊÇ×ö¸÷µØÒøÐеÄÍâΧϵͳ£¬ÀýÈçµç×Ó»ãƱ¡¢·´Ï´Ç®ÏµÍ³µÈ£¬ÓÐÐËȤµÄ¿ÉÒÔ¼ÓÎÒQQ£¨429177125£©¾ßÌåÁÄ£¬ÃæÊԵصãÔÚ±±¾©Êк£µíÇøκ¹«´å¡£
¾ßÌåÈçÏ£º
Java¹¤×÷¾Ñ飬2-3Äê
ÈíÐÔÒªÇó£º ÒÔϹ¤×÷¾ÑéÖ®Ò»ÕßÓÅÏÈ¡£1¡¢ ÓÐÒøÐй¤×÷¾Ñ飻2¡¢ ÓеçƱ/Ʊ¾ÝÒµÎñ»ù´¡£»3¡¢ÊìÁ·Ê¹ÓÃrose»òÆäËûÐèÇó·ÖÎö¹¤¾ß¡£
×îÖØÒªµÄÊÇÒªÄܹ»¾¡¿ìµ½¸Ú£¨£±ÖÜÄÚ£©£¬ÁíÍ⻹ÐèÒª³ö²î
ÆÕͨjava¿ª·¢¹¤³Ìʦ
Ò»¡¢¾ÑéÒªÇó
1¡¢ÖÁÉÙÁ½ÄêÒÔÉÏÒøÐÐÁìÓòϵͳ¿ª·¢¾Ñé¡£
2¡¢ÓÅÏÈ¿¼ÂÇÓµÓÐÒøÐеç×Ó»ãƱ,ºó¶½¿ª·¢¾ÑéµÄ¼¼ÊõÈËÔ±¡£
3¡¢ÓÅÏÈ¿¼ÂÇÔÚÒøÐÐ×ÜÐлò¸÷·ÖÐÐÓпª·¢»òʵʩ¾ÑéµÄ¼¼ÊõÈËÔ±¡£
¶þ¡¢¼¼ÊõÒªÇó
1¡¢ÊìϤLinux²Ù×÷ϵͳµÄ»ù±¾²Ù×÷¡£
2¡¢ÊìϤJavaScript¡¢CSS¡¢HTMLµÈWEB ¿ª·¢Ïà¹Ø¼¼Êõ¡£
3¡¢ÊìÁ·ÕÆÎÕJ2EE¼¼Êõ¼Ü¹¹£¬¾«Í¨SSH¿ª·¢Ä£Ê½¡££¨Struts2.0+Spring2.5+Hibernate3.2£©
4¡¢¾«Í¨SQL£¬ÊìϤ»ùÓÚDB2Êý¾Ý¿âµÄ´æ´¢¹ý³Ì¿ª·¢¼¼Êõ¡£
5¡¢ÊìÁ·Ê¹ÓÃTomcat5.5¡¢Websphere6.1½øÐÐÓ¦ÓóÌÐòµÄ¿ª·¢¡¢µ÷ÊÔ¼°²¿Êð¡£
6¡¢ÊìÁ·Ê¹ÓÃEclipse¡¢MyEclipse¿ª·¢¹¤¾ß¼°SVNÐͬ¿ª·¢»·¾³¡£
Èý¡¢ÆäËû×ÛºÏÒªÇó
1¡¢×¨¿Æ»òÒÔÉÏѧÀú¡£
2¡¢Á¼ºÃµÄ¹µÍ¨¼°Ðµ÷ÄÜÁ¦¡£
3¡¢½ÏÇ¿µÄѧϰºÍ·ÖÎöÄÜÁ¦¡£
Ïà¹ØÎĵµ£º
¹ØÓÚ¼Ó½âÃÜJAVAÒ»°ãʹÓõÄJCE£¬¹ØÓÚC++¿ÉÒÔʵÏÖAES¼Ó½âÃܵĿªÔ´ÏîÄ¿¾Í¶àµÄÊý²»Ê¤ÊýµÄ¡£
ÀíÂÛÉÏÉÏËã·¨Ò»Ñù£¬¶Ô³ÆÃÜÔ¿Ò»Ñù¾ÍÄܹ»»¥Ïàʶ±ðÁË¡£
ÏàÐźܶàÈË¿ªÊ¼Ïë·¨¶¼Í¬ÎÒÒ»Ñù£¬Æð³õÎÒJAVAÓÃJCE£¬C++ʹÓÃopenssl¡£
½á¹û·¢ÏÖ¼ÓÃܳöµÄÃÜÎÄÍêÈ«²»Ïàͬ¡£
³öÏÖÎÊÌâ¾ÍÒª½â¾ö
Á˽âÁËÒ»ÏÂJCE£º
JC ......
ÕâÊÇÒ»¸ö¼òµ¥µÄ¶ÁÈ¡ÎļþµÄ´úÂ룬²¢ÊÔ×ŶÁÈ¡Ò»¸ölogÎļþ£¬ÔÙÊä³ö¡£
import java.io.*;
public class FileToString {
public static String readFile(String fileName) {
String output = "";
File file = new File(fileName);
if(file.exists()){
......
FileÀà
Ò»¸öFileÀàµÄ¶ÔÏ󣬱íʾÁË´ÅÅÌÉϵÄÎļþ»òĿ¼¡£
FileÀàÌṩÁËÓëƽ̨Î޹صķ½·¨À´¶Ô´ÅÅÌÉϵÄÎļþ»òĿ¼½øÐвÙ×÷
Á÷ʽI/O
Á÷(Stream)ÊÇ×Ö½ÚµÄÔ´»òÄ¿µÄ¡£
Á½ÖÖ»ù±¾µÄÁ÷ÊÇ£ºÊäÈëÁ÷(Input Stream)ºÍÊä³öÁ÷(Output Stream)¡£¿É´ÓÖжÁ³öһϵÁÐ×ֽڵĶÔÏó³ÆΪÊäÈëÁ÷¡£¶øÄÜÏòÆäÖÐдÈëһϵÁÐ×ֽڵĶÔÏó³ÆΪÊä³öÁ÷¡£
Á÷µ ......
×î½üÏë¶ÔÓÚwikiϵͳµÄÔ´´úÂëÑо¿ÏÂ
jspwikiÊÇÒ»¸ö²»´íµÄwikiÒýÇ棬´¿jsp/servletдµÄ¡£JSPWiki²»Ê¹ÓÃÏֳɵÄÊý¾Ý¿â¹ÜÀíÈí¼þ£¬ËùÓеÄÎļþÒÔÎı¾ÎļþµÄÐÎʽ´æ·Å¡£ËüÀûÓÃÀàËÆCVSµÄ»úÖƱ£Ö¤ÁËÎļþ°æ±¾µÄÍêÕûÐÔ¡£Ö§³ÖÖÐÎÄ£¬Ö§³Ö°æ±¾±È½Ï¡¢È¨ÏÞ¹ÜÀíµÈ¹¦ÄÜ£¡
ÏîÄ¿Ö÷Ò³£º http://www.jspwiki.org/
ÎĵµµØÖ·£º  ......
1.Duplicated Code
´úÂëÖظ´¼¸ºõÊÇ×î³£¼ûµÄÒìζÁË¡£ËûÒ²ÊÇRefactoringµÄÖ÷ҪĿ±êÖ®Ò»¡£´úÂëÖظ´ÍùÍùÀ´×ÔÓÚcopy-and-pasteµÄ±à³Ì·ç¸ñ¡£ÓëËûÏà¶ÔÓ¦OAOOÊÇÒ»¸öºÃϵͳµÄÖØÒª±êÖ¾¡£
2.Long method
ËüÊÇ´«Í³½á¹¹»¯µÄ“ÒŶ¾”¡£Ò»¸ö·½·¨Ó¦µ±¾ßÓÐ×ÔÎÒ¶ÀÁ¢µÄÒâͼ£¬²»Òª°Ñ¼¸¸öÒâͼ·ÅÔÚÒ»Æð¡£ ......