A method for simplifying the development, testing and maintenance of code
objects that may be used, for example, to generate custom web page
content. According to the invention, a developer isolates a given task,
generates code for the task, and then provides a means by which a
page-generating Java servlet can access that code at request time. The
code may be generated at any time, and the servlet preferably is
generated at translation time, i.e. when a request for the page is first
made at a server. In a preferred embodiment, the code for the task is
supported within a given method of a Java tagbean.