I have created a tutorial on Data Driven testing using Selenium & TestNG in the Eclipse environment on my blog. I have described a very simple but very powerful way of storing & retrieving test data from excel files and and linking them to the test logic in your java test class file. The example given is self containing and very easy to follow. I have used this approach to automate close to 1000 test cases so far.