You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am curious what would be an idiomatic way to share artifacts across "module" (package) boundaries (e.g. entity's, DTO's)
The default is that everything that is in the root of a "module" package is available for other modules. However, I would also like to have a reasonable package structure within a module package (e.g. application, domain etc.) .
The question is: how do this "right".
Is it good practice to use @NamedInterface for this? (e.g. place it directly on a class / interface, use package-info.java)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am curious what would be an idiomatic way to share artifacts across "module" (package) boundaries (e.g. entity's, DTO's)
The default is that everything that is in the root of a "module" package is available for other modules. However, I would also like to have a reasonable package structure within a module package (e.g. application, domain etc.) .
The question is: how do this "right".
Is it good practice to use @NamedInterface for this? (e.g. place it directly on a class / interface, use package-info.java)
Beta Was this translation helpful? Give feedback.
All reactions