Abstract
Software developers currently understand that the real complexity in most applications lies in the problem domain the software is dealing with. The approach known as domain-driven design follows the premises that, for most software projects, the primary focus should be on the domain and domain logic, and that complex domain designs should be based on a model. For this type of project, the concept of domain annotations, which is a way to define annotations specifically for domain objects, can be applied. Currently, most part of metadata-based components still does not use this concept. This paper proposes two techniques for enabling the use of domain annotations in new frameworks and existing ones, and introduces the Daileon framework, which enables such development in Java-based applications. Copyright 2009 ACM.