The following content is just a white novice’s understanding and summary, the purpose is only to sort out the idea.
When I said I wanted to learn JAVA in 13 years, a C++ expert colleague said approvingly: “HMM, good, SSH…” I couldn’t help feeling awestruck. SSH! How lofty words, JAVA is such, this framework, that concept, a set of theories, especially many, let a person listen to the excitement to no.
So what exactly is SSH?
Structs, Spring, hibernate. They are frameworks that are used together in WEB projects.
Structs: Mainly implements C in MVC. In JAVA WEB projects, the C refers to intercepting and filtering programs such as servers and filters. Now structs2, which supposedly has nothing to do with structs1. However, Spring also has an MVC implementation that allows you to dispense with structs. The reason why we still use structs is actually because of Spring’s IOC and AOP, namely inversion of control, aspect oriented mechanism. Alas, inversion of control and aspect are all related to design patterns and system architecture. Aspect is a concept I only learned last year for an architect exam. I really envy JAVA programmers. I have been exposed to so many theories and concepts that I have never heard of them. NET programmers need to care! Reference article:
Spring: Having said that, there are MVC, inversion of control, aspect mechanisms. This is a lightweight framework designed to make it easier for programmers to use existing clunky frameworks.
This open source framework is said to be a coding paradigm, a design classic, and a must-read for anyone who wants to learn Java.
Reference article: baike.baidu.com/link?url=hE…
Hibernate: An ORM framework? In addition to entity classes, which make it easier for programmers to code and manipulate databases in the usual object-oriented way, it also has caching, transactions, and other mechanisms. Its cache, called Session, I thought it was HttpSession when I first looked at it. It is a shame that the genius who designed Hibernate decided to write one because it was too tedious to operate a database in the traditional JAVA way. He didn’t know anything about SQL, so before writing Hibernate, he went to a roadside bookstall and bought a primer on SQL. God damn it, genius.
Why have so many great ideas, concepts, and frameworks emerged in JAVA? The main reason, I think, is that it’s open source. Because of open source, we can gather like-minded people all over the world to participate, we work together, constantly spark inspiration; .net is the product of one company, and while Microsoft is very strong and its developers are very good, there are very few of them. What’s more, contributing to open source products is a matter of personal interest, so participants can enjoy making JAVA bigger and stronger without realizing it. Microsoft employees do. NET, more or less a taste of the task, something to produce on the line.
Second, Microsoft, because WINDOWS was so successful, felt the need to make everything easy to use, including development tools. However, programmers are different from ordinary users, you make a language, tools so stupid, drag controls, click the mouse, three or two clicks can achieve a Hello World! , it seems that the development efficiency has improved a lot, but, under the appearance of intelligence, it covers up those more need to be known by programmers to understand the operating mechanism and principle! Therefore, Microsoft product series programmers, the common problem is only know the application, but lack of understanding of the nature of the program, know it but do not know why, let alone those system architecture level concepts, ideas. Compared to JAVA programmers,.NET programmers look like idiots.
Refer to the article: www.admin10000.com/document/15…