Ok this question is actually 2 sided, I may have to move one aspect to the database forum, but lets see what happens.
I am currently a SC student (part time) and work as a Truck Technician full time. I have a personal project I want to build (on the side) in
Java that will help me and other techs manage our work load, commission time, estimate and even the repair stories. I have been working on things like sketch's of the GUI, Class design on paper, Feature ideas and such for a couple months. Most of this has been on paper, I haven't started any coding yet. I am also researching things that I want to include in my application. This is were my problems comes in.
1. I want to embed a DerbyDB into the application, Can someone offer a good tutorial/guild on this (preferably for Netbeans). I have found quite a few but they are either only partially complete, or don't explain things very well. I am the kid of person that doesn't just want to know how but explain what is happening. I ultimately want to build the DB in the 'services' tab of the project explorer window, build a Java GUI application with that database embedded (I don't want the user to have any hint of a database). If no one knows a good start to finish tutorial maybe a list of how and what I do step by step so I can search for tutorials on each subject.
2. I want my application to have the above mentioned database, but I also want to have a database on the internet, I would ultimately like to have the application update the embedded and also send data to the iNet DB when there is a connection. One idea I had was to build a server application that connects directly to the iNet DB. Every time a client had to access or modify a DB in some way, the client would modify the embedded, then store a list of changes, if the client can connect to the external database then it would send the list to the server, the server application then processed the list. I can see already a problem I am going to have with data integrity. Since I will likely have up to 100 clients, and some clients will share a portion of the data in the DB I will need a way to make sure there is a way to ensure data is not being changed back wards. This problem I have just started thinking about and haven't done ANY research yet, and the above problem needs to be figured first anyway. If anyone knows what path I should be searching for this problem, it would be greatly appreciated.
maybe a solution will be to use a totally different database like SQLLite or something. Any and all suggestions are appreciated. I did just complete my cs2201 Database 1 and CS 2203 Programming 2 and have some experience in programming but only with VB.net (10+ years ago) and experience with building, administering and programming to a DB for website but NO EXPERIENCE in embedded DB. The extent of my experience with DB is mySQL through PHP for websites.
All information would be appreciated!!