1. A computer-implemented method of enabling two-way communication in a portal framework, comprising: locating in a registry, by a portal, a registered interface specification for a portlet, the interface specification defining one or more operations available from the portlet; and invoking, by the portal, one of the defined operations of the located interface specification to inform the portlet of an identifier of the portal, such that the portlet can use the identifier of the portal to locate a registered interface specification that defines one or more operations available from the portal and then invoke one of the defined operations of the portal.