1. A method for controlling how to manage lifecycle tasks of an application on a server, the method being executable by a processor comprising: providing an application lifecycle manager for updating the application executing on the server and managing the lifecycles of different applications; managing, by the application lifecycle manager, lifecycle tasks of the application on the server; receiving, through an interface of the application lifecycle manager, a package for updating the application on the server, wherein the interface is compatible with a plurality of application types and the package includes a script representing one or more of the lifecycle tasks and context information for carrying out the script; wherein the package includes configuration schema and dependency data; and identifying a type of the lifecycle task to perform, wherein the type of lifecycle task includes a provisioning lifecycle task, a start service lifecycle task, a restart service lifecycle task, a data backup lifecycle task, or a data restore lifecycle task; invoking, by the application lifecycle manager, the script in the package to perform the one or more of the lifecycle tasks for the executing application on the server; receiving, through the interface, an arbitrary command and corresponding configuration data for carrying out the arbitrary command; applying, by the application lifecycle manager, the arbitrary command and the corresponding configuration data to a property template to generate a property file; instantiating, by the application lifecycle manager, the property template with configuration values into the property file to execute commands that include a restart command for the application to restart; and providing, by the application lifecycle manager, the property file to the executing application on the server for the application to carry out the arbitrary command according to the property file.