Depends. If arriving in A then the same distance to take the airtrain as the bus and the certainty of an airtrain every few minutes (unsure how often the bus runs).
If arriving in B then the bus will be shorter.
But really there isn't a big difference, even walking between B and E is not too long.