Home > Back-end >  Micro service need to the service and the dao layer separately packaged?
Micro service need to the service and the dao layer separately packaged?

Time:03-27

Micro service needs to put the service and the dao layer respectively play jars?

CodePudding user response:

See how your service is split, if they are separate, can be reused for other service call, will be split into different jar

CodePudding user response:

Generally don't have to, the service and the dao is meant to be together

CodePudding user response:

Upstairs right,,,,

CodePudding user response:

Dubbo suggest to separate the service and the dao package because the service is the common ~

CodePudding user response:

reference 4 floor Paranoia_ZK response:
dubbo suggest to separate the service and the dao package because the service is the common ~

That every business side reference service and the dao, wouldn't it be the same volume? Don't use interface should also be introduced to?
  • Related