read up on JDBC, and get a real database. If you're not an experienced Java programmer, stay away from EJBs and other enterprise technologies until you know the basics very well. And stay away from IDEs until you can write, compile, and run code by hand.
Thank you my well lotioned goddess! Here, have my favorite tiny ad!