Popular B station Java advanced learning tutorial "1" Javaweb

No.1:Javaweb

Javaweb is the first stop after learning web. There are many similarities between web and Javaweb. If you want to make a qualified web page, you must have both web and Javaweb, but you are really ready to learn Javaweb . ?

  • Have you learned JavaSE?
  • The MySQL database can write additions, deletions, changes, and queries... Are these simple SQL statements?
  • Didn't you forget about JDBC?
  • Remember the HTML, CSS, and JavaScript in the web front end?

Don’t be in a hurry to scold, if I don’t poke your sore spots and feed you some poisonous chicken soup, your procrastination and lazy cancer will really be cured. After all, I also have good intentions. After finishing this bowl of poisonous chicken soup, put on a hard-working and studious skin. Taking advantage of the fact that I haven't learned much yet, quickly check for omissions and fill in the gaps!

PS: The following are the basic knowledge required to learn javaweb and ssm frameworks. It’s not too late to make up for it. Go and shepherd it:

  1. Java zero-based tutorial video (suitable for Java 0-based, Java beginners)
  2. MySQL Basic Introduction to Mastery Video Tutorial-MySQL Database Combat (including MySQL34 interview questions)
  3. JDBC From Getting Started to Mastering Video Tutorial - JDBC Practical Intensive Lecture
  4. Ajax entry to proficiency full set of full version (ajax2020 latest version) Web front-end Ajax beginners zero-based learning essential
  5. From jQuery entry to proficiency in a full set of full version (jQuery2020 latest version) Web front-end jQuery beginners zero-based learning essential

Of course, it would be even better if you are a good cub who hasn't lost a single sheep. Roll up your sleeves and start moving bricks with the master!

Power Node's latest JavaWeb video tutorial, javaweb zero-based entry to proficient IDEA version-continuously updated

If you want to learn Javaweb, you need to understand its important knowledge points first, and know yourself and the enemy without any danger. The learning of Javaweb is actually to understand the communication principles of the BS architecture, how to configure the Tomcat server, and write your first WebApp.

Among them, you need to master the core technologies: Severlet, JSP, AJAX, JQuery

What is its execution principle?

  • The client establishes a connection with the web server.
  • Client sends HTTP request.
  • The server receives the client's request, generates an HTTP response and sends it back, and the server closes the connection.
  • The client parses the postback response, restoring the page.

Of course, many courses will talk about the above knowledge points when explaining to you. But why is Mr. Du's class specially launched today? There are three reasons!

Let me tell you a story first~ hehe

I don’t know if you have heard the story of "Picking the Seedlings to Help You Grow"?

A farmer found a piece of land and planted a field. Finally, after waiting and waiting, the seedlings appeared, oh, it made the farmer very happy.
But he didn't have that much patience. He couldn't wait that long, so he thought, since the head is showing, I'll give it more strength to make it grow taller! So, when the roots of the seedlings were not firmly established, he pulled them up one by one. . .
As a result, no zuo no die, none of the seedlings survived, all died~

STOP! What does this story have to do with the reason just said?

Don't worry, just say:

Through this story, one thing we all understand is that learning Java cannot "backfire". Comparing our students to seedlings, the teacher is the farmer. If in order to make the seedling grow faster, all the knowledge points are instilled in the seedling, will the seedling survive? The same reason, this is the characteristic of Mr. Du's course we are talking about today!

1. Source code level explanation (depth)

This set of courses starts from the analysis of the system structure. After explaining the source code and learning Servlet, we can start a project and the function has been realized. Do you think this is all right? Do you understand why it is built this way? Do you understand why this technique is cited?

Teacher Du's course is not just about what Servlet is and how to use it, just build it and use it. At least there is a Servlet interface at the bottom layer, and then manually write a GenericServlet, then talk about the http protocol, talk about the http protocol, and analyze the source code.

The whole process is a roundabout tactic, which allows you to see the essence of something after you understand it. It is not just enough to know that 1+1=2, but also why 1+1 is equal to 2.

2. A large number of design patterns (detailed)

Immediately afterwards, we talked about the manual http protocol, which is also featured at the source code level. In the process of source code lectures, we talk about a lot of design patterns. In the course, not only will everyone know how to use them, but also let everyone know the real underlying principles.

For example, the communication principle of Javaweb is the communication principle of our BS system. In order to let everyone understand the principle, we need to analyze the source code. In the process of analysis, a large number of design patterns are used, such as adapter design pattern and template method design pattern. Only after understanding these can we understand what the whole principle is.

Let students not only know what it is, but also why it is.

3. Project penetration (step by step)

For example, from the beginning to the end, let's talk about Servlet first, and we can use pure Servlet to do projects, but after finishing it, we will see that there will be big problems in developing in this way. So what needs to be improved? At this time, it is necessary to learn JSP technology, so that the knowledge points of JSP can be introduced to continue to improve.

Later, I found that JSP has a lot of codes. At this time, I will know that there are some shortcomings in this project. I need to learn a new technology. I need to use strange expressions to modify the project, and then use the JSP tag library to improve. The whole This is how the project uses all the technology, and it is step-by-step and iterative. In this way, the project will become closer and closer to a commercial-level project.

Someone will ask, since it is so troublesome, why not let students learn the latest technology directly?

This is a good question, and the truth is the same as the story told above.

If you want to take shape at one time, there will be a lot of technologies used in the project. If you introduce all these technologies at once, students will not understand. It must be improved step by step, so learn one by one. Only when you have personally experienced such problems can you introduce technology. Knowing what the meaning of this technology exists, it will be easier for everyone to understand and accept it.

See here, do you understand? Is the Javaweb you have learned or the Javaweb you know?

Teachers, those who preach and teach karma to solve doubts~

Well, after learning Javaweb, let's strike while the iron is hot and quickly learn the three major frameworks of SSM, which are MyBatis, Spring and SpringMVC.

 

Guess you like

Origin blog.csdn.net/f5465245/article/details/123691049