• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

The best way to store user data

 
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am writing a web calander and contact manager app. The delima is how to store the data. I want a flexible method that will allow me to store data for as little as five users to systems as much as 50 users or possibly more. For larger systems I think it's a no brainer to have the system talk to a database server. but for smaller enviroments I such as only five people on a system I have been toying around with the idea of storing data into an XML document. One for contacts and another for calendar data such as appointments. However XML documents seem as if they can be quite touchy when updating data. If the power were to be roved on the device storing the data and it was halfway through updating the document it could destroy the integrety of the XML document and cause problems. I know the wonderful thing about XML documents is that everything is human readable but I like the integrety of the data to be as sound as possible.
Just looking for opinions.
 
Ranch Hand
Posts: 1209
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i guess people use LDAP Server to store user information.
you might want to check out iplanet's LDAP server.
Might be a good exercise and you w'd end up learning JAAS and LDAP
IPlanet Directory Server
good luck.
 
author
Posts: 621
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
There are also some xml-based "relational db's" kicking around. Basically, you're storing your info as xml text files but the interface gives you basic relation db update, create, delete, etc type funcitonality. Don't know the particulars - I just recall seeing a couple of implementations recently.
Sean
 
Kevin Fonner
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
We'll I hate to run any type of data server because on the smaller scale I am trying to keep it quite efficient with memory. I have been tossing the idea of some type of jdbc-xml driver but havn't seen a economical way (low or no licensing fee) of utilizing this method yet.
 
Sean MacLean
author
Posts: 621
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Check this out.
http://xml.apache.org/xindice/
Sean
 
Kevin Fonner
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I found this!!
http://www.fawcette.com/javapro/2001_12/magazine/features/jodonahue/default_pf.asp
I think it could work...
 
There are 10 kinds of people in this world. Those that understand binary get this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic