Many software teams who work in a particular domain develop software products compliant with a specific reference software architecture. By adopting a reference software architecture within an organization, software development schedule tend to shorten, efficiency of software development process and quality of software product tend to increase. Architectures of all application software that are developed by Sea Defense Systems Software Team are created based on a predefined reference software architecture named Sea Defense Systems Reference Software Architecture (DSS-RSA). In this thesis, we propose a model driven development approach to enforce the reference software architecture and to facilitate the process of transition from architectural design of application software to implementation. In this approach, we create a metamodel for describing DSS-RSA. Then, we define a domain specific graphical modeling language based on the metamodel. In the last stage, models that are created by using the domain specific graphical modeling language are automatically transformed to skeleton code. The approach has been evaluated on a case study.