1. A method of generating code to be deployed in an application server, comprising the steps of: receiving an archive file to be deployed; introspecting an input class included in the archive file to generate information relating to the input class; generating a markup language description of the input class based on the generated information relating to the input class; creating an event handler for method nodes found in the markup language description; registering the event handler; parsing the markup language description and invoking the registered event handler; and generating output code using the invoked event handler.