jmolecules
buckpal
jmolecules | buckpal | |
---|---|---|
4 | 3 | |
1,248 | 2,183 | |
2.1% | - | |
7.0 | 2.0 | |
6 days ago | 5 months ago | |
Java | Java | |
Apache License 2.0 | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
jmolecules
- Libraries to help developers express architectural abstractions in Java code
-
Spring Modulith: have we reached modularity maturity?
Spring Modulith is the successor of Oliver Drotbohm's Moduliths project (with a trailing S). It uses both ArchUnit and jMolecules. At the time of this writing, it's experimental.
- jMolecules 2021.2.0 released
-
Deprecating JPA no-args constructors
You could move towards modeling your code around DDD building blocks (like aggregates etc.) and declare those concepts in code explicitly using jMolecules types. There is a dedicated jMolecules Integrations ByteBuddy Plugin, that would then add the necessary boilerplate code and default mappings required by the expressed concept. This makes the code shown here a fully working JPA model. You can argue that the lack of JPA oddities is odd itself in the first place but I like the idea of expressing the architectural concept explicitly and the technology integration completely flowing from that.
buckpal
- Hexagonal Architecture Spring example, is this right?
- Any examples of a well designed Java web backend?
-
Spring Modulith: have we reached modularity maturity?
We need rules to enforce boundaries, and they need to be treated like tests: when tests fail, one must fix them. Likewise, when one breaks a rule, one must fix it. ArchUnit is a tool to create and enforce rules. One configures the rules and verifies them as tests. Unfortunately, the configuration is time-consuming and must constantly be maintained to provide value. Here's a snippet for a sample application following the Hexagonal architecture principle:
What are some alternatives?
educational-platform - Modular Monolith Java application with DDD
java-ddd-example - ♨️ DDD in Java skeleton & examples. Course:
cp-ddd-framework - 轻量级DDD正向/逆向业务建模框架,支撑复杂业务系统的架构演化!
spring-user-management - A REST API for User and Role management, token generation and validation
archifacts - archifacts is a library to extract your architectural concepts out of your application's code
CleanArchitecture - Kotlin backend based on the Clean Architecture principles. Ktor, JWT, Exposed, Flyway, OpenAPI/REST & KGraphQL/GraphQL generated endpoints, Gradle.
amber-docs - https://openjdk.org/projects/amber
piggymetrics - Microservice Architecture with Spring Boot, Spring Cloud and Docker
persistence
hotel-kata-monolith - Hotel Kata Solution with REST and Persistence layer in a structured monolith format. Perfect starting point for microservice or decoupling exercises
moduliths - Building modular, monolithic applications using Spring Boot
academy-walking-skeleton - A mono repo for a walking skeleton applicaiton