Project Structure - korwe/kordapt GitHub Wiki
Every Kordapt project has a standard project structure as follows.
- api-definition - Contains a yaml api definition
- types - Contains all type definitions
- my
- company
- projectName
- dto - package name correlation
- projectName
- company
- my
- services - Contains all service definitions
- my
- company
- projectName
- services - Yes it seems redundant, package name correlation
- projectName
- company
- my
- types - Contains all type definitions
- src
- main
- java
- my
- company
- projectName
- services - Contains all service interfaces
- adapters - Contains all adapters(for The Core connection)
- impl - Contains all implementations of service interfaces
- dto - Contains all Data Transfer Objects
- services - Contains all service interfaces
- projectName
- company
- my
- resources
- spring
- kordapt.xml - Main kordapt bean configuration
- service-beans.xml - Used for all service bean definitions
- spring
- java
- main
Additional Folders/Files
If a database dependency is present:
- src
- main
- resources
- spring
- datasource.xml - for configuring your datasource
- spring
- resources
- main
If an orm plugin has been included:
- src
- main
- java
- my
- company
- projectName
- domain - For storing domain object models
- projectName
- company
- my
- resources
- spring
- orm.xml - Used for orm configuration
- dao-beans.xml - Used for all data access object bean declarations
- spring
- java
- main