New answers tagged spring
1
vote
performance suggestions on Aggregate root containing thousands of child entities
Look at a UATableViewController in iOS. I have used them for thousands of rows. Here’s how it works:
You write a method that returns the number of objects in a table, and one that returns the number ...
2
votes
performance suggestions on Aggregate root containing thousands of child entities
I am not there at the level of CQRS + DDD yet as I am yet to understand nuances in DDD itself.
You're not at the level of DDD yet, a design concept, but you're already trying to lock down the ...
0
votes
performance suggestions on Aggregate root containing thousands of child entities
This seems to me to be a problem in your domain model, rather than any technical challenge. However, because the model is inaccurate, you're having problems at the technical layer.
The question needs ...
1
vote
Why do I need an authorisation server if my micro services can validate JWTs directly?
One potential drawback of this approach is that when there is a security patch in the library that handles JWT tokens, you have to update each and every service on each and every server.
For a simple ...
3
votes
Accepted
Why do I need an authorisation server if my micro services can validate JWTs directly?
Is this a valid approach?
Yes, what you propose is a valid approach. Because authorization data is encoded into the JWT, decentralized authorization checks is a use-case that JWTs are specifically ...
Top 50 recent answers are included
Related Tags
spring × 309java × 161
design × 30
architecture × 29
rest × 27
spring-boot × 27
dependency-injection × 23
spring-mvc × 21
design-patterns × 20
microservices × 19
hibernate × 19
jpa × 18
domain-driven-design × 15
web-applications × 12
java-ee × 11
unit-testing × 10
api × 9
object-oriented-design × 8
mvc × 8
frameworks × 8
object-oriented × 7
web-development × 7
transaction × 7
maven × 7
json × 6