Java Engineers Study Guide (primary articles)

Java Engineers Study Guide

Primary articles

Recently, many small partners to ask me how Java White started, learn how to arrange the line, every step should be how to get better. Originally I thought the previous articles we may have solved the problem, it is not true, because I wrote the previous article are standing on the back-end of the global Java reflection and summary, ignoring a lot of the white are the feelings, and many of my friends need to be more basic, more detailed study of the route.

So, today we re-open a new topic, were about Java learning path according to four articles (namely the entry papers, primary articles, intermediate articles, advanced part), I also intend to take this opportunity to recall their own learning Java course. Today we talk about is how White students Started Java.

Declare that the contents of the article does not detail how to operate each step, it will only provide general ideas and direction for everyone to inspire, if you really want to guide the operator step by step, then the thickness of a book that requires at least friends.

The methods described herein are not necessarily for everyone, if wrong please understand.

01

Java Web Project Guide

jav in the previous article, we talked about a couple of steps introductory Java, first to build a good environment, and familiar with basic grammar, then familiar with some of the core Java technology, and are implemented in code.

If you have completed this part of the study, should feel that they have a certain understanding of Java, you can easily write some Java code, such as multi-threaded digital output, IO streams, etc. Another example is operating.

Of course, these codes are usually just a few demo, we might not be so simple to use in actual projects of these technologies, we may use both collections, multithreading, and the operation of the database API.

So, in today's primary articles, we will talk about how to do the project right.

Java Web Project

For most novice Java, the most suitable for their entry project is a Java Web. Because Java Web applications suitable for natural and ecological improvement, a lot more open source tools and frameworks to support these applications, such as Spring, Hibernate, SpringMVC and so on.

So, how to start a Java Web project set out to do it. Personally I think the best way is to look at the video. Because reading it, a lot of content out of date, and generally do not provide the source code. There are also some big brothers like to recommend open source project (project on GitHub above), but for the white, if not very complete documentation to guide them, that is meaningless.

Once upon a time, Java Web project is still in use JSP + Servlet development, and later appeared Struts2, and then later, there has been SpringMVC we are now in use, to be honest, no matter what kind of development framework to use, you need to spend some time to learn the relevant skills, or you will find that even watching a video, you do not know what there talking about.

JavaWeb in order to make a project, you not only need a good project program, but also sufficient stock of knowledge, let's take a reason to manage the content.

Knowledge base

Fundamental part of Java content we last talked, I will not repeat it here - let's say for the stock of knowledge are a few other aspects of the

02

Front-end knowledge

Recommended Resources: Learning html, css and js in w3cschool, support online test code.

Since it is doing Web, which inevitably involves front-end technology, however, the front and rear end of the separation now is a trend, so, if you are not interested in the front, did not need to spend too much time to learn.

For most students, you'd better understand the basic html tags and format, they can write some simple pages, CSS, it also can be a little contact with some. With respect to the first two services in the form of technology, we'd be more to learn about JavaScript, to understand some of its basic grammar, as well as the use of ajax, because the back-end interactive front, ajax is very important.

So, do a Java Web project, you do not need to spend too much time writing on the front page, if the source code can be used directly, of course, need to modify some of the front page, you have to modify how to do it, because sometimes you need to use JSP, JSP both front-end code also includes Java code, if you totally do not understand front-end code, then it is very embarrassing.

03

Java Web technologies commonly used

JavaWeb technology stack is actually relatively large, so we do not require exhaustive, but I hope you can familiarize yourself with the technology might be used in the project. Here are some common techniques, we had better to find out.

1 JSP和Servlet

Recommended Resources: "JavaWeb entry to the master" JavaWeb basic course on site, Mu class network, geeks College and other

This is a Java Web development the most primitive form, now rarely used directly, but later various frame is actually built on the servlet to do. You need to know about these two techniques are used to doing, it is best to write some demo to practice.

For JSP, sometimes you may have to learn the language jstl other labels, because these tags can make it easier for you to insert Java code in JSP.

2 Spring和SpringMVC

