Java-the legends of the development of computer software over the past 10 years have played a role in the minds of many developers, such as "tu longdao" and "Yi tianjian ".
Java is a platform. I just want to talk about my views on learning java well and hope it will help beginners.
1. Think about it
Before learning Java, don't worry. Just calm down and think about it:
1) Are you interested in learning Java?
2) Can you calm down and learn persistently?
Well, this is an easy but definitely should not be ignored question. You are sure that you are interested in Java and have a hard time preparing for it, then you can learn java well! If you have these two conditions, please continue to read more ......
2. Prepare
Please do not separate your learning of Java from other computer technologies. The connection between technologies is often inextricably linked. You should master some basic knowledge involved in learning Java, you shouldn't ask questions such as "how to set classpath" and "begging for JDK", because there are too many answers on the Internet, or even a different angle, isn't it suitable for you to study programming directly?
1) Buy a Java learning book.
The official JDK 6 version has just been launched. You cannot buy JDK 6 books on the market for the moment, but I still recommend you buy a Java book suitable for beginners and newer JDK versions, you can select a JDK 5 getting started book. I can recommend some entry books, but I don't plan to do this, because it is not necessarily suitable for you because it suits my taste. But in any case, thing in Java should never be the first book to get started with Java!
Remember, there are a lot of resources to learn Java on the Internet, but it is basically not systematic enough. Having a Java getting started book is the basis for your system to learn Java.
2) Prepare a Java learning environment.
Prepare your learning environment. Install JDK 6 and use a text editor similar to ultraedit and editplus to configure your learning environment. There are many questions about how to configure the learning environment on the Internet. Article . It is not recommended to use ide tools for Java beginners. Code You will encounter many problems. Only in this way can you learn how to solve the problem and deepen your understanding of Java.
After you are ready, start to enter the exciting Java learning mileage!
3. Java Basics
Although the process of learning Java is hard, it is wonderful everywhere! The mentality in the learning process must be specific. The online "Pk" between languages is everywhere. Don't be influenced by impetuousness! If you identify Java, stick to it! Overcome the demons and perseverance will eventually reward you.
Java systems can be divided into Java SE, Java EE, and Java me (j2se, J2EE, and j2s before JDK 5.0). Java's stepping stone is Java SE, that is, the content you want to get started with, no matter which system field you choose in the future as the development direction, you have to start from Java SE.
Learn Java SE and lay a solid foundation for Java. If you want to learn Java EE (sorry, I don't know Java me, so I cannot involve Java me ), I personally think that AWT and swing should be learned, especially in event processing mode. It is strongly recommended that beginners make it clear that, other specific developments do not have to be fully mastered. After all, AWT and swing content can be described in detail in a few big books; of course, if your job is for AWT and swing development, it is another matter.
I/O and thread are both fundamental components.
4. Java EE learning path
Learning Java SE is only the first step to complete the long journey.
Next, choose to learn Java EE or Java me (or you want to keep learning Java SE in depth, as long as you like it, you can keep going deep, as mentioned above, I will not talk about Java me learning). It is estimated that there will be more learners who select Java ee. Java EE involves a lot of technologies. Considering the acceptance level of beginners, I will try to introduce it from the most common perspective.
To learn Java EE, we do not recommend using a text editor in the development environment. I feel that netbeans 5.5 (the highest official version) is very suitable for beginners. I personally like netbeans, if you like to use other ides such as Eclipse, it's okay.
4.1 learn JSP/Servlet
The maximum Java EE version is 5.0.
In Java EE, we first need to learn the JSP/servlet (combined with Tomcat and MySQL) technology. We recommend jsp1.2/2. X has to be mastered. After all, many of the currently used systems are still based on jsp1.2. To learn JSP, you must also master some extension technologies, such as: You have to master the basic HTML knowledge, it is better to master some JavaScript (one of the currently popular Ajax technologies) and CSS technologies, while understanding XML is essential (at least descriptive configuration information is described through XML ). In the process of learning JSP/servlet, we should combine JDBC and database development technologies. After all, most Java Web projects are closely integrated with databases.
4.2 learn about Database Development Technology
Here I would like to focus on the database development technology. Database technology is essential for business systems. Java Web developers should master the use of SQL statements to a minimum! Database technology can be divided into DBA technology and database development technology. for development, we should focus on database development technology, while basic database operations should also be mastered. Common databases include DB2, Oracle, SQL Server, and MySQL. You can select a database based on your actual needs and make great efforts to master its development technology.
Remember, learning database development technology and learning Java EE are relatively independent. You can also learn database development technology (such as SQL statements) while learning JSP/servlet ), you can also learn the database development technology before learning JSP/servlet.
4.3 learn other Java EE Development Technologies
Later, you can learn some EJB knowledge. Currently, the latest version of EJB is 3.0, which is the same as the previous version 2. the X version is quite different from the X version, considering the current EJB 2. X also has a large application market. We recommend that you study EJB 2.x/ 3.0 in combination. In the course of learning EJB, you should master the use of an enterprise-level application server (such as websphere, WebLogic, Sun applcation server or JBoss). Currently, Sun applcation Server 9. both X and JBoss support EJB 3.0 ).
Later, we will gradually expand to other Java EE technologies.
5. Later
When you have some insights on Java EE, you will naturally want to constantly expand your knowledge. At this time, you can learn spring and hibernate, and various web frameworks (such as struts, JSF, webwork, or tapestry ).
With the accumulation of technology and experience, you will gradually focus on analysis, design, and other high-level knowledge. At this time, you can learn more about the relevant UML, model, and other knowledge (accumulated some experience, you can arrange yourself to learn this knowledge ).
6. Summary
Always remember: from beginning to end, practice is an extremely important part of learning Java technology. It is hard to learn the technology without practice!
There is still no silver bullet in the road to Java learning and practice. Besides, there are many things to learn step by step. Diligence is gold!
Be good at using numerous resources on the Internet and learn more from others' experiences.
There are a lot of arguments about Java at present, such as arguments such as "Java is going downhill" and "Ruby will replace Java". But as I said before, this is an impetuous manifestation, the prospect of Java is very good, especially after Java is open-source! Let them go to quarrel, Master Java, you master the most popular technology at present.
"Plum blossom is from bitter cold", when you have mastered the solid Java Development Foundation, you will be able to take the "Dragon Sword" and "Yi tianjian" in your hand to dance the wind! At that time, you will have a sense of accomplishment.
Above, if you have some help, it would be better.
This article is transferred from www.35java.com