Learn Java how to get Started

Source: Internet
Author: User
Tags event listener

Learn Java How to get started?595 Approvalobjection, will not show your name

I'd recommend a very diligent Java Basic Tutorial: Java-basic | Day Yard Camp



This tutorial runs the basics of getting started with Java in one instance, and goes a step further to help you get to the world of Java programming quickly. 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.

1th Lesson Java Development Environment Installation and configuration
2nd session installation and use of Eclipse
3rd Lesson The first Java program
Lesson 4th Object-Oriented Foundation
Lesson 5th Basic Data types
6th lesson Operator
7th Lesson String Manipulation
The control flow of the 8th lesson program
The 9th lesson static variable and static method
10th Lesson Java Collection
11th Lesson encapsulation and inheritance
Lesson 12th abstract Classes and interfaces
13th Lesson Exception Handling
14th Lesson Comprehensive Example Modification

After you get started, consider the following learning content and path:


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, the process can gradually build confidence. 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, three artifacts

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, JAVA8 new features, use of higher-level libraries (such as guava), etc.
    • Front-end development technology: HTML, CSS, 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

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
      1. c/S model, browser access to website process
      2. Basic knowledge of URLs
      3. HTTP message--Request and response
      4. Applications that handle HTTP requests
      5. servlet/jsp Introduction
    • Servlet
      1. servlet container, servlet processing mechanism, servlet life cycle
      2. Deploying Servlets
      3. ServletContext, ServletConfig
      4. Filter, Event Listener
    • Jsp
      1. expression, scriptlet, declaration
      2. Accessing Java classes in JSPs
      3. JSP built-in objects
    • Handling user Input
      1. http method--get V.s. POST
      2. Reading form data
    • Building an MVC Application
      1. servlets/jsp Existing problems
      2. MVC design Pattern
      3. Using RequestDispatcher
      4. Passing data in Servlets and JSPs, El expression
    • Using Jstl as a template
      1. JSP Tag Lib
      2. Core Tag (if, loop)
      3. Function Tag (String, FMT, Utils)
    • Session
    1. Session&&cookie Basic Concepts
    2. Record user status with cookies
    3. 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.

Learn Java how to get Started

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.