Bonded joints with nonhomogeneous adhesives