Someone with much better knowledge than me will no doubt give you a good answer, but from what little I do know, then eating an orange is better for you.
Many of the nutrients and goodness found in fruit come from the skin, or just underneath the skin - which is not used when making many fruit juices (like orange).
The pulp of an orange (also usually removed in the juicing process) also is nutritious and good for you.