public function lookupProxy($lookupName)
    {

        // initialize the remote method call parser and the session storage
        $sessions = new ArrayList();

        // initialize the local context connection
        $connection = new DoctrineLocalContextConnection();
        $connection->injectSessions($sessions);
        $connection->injectApplication($this->getApplication());

        // initialize the context session
        $session = $connection->createContextSession();

        // set the session ID from the environment
        $session->setSessionId(Environment::singleton()->getAttribute(EnvironmentKeys::SESSION_ID));

        // lookup and return the requested remote bean instance
        return $session->createInitialContext()->lookup($lookupName);
    }