I intend to study the next Java, so I want to first clear Java development in the end what technology, in order to learn in the process, can be gradual, with the depth of study, this article will be updated.
The Java Essentials Tutorial runs the basics of getting started with Java in one instance, and goes deeper to help you quickly get to the world of Java programming. The beginning of everything is difficult, and gradually follow this tutorial go through, Java should have a sense of getting started. Then go on to learn more advanced topics, or learn some of the points in more detail.
Start by learning some of the basics of Java, including:
- Java Development environment installation and configuration
- Installation and use of Eclipse
- Object-Oriented Fundamentals
- Basic data types
- Operator
- String manipulation
- Control flow of the program
- Static variables and static methods
- Java Collection
- Encapsulation and inheritance
- Abstract classes and Interfaces
- Exception handling
Learn the basics of Java, and when you get started, here are some things to consider:
1, the basic path of learning
It is very important to establish a good development environment first, 工欲善其事, its prerequisite. To do any development, the first is to prepare the environment, then you can do a variety of attempts to try the process can gradually build up the fun of learning. Beginners tend to be frustrated by unexpected problems in their environment configuration.
Build up the environment and change the world depends on your code. Learning a programming language does not have a lot of tricks, you may be able to find a better classic introductory books, now there is a lot of information on the web, graphics or video can be, according to personal preferences. The most important exercises, practice makes perfect, in the continuous practice to deepen their understanding of the programming language.
Next you need to understand these three terms, called the SDK, API and Lib, respectively, representing the software development Kit, application programming interface and library. There is a certain connection between the three, or a cross. In general, they are a few of the infrastructure that encapsulates the underlying functionality. In Java development, these things are often represented as "frameworks" that we often say. In fact, to be a senior Java developer, learning about the various APIs and frameworks is probably the most time-spent place.
Of course, you won't be able to fully understand all the APIs or all the content of the SDK. There are 28 principles in software development, and a handful of APIs are capable of doing most of the scenarios in development. So all you need to do is take a look at the key parts and see the Help documentation when you encounter new problems that can't be solved in a new scenario. So the reading of the Help document is also a key factor in technical learning. Once you've learned the basics, you'll generally be able to get started, and help documents help you learn in practice.
2. Learning Tools
Three artifacts, very important for software developers.
- The first Google, although for a variety of reasons, sometimes we can not access, but this is basically the best way to find technical information.
- The second is GitHub, which mentioned the concept of a library, and GitHub is a place where you can find a large number of third-party libraries, which are reusable code that others have packaged for us. For example, to build a car, we often do not build wheels ourselves, and GitHub can find a lot of quality wheels, these wheels are free (the code is open source), we should try to use them to assemble their own cars.
- The third is the StackOverflow website, where you can quickly find answers to almost any development problem you encounter on this quiz site.
3. Recommended learning content for Java Web full stack development
Briefly summarize, probably including the following content. Each part can be refined into a lot of knowledge points, this is just a rough list. Just think of it as a technical map.
- Development environment Building and project management: Eclipse, maven, and Git
- Fundamentals of Java Programming: Basic syntax, object-oriented features, new features of Java, use of higher-level libraries (such as guava), etc.
- Front-end development technology: HTML, CSS, Jquery, Bootstrap, and JavaScript basics
- Spring Basics: Dependency Injection IOC, aspect-oriented programming AOP, Springboot
- MVC framework: Spring MVC, struts, etc., including URL routing, templates, forms, sessions, interceptors and other knowledge
- Data access: relational database, JDBC, Spring JDBC, transaction, ORM Framework (Mybatis,hibernate, JPA)
- Key feature implementations for mature applications: Mail sending, asynchronous tasks, caches, logs, and more
- Testing and deployment of applications
- Ssh:spring+struts+hibernate (struts is now up to Struts2, and there are lightweight springmvc that enable struts to function as a lightweight mybatis to Hibernate)
4, Jsp/servlet of the relevant content
Finally, specifically to mention JSP and servlet, although now a variety of mature MVC framework has made Java Web development rarely use the native functionality of JSP and servlet, basically do a layer of encapsulation. But this part of the basic knowledge suggests that beginners should study hard.
- Web base, HTTP protocol
- c/S model, browser access to website process
- Basic knowledge of URLs
- HTTP message--Request and response
- Applications that handle HTTP requests
- servlet/jsp Introduction
- Servlet
- servlet container, servlet processing mechanism, servlet life cycle
- Deploying Servlets
- ServletContext, ServletConfig
- Filter, Event Listener
- Jsp
- expression, scriptlet, declaration
- Accessing Java classes in JSPs
- JSP built-in objects
- Handling user Input
- http method--get V.s. POST
- Reading form data
- Building an MVC Application
- servlets/jsp Existing problems
- MVC design Pattern
- Using RequestDispatcher
- Passing data in Servlets and JSPs, El expression
- Using Jstl as a template
- JSP Tag Lib
- Core Tag (if, loop)
- Function Tag (String, FMT, Utils)
- Session
- Session&&cookie Basic Concepts
- Record user status with cookies
- Use session to track users
5. Further
Distributed, in-depth Java virtual machines, for different scenarios of the Java Technology Framework, to this stage is not just Java learning, but the large-scale application of technology accumulation, architecture design of the refined.
Overview of Java Technology