This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Java in General and the fly likes Address Book Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Address Book" Watch "Address Book" New topic
Author

Address Book

Angela D'souza
Ranch Hand

Joined: Jan 16, 2002
Posts: 469
Hi,
I'm implementing an address book in which I can add new name and address, edit, delete the specific one. So name and address will be store in the template of javascript and will pass to Java classes. Now I want to store address in a way i can delete easily, i can edit easily or i can allow user to allow same names with different e-mail address.? Should I used Hashtable or LinkedList or something else to store name and addresses?
Thanks,
Angela
Cindy Glass
"The Hood"
Sheriff

Joined: Sep 29, 2000
Posts: 8521
Personally, I would use a Database. They make database maintenance much easier.


"JavaRanch, where the deer and the Certified play" - David O'Meara
Jamie Robertson
Ranch Hand

Joined: Jul 09, 2001
Posts: 1879

Originally posted by Cindy Glass:
Personally, I would use a Database. They make database maintenance much easier.
If your address book is a separate entity ( no relations to other data tables ) and the data volume is low, then you could use
RandomAccessFiles.
Jamie
 
 
subject: Address Book
 
Similar Threads
how to do this?
How to provide password to the prompt through Java
deleting record from rms
Questions regarding Data access class
booking a record