xmolecules / jmolecules

Libraries to help developers express architectural abstractions in Java code
http://jmolecules.org
Apache License 2.0
1.26k stars 105 forks source link

Annotations for ports and adapters (hexagonal) #125

Open flavius opened 4 months ago

flavius commented 4 months ago

Initially I was asking for something which already exists.

However found something missing:

Is there an annotation for the UseCase abstraction?

Alistair Cockburn calls these primary ports of the domain model and names them For<business-processs>

odrotbohm commented 2 months ago

Can you point me to an authoritative resource defining that? AFAIK, UseCases are only an abstraction in Clean Architecture, not Hexagonal.