资源描述:
《用户手册20071356002孔雷》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、DissertationProposalInstantMessagingsoftwareUserManualSubmittedToSchoolofComputerandSoftwareNanjingUniversityofInformationScience&TechnologyDecember2010SupervisedByWangHaibinStudentName:KongLeiStudentNumber:2007135600271.OperatingenvironmentInstantmessagesystemincludethreeparts:databasepart,serv
2、erpart,clientpart.SystemrunenvironmentasfollowOperatingsystem:WindowsXPDatabase:MysqlProgramlanguage:javaProgramenvironment:eclipse2.StartupdatabaseFirstwestartthemysqldatabase(ifyoudonotinstallthedatabase,youcouldgotothewebsite)Clickthestartbutton,selectallprogram,chooseMysql->MySQLserver5.1->M
3、ySQLCommandlineclient.Asfigure.YouwillopentheMySQLCommandLineClient,youarerequiredtoenterthepassword.Enterthepasswordsuchas“konglei”.Sowestartupthedatabase.Thebeginningtitlestringchangedinto“mysql>”7Inputthecommand“showdatabase”toviewthedatabaseinformation.Chatroomdatabaseisours,soweneedtochoose
4、thisdatabase.Input“usechatroom”command,itwillshowyouthat“Databasechanged”,soyouhaveenteredthechatroomdatabase,soafterthisoperation,allyouroperationarebasedonthisdatabasedirection.Inthisdatabase,omlyonetable,tableuserisuseful,weusethecommand”select*fromuser”toselectallrecordsfromtableuser,sowecou
5、ldviewallrecordsinformationintableuser.Alltherecordsintableareregisteredusers,theycouldloginthesystem.73.StartupthesystemDownloadtheeclipsefromthewebsiteandinstallit,cliecktheeclipseiconandweshallentertheeclipse.Choosetheworkplacepathofeclipse:Afterweenteredtheeclipse,createajavaproject‘cr’andim
6、porttheprojectcontent.Thefigureis7thetreecontentofthisproject.Nextweneedtostarttheserversowerunthechatroomserverclass.Afterwehavestartedtheserverside,wecouldstarttheclienttheclientside.Weruntheloginframe7Enteredsystem,thisisthemainframeofthesystem,consistsofgroupchatroomarea,privatechatroomarea,
7、inputtextfield.anduserlist.77