The paper discusses a model-driven engineering approach to automate the generation of MVC2 web applications, specifically focusing on code generation from UML models using the ATL transformation language and Acceleo generator. It details the methodology and implementation of model-to-model and model-to-text transformations, validated through a case study involving an employee management system. The work aims to streamline software development processes by leveraging models to enable automatic code generation that accommodates evolving user needs and diverse platforms.