This book constitutes the refereed proceedings of the 4th International Conference on Generative Programming and Component Engineering, GPCE 2005, held in Tallinn, Estonia, in September/October 2005. The 25 revised full papers presented together with 2 tool demonstration papers …