1. A method of automatically generating code to be deployed in an application server, comprising the steps of: receiving an archive file to be deployed, wherein the archive file includes at least one input class; introspecting an input class included in the archive file, wherein introspecting the input class included in the archive file includes automatically generating information relating to the input class by extracting information identifying methods included in the input class; and for each method, extracting information relating to parameters of the method including at least a name and a type of each parameter; automatically generating a markup language description of the input class based on the extracted information identifying methods included in the input class; and for each method, the extracted information relating to parameters of the method including at least a name and a type of each parameter; creating an event handler that leverages multiple templates for a method node found in the markup language description; registering the event handler; parsing the markup language description and invoking the registered event handler; and automatically generating output code using the invoked event handler in parallel.