The Defiant is a destroyer, and it was the first of its class, while the Excelsior is, what, a cruiser or battle-cruiser?
And that particular one was heavily upgraded, some of its systems might have been even newer than those on the Defiant, given that it was the flagship of an admiral with...