Recommended Resources: "Spring real" Mu class network, geeks SpringMVC College and other basic courses on site.

In fact, in addition to these resources, you can go directly to the official website to see quick start documentation.

Struts2 has long been abandoned by the times, Spring is dominant today, you need to know how to use Spring and SpringMVC how to use and learn to use it in the project.

Since SpringBoot recent fire, and set up ways simpler than SpringMVC, you can first learn SpringBoot, in order to more quickly build up your first Java Web project.

3 MySQL

Video course on "Sql must know will be", MySQL based tutorial on Runoob, Mu class network, geeks College sites such as: Recommended Resources

JavaWeb application must have a data ah, so we need to use the database, in fact, take a mysql database is very simple, but for beginners the most trouble is to write sql, so, first learn how to build tables, familiar with sql, after you do the project also helpful.

4 Hibernate and Mybatis

Video lessons on Hibernate and Mybatis based tutorial on Runoob, Mu class network, geeks College sites such as: Recommended Resources

When you learn to use sql query data, may not be enough to let you easily process the data in the project, because we also need a step, it is to be converted into Java data in a database object. orm framework to solve this problem occurs, it can make a table and Java classes one to one, so that data queries become very convenient. Hibernate and Mybatis are orm framework, but now more and more mybatis fire.

So, you need to understand this technology, because it will be widely applied to most Java Web project.

5 Maven

Video course on "maven combat," the maven easy hundred tutorial tutorials, Mu class network, geeks College sites such as: Recommended Resources

Just now we have said technology Spring, orm framework, as well as other aspects of the MySQL. In fact, a simple Java Web projects only need these things.

However, there is a problem is this: a project in so many technologies used, the required jar package will be a lot, how do we manage these jar package yet. If the package directly into the desired jar, jar package when it needs to be replaced or updated, every time the manual operation is very troublesome. In addition, when the jar pack a lot of time, war items packaged format files will be great, it is not conducive to transmission.

In order to solve the above problem, maven came into being. maven pom.xml file specified by the required jar package, and comes with a lot of build-related functions, such as compile, package, run the unit tests and so on, because it itself is a build tool.

Of course, the novice may be difficult to understand these concepts, you have to know is that most of the Java Web project need to use maven to manage, you need to learn the basic usage of maven, the most basic usage is: learn to modify pom.xml file.

6 Tomcat

Recommended Resources: Mu class network, geeks College and other video programs on the site.

For white is, Tomcat related technology is very complex, after all, it is an application server ah, in fact this time, you just need to learn how to install Tomcat. After all, its role in the project is to provide a runtime environment only.

Normally, you just download, unzip the archive to Tomcat. Since the IDE now supports integrated Tomcat, so under normal circumstances you can configure your Tomcat path in the IDE, and then set up your project path, IDE will automatically put your project code deployed to Tomcat server.

If you want to skip using direct IDE project to deploy the Tomcat, also can be compiled directly and engineering package to get the file format war (This step can be accomplished using maven), and then copy the files to a specific directory to war under Tomcat.

Detailed steps to deploy these two go the way of the search engine to find the answer.

7 Git and GitHub

Recommended Resources: Liao Xuefeng the tutorial Git, GitHub's official website, Mu class network, geeks College and other video programs on the site.

Since the project to do, why not publish it on GitHub. Once you are familiar with Git commands, you can easily publish updates every time you project, and synchronized to GitHub, so that both can make you better manage project versions, and can make you more active GitHub for you future interview extra points.

So, quickly learn Git command, and then open your project journey.

04

Other common components

In addition to the above several essential technology, sometimes we will use other things in the project, here we call them components. Here only a brief introduction, the specific how to use the Internet can easily find related articles.

1 log system

When the project code more time, prone to error, the log records can be a good run-time error code, commonly used logging system log4j, logging and so on, plus you need to know about slf4j.

Unit Test 2

The logging system can record the code problem, unit testing is to avoid code errors, commonly used unit testing component mainly JUnit, I suggest you look to find the document, then download it to play with.

3 JSON

