EXHIBIT 99.4 REGISTRATION RIGHTS AGREEMENT This Registration Rights Agreement (this "Agreement") is executed as of June 16, 1998 by Avalon Bay Communities, Inc. (f/k/a Bay Apartment Communities, Inc.), a Maryland corporation (the "Company") and the...