search

Home  >  Q&A  >  body text

java - 可以先跳过struts2、hibernate即ssh,直接学spring、spring-mvc、mybatis(ssm)吗

PHPzPHPz2768 days ago1205

reply all(6)I'll reply

  • PHP中文网

    PHP中文网2017-04-18 10:48:17

    Theoretically there is no problem, because struts has nothing to do with spring. You can first learn spring's ioc aop, and then you can learn spring-mvc. At this time, even if you don't learn mybatis and directly use Jdbc to do the dao layer, it will not affect For the development of a java web project, of course you can also learn mybatis and then reconstruct your dao layer. Nowadays, fewer and fewer people use hibernate and struts. The main reason is that hibernate is much heavier than Mybatis. Learning The cost is also higher, but the advantage is that you don’t need to write sql. Struts has been exposed to vulnerabilities recently. In fact, it is not as easy to use as springmvc... I personally think

    reply
    0
  • 伊谢尔伦

    伊谢尔伦2017-04-18 10:48:17

    No problem at all, but if you want to understand the MVC framework structure, you can still take a look at struts2. After all, it is a very good MVC framework, and springmvc is also more mainstream now; the purpose of learning the framework is to work more efficiently. But frameworks encapsulate the most basic things, so no matter how much you learn about frameworks, never abandon the basics.

    reply
    0
  • 迷茫

    迷茫2017-04-18 10:48:17

    You can follow the teacher

    reply
    0
  • 巴扎黑

    巴扎黑2017-04-18 10:48:17

    This is how I learned. I followed the video of a certain training institution, finished learning the servlet, database, and jdbc in the front, and then started directly with Spring, which has nothing to do with the previous ssh

    reply
    0
  • 天蓬老师

    天蓬老师2017-04-18 10:48:17

    spring mvc has become mainstream

    reply
    0
  • 大家讲道理

    大家讲道理2017-04-18 10:48:17

    Don’t learn struts2 and hibernate. First of all, these two frameworks are rubbish. Secondly, they are a waste of time.

    reply
    0
  • Cancelreply