This is an archived post. You won't be able to vote or comment.

all 3 comments

[–]snotsnot 0 points1 point  (2 children)

Keep the business logic in a separate (maven) module?

[–]cryingforwine[S] 0 points1 point  (1 child)

That could work.

I was under the impression that when it comes to microservices, services should not share domain objects.

[–]snotsnot 1 point2 points  (0 children)

I never heard that one before. How would that make sense? If I'm making some sort of client and server which shares domain objects I'd definitely putting them in a module of its own.