We show that the use of phosphorus doped spin-on glasses as diffusion source is an attractive approach for the formation of shallow junctions in polycrystalline silicon materials. Moreover, this very simple doping process using a glass film can be fruitfully associated to rapid thermal annealing.