When you click the add button, 'post' (doPost of
servlet will be executed) your form.
The parameters you selected (resource, start date and end date) will be in request object.
Parse the request to get the value for each parameter and store it in a bean.
Pass the bean to hibernate for persistence.
Do I build an ArrayList and Pass to the selct then refresh the table and add a row after I hit the Add button?
Are you using the arraylist for caching the data? If yes the bean can go in Arraylist before persisting.