First of all, many people think that learning JAVA requires a C foundation, but in fact, it is not necessary. When learning to drive, I don’t want to learn to ride a bicycle first. It is not necessary.
The first stage:
1. JAVA syntax and basics, including loops. . And class-related content, such as implementation, inheritance, etc.
2. You need to master several key collections, the two subclasses of the List interface, LinkedList and ArrayList; and then the two subclasses of the Map interface, HashMap and HashTable; it will be easy to learn Set after mastering List in the Set interface; master the difference between Collection and Collections
3. Master the IO chapter, focus on several streams: InputStream, OuputStream; BufferedReader, BufferedWrite;
ObjectInputStream, ObjectOutputStream,, PrintWriter, FileReader, FileWriter Understand JAVA serialization and master JAVA's File class.
4. JDBC is very important, focus on mastering Connection, PreparedStatement, Statement, ResultSet, others can be learned again if you come across them in studies or projects, but focus on mastering the first few in the early stage, and understand the others enough.
For database, it is recommended that novices use MySql, download Navicat for MySQL management tool
5. If you want to get started quickly, then you need to skip these,
including: threads, network programming, GUI programming
Okay, now you can enter the second stage
1. Needless to say, HTML+JAVASCRIPT, it’s up to you to know how much you can master, and understand CSS
2. JSP+Servlet, you need to focus on mastering a few, Request, Response, Session, followed by Application.
In addition, you need to know the difference between Redirect and ForWard, the life cycle of Servlet, etc.
3. In terms of tags: (1) Master EL expressions; (2) It is best to master JSTL tags, but if you don’t know JSP tags, it is also very easy to learn JSTL. The focus is on iterating tags and formatting tags,
4. To learn AJAX, just keep it simple, no need to study in depth
5. After mastering the above, you can continue to learn the framework: Struts2.0; Hibernate3; Spring 2.0
6. If you have done all the above and done 2 to 3 projects during the period, OK you can start working
This is just a little guidance I give to newcomers, not everything you need to learn about JAVA