Now with the address book design out of the way and we now have a goal - We move on to our Netbeans IDE. We are going to do almost everything using Netbeans, so we need to setup Netbeans for our development work.
Now you should be looking for a tab on the left side where it says Services. Click on it and you should see a tree structure with database on it.
Right-click on the database item and you should see Register MySQL Server. It should be fairly start forward from here.
The reason for this will become apparent later when we do the DAO section for this Tapestry5 tutorial.
Now with our database done and Netbeans recognizing it, we move on to Maven2.
Netbeans6.7 already has Maven in it. And you could just use it right away. Technically, you could safely skip this part.
For the rest of you who want to get "Mavenized"- AMEN! And accept Maven as your savior for your software development woes - AMEN! Be ready to be baptized!(say it like an evangelist preaching to a crowd)
*Turning off my preachers voice now. Lolz.
Anyway, the first step is to get acquainted with Maven, so get to its website. You see that Maven is a software project management and comprehension tool. Which simply means it manages builds, generate reports, maintains and if necessary download dependencies (and it also does other cool stuff like making toast and do the dishes). Dependencies here would mean software libraries like that MySQL driver you would need in order for your Java program to talk to a MySQL server.
Now when you are in the Maven website, do the installation guide and you might also want to do the Maven in 5 Minutes document.
Go to tools -> options -> miscellaneous -> maven to verify the detected local Maven2 installation.
Netbeans will start creating an index of the Maven central repository; it takes a while.
Remember, Maven only works if there's an internet connection.
Nice, with all of that done we should be all set to do some weaving.