This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates 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 OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP 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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Address Book