Why are most training institutions still teaching only the ssh framework ?, Ssh framework

Source: Internet
Author: User

Why are most training institutions still teaching only the ssh framework ?, Ssh framework

Recently, I have heard from some friends that many of the candidates for the recruitment interview have similar resumes. Most of them have written on their resumes that are familiar with the ssh framework, why do these people have similar resumes and are familiar with the ssh framework?

Later, he said that these people may come from training institutions. Then, the training institutions will simply train basic java syntax for all layers, and then introduce the concept and simple use of ssh, then I boast about how awesome ssh is, and then I will use a simple practical project to help you prepare your resume, even if I have completed the training.

I was touched by his speech. I don't mean to reject ssh. ssh was a good three frameworks many years ago (now struts has declined, spring is very spring, and hibernate is not warm ), I just think that it is a little outdated for the training institutions to teach, it takes time for students, and I may not be able to find a job when I go out, without other knowledge, it is really difficult to find a job)

Why is ssh outdated? What is ssh first?

Struts2: in general, it is to complete the C function in the MVC model, that is, to compile specific business logic.

In terms of its design, the request is sent to the web container, and a series of filters are passed. Then, the FilterDispatcher is requested to ask whether the ActionMapper needs to call an Action, then, execute the previously configured interceptor and go to our specific logic. After the execution, we will continue to execute the corresponding interceptor and filter logic and finally return it to the caller.

Spring: in general, it only uses its core IOC to manage some beans in the middle of our writing logic. We use IOC to reduce coupling and simplify object operations.

Hibernate: it is an object relationship ing framework. Simply put, it is a lightweight object encapsulation for JDBC, with the aim of making the operation database as simple as the operation object.

This was the initial goal of ssh. they performed their respective jobs and worked very well in the era of lack of frameworks, so that they had been circulating.

After introducing the essence of ssh, we will introduce the current development of these three components.

First of all, the struts2 framework has exposed many high-risk vulnerabilities recently, posing a great risk to application security. Then a lot of practices are not elegant enough, especially after the introduction of JSR-311 standards, with the popularization of the Restful process, struts2 is more and more abandoned by everyone, although struts2 also adds some plug-ins to support REST, it is too cumbersome. As a result, struts2.

Spring then takes IOC as the core, and then vigorously expands it. spring MVC is successively released to complete the logic layer compiling logic, now SpringMVC has basically completed replacing struts2 (some very old projects may not have been transformed ). Then, after SpringMVC's success, Spring boot was launched based on Spring MVC and web containers. After several years of development and development, the backend was basically unified by the Spring Series. So now, for me, the leader of the backend framework has only one Spring series.

At last, Hibernate is only a framework for ing database operations. There are many alternative frameworks, such as ibatis, mybatis, and JPA. It has its own advantages and disadvantages, it depends on how the user balances it. From my personal opinion, simple business logic can be directly written using JPA (Spring Hibernate-based encapsulation). If it is complicated, it is better to write SQL directly, optimization is also convenient.

Why is ssh obsolete?

Currently, we advocate separating the frontend and backend (the separation here refers to the full separation, instead of the previous separation through templates, and the Data Interaction Between the frontend and backend is based on http ). In addition, the interfaces designed at the backend tend to be in the Restful architecture. Why is there such a change, because the front-end is not just the web end. In the mobile Internet era, apps are also a large part. From the perspective of backend, they are all clients. The app cannot render data through templates. data can only be transmitted over http. This is also the development trend of backend services.

There are many back-end Java technologies. If you want to improve it, the best shortcut is to study it in a down-to-earth manner. For those who have just worked, you can use the time spent learning the ssh framework to learn SpringMVC, then, master the core of Spring, learn what the Restful concept is, and finally understand some of the JDBC concepts (we do not recommend learning the ORM framework in the early stage ). I believe we can achieve some gains and grow.

Finally, we do not recommend that you go to the training institution to learn the ssh framework, and then attach the recommended learning routes for engineers with less experience.

 

Finally, if you think that what you are talking about can help you, and want to learn more and learn more in detail, you are welcome to join group 632109190 for discussion and study.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.