1. A computer-implemented method for providing asynchronous processing in a page lifecycle, comprising: receiving at a web server a request from a client to load a web page, wherein code for the web page includes an asynchronous operation; wherein the code for the asynchronous operation comprises a first code for beginning the asynchronous operation and a second code for retrieving a result of the asynchronous operation when completed; the web server taking a first thread from a pool of available threads to begin the asynchronous operation; wherein the first thread is any thread that is available within the pool; the web server calling the first code for beginning the asynchronous operation using the first thread, the web server returning the first thread to the pool after the call is initiated and before the result is received in response to the called asynchronous operation; wherein the first thread after being returned is available for use by other processes; the web server waiting for a response that was made by the web server to the called asynchronous operation; if the result is received in response to the called asynchronous operation, the web server taking a second thread from a pool of available threads, using the second thread for calling the second code for retrieving the result of the asynchronous operation, and, the web server providing the result to the requesting web page at the client.