search

Home  >  Q&A  >  body text

java - How to divide spring MVC + maven projects into layers and modules

This question may be relatively broad, and it may not even be called a question. Most of the architectural layering of projects is analyzed based on business. I hope you can post some fresh and comprehensive engineering architectures that you have seen.

I just post a little crawler, please don’t spray

spring maven mybatis logback assembly [packaging plug-in] htmlunit jsoup

Module as shown

common All dictionaries, util
db bean mapper dao
service business layer
extenSion non-backbone business
main main method simple parameter processing

PHP中文网PHP中文网2749 days ago626

reply all(2)I'll reply

  • ringa_lee

    ringa_lee2017-05-18 10:46:52

    If you are struggling with these, it is better to go directly to microservices. Spring cloud welcomes you

    reply
    0
  • PHPz

    PHPz2017-05-18 10:46:52

    Isn’t it generally divided into modules according to business functions?

    reply
    0
  • Cancelreply