Kale Vivi
Kale Vivi
JCHJava Community | Help. Code. Learn.
Created by Kale Vivi on 3/29/2025 in #java-help
Hexagonal architecture question
ok thanks
186 replies
JCHJava Community | Help. Code. Learn.
Created by Kale Vivi on 3/29/2025 in #java-help
Hexagonal architecture question
when doing lookups and things
186 replies
JCHJava Community | Help. Code. Learn.
Created by Kale Vivi on 3/29/2025 in #java-help
Hexagonal architecture question
I thought it might help with saying hey this in interface
186 replies
JCHJava Community | Help. Code. Learn.
Created by Kale Vivi on 3/29/2025 in #java-help
Hexagonal architecture question
Thanks
186 replies
JCHJava Community | Help. Code. Learn.
Created by Kale Vivi on 3/29/2025 in #java-help
Hexagonal architecture question
I appreciate your time here
186 replies
JCHJava Community | Help. Code. Learn.
Created by Kale Vivi on 3/29/2025 in #java-help
Hexagonal architecture question
Thanks for confirming my understand and how to use ports correctly for modularization here
186 replies
JCHJava Community | Help. Code. Learn.
Created by Kale Vivi on 3/29/2025 in #java-help
Hexagonal architecture question
I'll make the changes then. I accidentally named my port ProductXGatewayPort but I see that is not a good name now
186 replies
JCHJava Community | Help. Code. Learn.
Created by Kale Vivi on 3/29/2025 in #java-help
Hexagonal architecture question
ok
186 replies
JCHJava Community | Help. Code. Learn.
Created by Kale Vivi on 3/29/2025 in #java-help
Hexagonal architecture question
but maybe I can worry about later
186 replies
JCHJava Community | Help. Code. Learn.
Created by Kale Vivi on 3/29/2025 in #java-help
Hexagonal architecture question
I think it makes sense to use the same port too but honestly, you did bring up a goood point on what if I need to maintain both gateways for a brief period. I'm wondering if I would ever encounter a scenario where let's say product Y has a new feature that I need to implement and I want to add the definition in my port for new feature but product X doesn't support it. That would be an issue I guess maybe
186 replies
JCHJava Community | Help. Code. Learn.
Created by Kale Vivi on 3/29/2025 in #java-help
Hexagonal architecture question
Yeah exactly
186 replies
JCHJava Community | Help. Code. Learn.
Created by Kale Vivi on 3/29/2025 in #java-help
Hexagonal architecture question
Or rather mainly what does hexagonal architecture say to enforce?
186 replies
JCHJava Community | Help. Code. Learn.
Created by Kale Vivi on 3/29/2025 in #java-help
Hexagonal architecture question
First of all, thank you for the explanation above. Makes sense. Second of all, lol, now then I feel like I'm back to square one... is it better to have that application reusable port or two different ports because application requirements interfacing with those products could have new requirements?
186 replies
JCHJava Community | Help. Code. Learn.
Created by Kale Vivi on 3/29/2025 in #java-help
Hexagonal architecture question
the scheduler calls a controller endpoint which calls a service which calls a gateway to load the data to the rest api for product x lol
186 replies
JCHJava Community | Help. Code. Learn.
Created by Kale Vivi on 3/29/2025 in #java-help
Hexagonal architecture question
the gateway here
186 replies
JCHJava Community | Help. Code. Learn.
Created by Kale Vivi on 3/29/2025 in #java-help
Hexagonal architecture question
My other question was this is driver or driven adapter LOL
186 replies
JCHJava Community | Help. Code. Learn.
Created by Kale Vivi on 3/29/2025 in #java-help
Hexagonal architecture question
hexagonal architecture lol
186 replies
JCHJava Community | Help. Code. Learn.
Created by Kale Vivi on 3/29/2025 in #java-help
Hexagonal architecture question
controllers, services, gateway
186 replies
JCHJava Community | Help. Code. Learn.
Created by Kale Vivi on 3/29/2025 in #java-help
Hexagonal architecture question
the app contains all the HA code
186 replies
JCHJava Community | Help. Code. Learn.
Created by Kale Vivi on 3/29/2025 in #java-help
Hexagonal architecture question
but that would explain what happens in the gateway right now
186 replies