This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes General Computing and the fly likes A recommended IO system Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » General Computing
Bookmark "A recommended IO system" Watch "A recommended IO system" New topic
Author

A recommended IO system

Greg Reeder
Ranch Hand

Joined: Jun 14, 2011
Posts: 99

Hi,

I am really very new to Java. I am working on non-network application where there are mulitiple users, each with passwords. It is a financial management system with each user having many financial goals, expenditures, and accounts, and each account has many transactions. I first thought that using XML as a information retrieval and saving system would be the best way to goal. I then added the JDOM jars to be able to create and read the XML. This is causing nothing but headache and leading to no success. I am getting errors where I should not be (I have other posts regarding these) as my code is exactly like that of the tutorials. Then when it does work, it does not save the whole xml tree, just what i just added deleting the rest. So, as a general question, what IO system would be best for a program like this? (as said, non-network 1 computer application)?

Thanks in advance,

Greg
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18541
    
    8

When you say "an IO system", am I correct in assuming you want to design a structure or framework in which to store your data?

There are various factors to look at, such as the quantity of data to be stored, the frequency and granularity of changes, whether it will be accessed and updated by multiple users simultaneously, and so on.

Whether it's easy to do the programming for your choice of data structure should not be a primary factor in making the choice.

Based on your brief description, a database would have been higher on my short list of structures than an XML document, but then you only provided a brief description so as an analyst, I would be asking more questions before making a decision. At any rate, this isn't a question about XML so I'm going to find a better home for the question.
 
wood burning stoves
 
subject: A recommended IO system
 
Similar Threads
Fine Tuning the Application
Combination of Java And Networking Job role
testing application
Thousands of Java Jobs Available!
Suggestions for Ranch Office Members