In current industry environment we have automated tools for performing scheduled task like check development Branch , Trunk for health check of code line for application , Deploy periodically.
There are various tools available in market to perform this job , However , I would list few most used.
Task Needed to be Performed
Take last from version control system , Compile Code , Generate Java Doc , Package the whole application in to Ear , Deploy it on Development or QA Server.
Tools for Build
-Apache Ant , Apache Maven
Tools for Continuous Integration
- Cruise Control , Hudson