2 ceiling light fittings on one switch

hello all,
We want to put 2 lights on the ceiling. Does one go in line to the other or do we have one junction box and both go to the junction box and from there to the switch?

Either, depending on what is easiest given relative position of switch & lights (though daisy chaining from one to the other probably the way most would do it).

Thank you Paul. That has answered all conundrums.