A planar lightwave circuit and a method of producing such a planar
lightwave circuit, the planar lightwave circuit having an element secured
thereon. The planar lightwave circuit comprises: a substrate; a trench
cut in the substrate; at least one solder pad deposited on a top surface
deposited above the substrate; at least one of a waveguide defined in a
layer deposited above the substrate and an optical fiber; and an optical
element placed within the trench and in optical communication with the at
least one of a waveguide and an optical fiber; at least one metal contact
configured on the optical element to be adjacent to the metal pad, the
solder pad being connected to the metal contact providing physical
support to the optical element and an electrical connection between the
metal pad and the metal contact.