I need to build a system in Java, to keep machine breakdown records. But this has become a bit complex for me.
The requirement is like this.
When entering a breakdown record, the user should be able to select a machine (say from a combobox). When a machine is selected, a combo box will appear below to show the sections of the machine. Once a section is selected, if the selected section has subsections, another combo will show those subparts... This goes like that until we come to the expected final part of interest. Then only the user can enter some description about the breakdown..
I hope that part is clear.
Then there's another requirement, searchability. It is also similar to above. Records should be able to search under all the above fields. That means, if a machine has several levels of subsections, we should be able to search under all those levels...
I've built a system to deal with machines having two levels of subsections. But that's not doing the job. So I've started over (several times :D)..
I'm using SQLExpress 2008
. But I'm not much experienced with that. Since I don't know how to use SQLExpress to handle that nested/tree structured data. I've thought of using XML. Yeah, it's a bit ugly because other than the database I've to maintain a folder of XML files containing nested data. I thought I've done that.. until I remember about searching requirement.. :(
Finally, I gave up. And suddenly remembered the forum! Can someone help me with this. This is a training project assigned to me. I like programming, but I don't have that much of advanced knowledge/experience. This dynamic nature and the requirement to handle nested data confuses me.
Any help is greatly appreciated. Thanks!