help
I have got this exercise and would be thankful if somebody could point me in the right direction .
Create a servlet that displays a list of customers (From the customer table of the database). Use the HTML table to organize the display.
Hint: Use a Java Bean, e.g. CustomerBean that has the fields of 慒irst Name? 慙ast Name?and 慏ate of Birth? And when the query returns the result set, you will need to populate each CustomerBean and add them to an ArrayList. Then return the collection object to the servlet, loop through the collection and display the result.
I have learnt to display data in an html table directly from a servlet connected to a database via jdbc. But I do not understand how to use a JavaBean to attain that as advised in the 'hint'.

