The Xeon processor is designed for much greater parallel loads. Most people will say the 3770 is better because they're talking about it in regards to gaming. Which only really needs decent IPC and a few (see: 2-4) cores.
It's not that either one is better. They're just designed for different jobs.
that is because xeon is the server end processor and it offers
higher memory support 750 gb vs 32 gb of the i7,
higher memory band width 42.6 vs 25.6 for i7
4 memory channels vs 2 in the i7.
xeon offers 40 PCIE 3.0 express lanes and the i7 offers 16.
not to mention 15 mb l3 in xeon vs 8 in i7