I am developing a Java web site. It gets the data from
I have to get data using its API and fill out the database in one session.
But, I need to deploy this process on time. This means, for the first time when I deploy the web, it fills the entire database and then fills the data in every session of the time.
What steps should I follow?
that populates the database and works in the method.
If the listener is configured in your web Xml, the servlet container will start the context of your listener (start) method when the webpage will begin.
Comments
Post a Comment