Refresh in Client side and Server Push can be performed to refresh automatically when new data is entered into the database.
Servlet