Timer for Auction Web Application in Struts2
I want to create a countdown timer in my Auction Site. This countdown timer should keep on counting down in the background for all the auctions. Also, when a user bids on the auction the timer should be incremented by a specific amount. Will setting up a ServletContextListener which has a ScheduledExecutorService which decrements the timer per second for all auctions work for this?
Timer for Auction Web Application in Struts2
===

I want to create a countdown timer in my Auction Site. This countdown timer should keep on counting down in the background for all the auctions. Also, when a user bids on the auction the timer should be incremented by a specific amount. Will setting up a ServletContextListener which has a ScheduledExecutorService which decrements the timer per second for all auctions work for this?