I assume the elements are packages, so I would go with the main package.
- dao
- domain
- main contains the application and its configuration readers
- services
- Utils
Why? Application configuration, whether in XML or not, and whether it is based on an application structure such as Spring or not, is part of its core functions. Downloading the application is the main task of the application. All the functionality of the business, all the brilliant functions that it provides, are implemented at the domain and service level.
You are right, utils are static or similar tools. Since the configuration of the application is very important, I would not declare it a utility. A utility is something that can be easily replaced with another utility of the same type (for example, StringUtil vs. StringUtils vs. IOUtils , etc. They all have very similar functionality)
source share