This application comes with two package level annotations:
SharedKernel
used to mark packages containing classes shared between multiple contexts;BusinessContext
used to mark packages containing classes to answer a specific business need. Classes in this package can't be used in another package.
To mark a package, you have to add a package-info.java
file at the package root with:
@{{ basePackage }}.SharedKernel
package tech.jhipster.lite.sample;
or:
@{{ basePackage }}.BusinessContext
package tech.jhipster.lite.sample;