JSON has become the standard format for data exchange of the front and rear end, in order to use the JSON API in your project, you also need to import its jar package, we will generally use fastjson Ali offered to play a quickly download and play.

Of course, the popular Java Web component, there are many, such as HTTPClient, another example of some encryption tools, some compression tools, etc., there is no longer list them.

Recommended curriculum project

Now online courses are so many projects, which one is more suitable How about you?

In fact, I've seen the video course is not a lot, previously seen a number of projects and programs in the Mu class network geeks College, I feel more general, not very friendly for beginners.

Some of my classmates have seen some of the courses training institutions, professional lecturer record of project courses may be slightly better. No background in public I reply "Java" an organization can receive video lessons, but I do not advertise, the agency did not give me money, friends.

Of course, I still recommend the most cattle off network video lessons, which are mid-level Java class project and the Java Senior Project class. There are several reasons for it:

1 Ye gods lectures, the students a better understanding of the situation, and technical skills pendulum did not say where.

2 project done by comparing ground gas, with technology stack is relatively new, relatively wide.

3 I have followed the project throughout the course of the cattle off network do it again, I feel really rewarding, and each chapter is also more reasonable arrangement.

4 supporting a PPT, project code, and part installation package that lets you save a lot of tedious links.

It seems that I really love pink cattle off the network, and actually help cattle off net free promotion ~

Of course, you can also find some of his projects you are interested in the course, I also collect more follow-up video lessons to share with everyone.

06

to sum up

Today's content on here, not so much primary articles, but more like "Project chapter" it. Because after completing basic content, it is the best to do the project review and practice the way. So this article around to do the project to expand, not surprising.

Today, we are mainly talking about, do a JavaWeb project, which required knowledge base, what technologies need to know, and I also recommend some of the more quality video lessons.

Later I will write an article specifically talk about how to do the project, will be more detailed and more focused on how to do it, please look forward to it.

The following summarizes a few key points today said it:

1 Java Basics reserve

2 front-end knowledge base

3 Understanding and using common techniques JavaWeb

Common components 4 JavaWeb Introduction

5 video courses recommended

As the saying goes, may quicken the work, I believe that after you read this article, you can do a better job knowledge base, and then began to practice Java Web projects, you want to complete your first project successfully.

Micro-channel public number

Personal Public Number: Huang oblique

Huang oblique cross-examination 985 Master of software engineering, self-learning Java two years, got the BAT nearly ten manufacturers offer, from a technical white grow as Ali Engineer.

JAVA authors focus on the back-end technology stack, keen to share programmers dry, learning experience, job experience and life program is currently small yellow diagonal CSDN blog a million + views, fans know almost 2W +, the whole network has 10W + reader .

Huang is a little oblique slash youth, adhere to the study and writing, believe in the power of lifelong learning, hope and more programmers make friends, progress and grow together!

Original eBook:
public attention after [number] Huang oblique reply [original] to collect my original e-book e-book "Programmer's rookie practice Manual: From white to Alibaba Java technology engineer"

Programmers 3T Technology Learning Resources: Some programmers learning resources spree technology, the number of public attention, background replies keyword "data" can get free no routine.

PubMed review the information:
Computer PubMed spree, are some of the review materials for my own use when PubMed review, including public courses and professional video review, recommend it to everyone here, the number of public attention, background replies keyword "PubMed" that is, available free of charge.

No public technology: Java technology rivers and lakes

If you want to focus on my real time updated articles and dry sharing, you can focus on my public number of rivers and lakes] [Java technology Java, a technical engineer Ali station, the author Huang oblique, focused Java related technologies: SSM, SpringBoot , MySQL, distributed, middleware, cluster, Linux, network, multi-threaded, occasionally speaking point Docker, ELK, as well as dry goods and technology to share the learning experience, committed to the full Java stack development!

Java engineers required Learning Resources: Some Java engineers common learning resources, the number of public attention, background replies keyword "Java" to get free no routine.

My public number

This article from the blog article multiple platforms OpenWrite release!

Guess you like

Origin www.cnblogs.com/AliCoder/p/11694696.html