1. A method comprising: permitting a portal application to invoke a portlet, the portlet to run inside a portlet container and the portal application to run independently from the portlet container; providing information to the portlet container about the invoked portlet related to a runtime environment of the portal application; and modifying the provided information from the portal application to customize the portlet.