Total members 10259 | Gratitudes |It is currently Mon May 21, 2012 4:12 pm Login / Join Codemiles


All times are UTC [ DST ]




Post new topic Reply to topic  Quick reply  [ 1 post ] 
Author Topic
 Topic subject: Server Names Records
PostPosted: Mon May 26, 2008 1:38 pm 
Offline
Mastermind
User avatar

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.


Attachment:
page1.gif
page1.gif [ 9.15 KiB | Viewed 1303 times ]

Attachment:
page2.gif
page2.gif [ 14.78 KiB | Viewed 367 times ]


Attachments:
File comment: NetBeans projects (Server + client )
5A.zip [111.22 KiB]
Downloaded 212 times

_________________
Currenlty programming with : java , html , php , and javascript . (OCJP-6 certified )
TOP
 Profile Send private message  
Reply with quote  
Post new topic Reply to topic Quick reply  [ 1 post ] 
Quick reply


  


 Similar topics
 Search records from text file
 how to connect client on one machine with server
 client server client
 Ajax Source code to Suggest application with JSP Server side
 RMI EXAMPLE FOR CLIENT SERVER ARCHITECTURE CODE ?????
 client server problem
 HELP CONNECT SQL SERVER 2005 WITH PHP 5.2.6
 Accessing files in remote server (unix/windows) using JSP
 print all files names in folder
 Client-Server Forum discussion

All times are UTC [ DST ]


Users browsing similar posts

Users browsing this forum: No registered users and 1 guest



Jump to:  
Previous Topic | Next Topic 




Home
General Talks
Finished Projects
Code Library
Games
Tutorials

Java
C/C++
C-sharp
php
Script
JSP/Servlets
Ajax
ASP/ASP.net
Google SEO
Database
Communications
Phpbb3 styles
Photoshop tutorials
Flash tutorials
Find a job






Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
All copyrights reserved to codemiles.com 2007-2011
mileX v1.0 designed by codemiles team