一個簡單的Timer Service

Web-TimeService用於定時調用(觸發)應用,EJB2.1也提供了TimerService,但如今有的applicationserver不支持,有的就根本沒有用到ejb,因此我寫了一個簡單的TimerSerivce PublicclassTimerService { publicstaticfinallongp=1000*60*60; Timertimer=newTimer(false)
相關文章
相關標籤/搜索