Resurrection and Messiah are interdependent. This is the source of the formula recited in a house of mourning, “May the Almighty comfort you with the other mourners of Zion and Jerusalem.” The comfort for the mourners is the assurance of resurrection which is linked to the Messiah and the Final Redemption. The comfort for the mourners of Zion and Jerusalem is the hope and faith in the revival of Jerusalem and the building of the Beit Hamikdash. So we conclude on Tisha b’Av the megillah of Eichah (Lamentations), “chadesh yomainu kekedem” (renew our days as of old). So, too, is resurrection the renewal as of old. That is the nechama.
Rabbi Maurice Lamm recently wrote a fine book, Consolation, which teaches transcendence of grief through affirmation of life. Judaism basically holds that one overcomes grief by extension and renewal of life – and the knowledge of eternal life.
Yitgadal veyitkadash shmay rabbah – His name shall be hallowed and aggrandized in the world of renewal and the revival of the dead. Biyachaichon uviyamaichon – May it come to pass in your lifetime and in your days.