Joined: Tue Mar 27, 2007 10:55 pm Posts: 2277 Location: Earth Has thanked: 39 time Have thanks: 61 time
* Project Name:
Server Names Records * Programmer:msi_333 & karkar * Type:Networks and files * Technology:Java, sockets * IDE:NetBeans * Description:This program will maintain a set of records in a file. The user will be a client which will connect to the server to store or retrieve a name. The client must be a valid user with a name and password pair. The server will return the record if it exists, or store any new record. An administrator will have an ability to create and delete user accounts and to create, modify and delete records. In addition, the server will be able to disable and enable client connections. The clients will only be able to add or query records.
The client and the administrator will be two modules in the program. Each will have its own GUI. A user will log into the server with a user/password pair. An administrator will also log into the server with an administrator name/password pair. The server will NOT need a GUI, but you may create one if you wish. Each record will have a user SS#, first name last name, phone number. A client will open a socket to the server, log in, and request a record by ID or by first and last name. The server will retrieve the record and return it to the client. If the record does not exists, the server will respond accordingly, and the client will display that no such record exists. The client may also add a new record. This operation will always succeed, as long the SS# name is unique, and the user provides info for all fields.
The server will be multithreaded, allowing multiple clients connections. Be sure to synchronize methods which modify the file, such as storing new records. The server will run listeners on two ports: one for clients another for administrators.