Last night i started coding a database with java. The way i was going to do it was through netbeans with a database connection to an sql database.
Then i went to school and told my teacher how i was going to do it and he told me that i must strictly use the java language and no sql :/ He told me to use arraylists.
Now i have been reading arraylist from the Java for beginners book by Schilt and seem to have gotten the jist.... but i cannot see how i can build a database with it and use it through a gui.
Basically i want to be able to store for example names in an arraylist that is entered through a textfield and then is saved into the class.
If someone can give me an idea on how i can approach such a task it would be really helpfull.
Thanks for you time.