An optical assembly includes an optical component, a substrate, and a thin
glass layer located at the interface between the optical component and
the substrate. The substrate can be a metal, a semiconductor, a plastic,
a shape memory material, or a metal layer deposited on a shape memory
material element. The optical component can be an optical fiber having a
single core or a multicore optical fiber. The optical component can be a
lens and the substrate can be a tube.