Joining of two substrates, where a substantial part of the joining material is present outside of the joint, leading to an outside joining of the joint