ABSTRACT
More and more developed in the network today, people rely on more and more
networks, and can not leave with out it. This caused the chat materials become more
numerous, as the overseas ICQ system, the OICQ system that invented by Tencent Co., and
so on. So we create a network chat medium just like the QQ.Java is a programming
language with the simple construction which is completely object-oriented 。 Java also
possess the portability, high performance and security, and provide the multi – thread
function. The best success is its and its strong network programming function, base on this,
I will use Java to write a network chat system.
Firstly, the paper discussed the development background of the system, and made a
briefly introduction to the development tool and key technologies. Then analyzed the
system’s research significance , research present situation and project objective .According
to the requirement analysis and feasibility analysis ,it can confirm the system’s functional
module and draw corresponding functional configuration chart ,module chart and data
stream chart. On the basis of the result of system designing, the paper design database by
structured design method.
Generally speaking, most chat medium consist the client program, server program and
the server which is use to content the database. This system adopt client/server pattern and
the Socket class provide by Java to communicate the client and server. Because of chat is
many to many, the multithreading function can implement the many-many chat, database
management system use SQL Server2000 and JDBC-ODBC bridge to visit the database.
When chat system is achieved, it can possess functions like chat in a many-many way, add
and delete the intimate, the new user’s registration, and sending and receiving message,
transferring files and so on. The refinement of interface designing would facilitate user
operation and understanding. The contact surface has the thin differentiation designs;
modules have realized the functions such as inquiry, revision and so on. The logic
relationship in this program is closed.
Keyword: Java, Multithreading, Client/Server, SQL Server2000,
Database Management System