The refractive index of photosensitive optical materials can be permanently changed by UV-irradiation. The objective of this thesis was to use such refractive index changes for the fabrication of waveguides and Bragg gratings. Integrated optics allows for the integration of optical functionality on a small footprint. A technique to realize integrated optical waveguides is the direct writing technique where a focused UV-laser is scanned over a photosensitive sample. This fabrication method is of particular interest as no mask technology is involved, which is advantageous during the prototyping phase of new devices. UV-induced refractive index changes in excess of 10×10-3 were achieved in hydrogen-loaded germanium-doped silica layers and employed to fabricate straight waveguides, S-bends, directional couplers and multi-mode interference couplers. In one of the tested material systems the refractive index was decreased by the UV-irradiation rather than increased. Without any presensitization refractive index changes down by -10×10-3 were observed. Waveguides were realized in this material system by the negative direct writing technique, i.e. the waveguide cladding instead of the core was written. The fabrication of waveguide structures by UV-induced refractive index changes is not limited to layered material systems as described so far. Directly UV-written buried X-shaped waveguides in a bulk multicomponent silicate glass have been produced by a special X-shaped writing geometry. As an example for the use of UV-induced refractive index changes for the post processing of optical devices the crosstalk in an arrayed waveguide grating was significantly reduced. Bragg gratings play a crucial role in modern optical communication systems. One interesting application area is the use as narrow-band channel filters in add/drop-multiplexers, where low chromatic dispersion values in reflection and transmission are required. Different design procedures were employed for the design of such Bragg grating structures. An optimization algorithm allowed for the consideration of constraints imposed by the writing facility which is later used for the fabrication. The designed Bragg gratings were fabricated afterwards by using a holographic writing setup which enables full control over local grating strength and period.