How to learn Java technology? On the path of Java learning

Source: Internet
Author: User
Tags jboss netbeans java se

51CTO Editor's note: This article is already a number of years "age" of the old article, but today it seems still classic. How to learn Java? This article can be said to be a beginner's guide to Programming, which is about how to learn the steps of Java Introduction, many also apply to the development of other skills in the field of learning.

"In the original" Learn Java in my opinion "based on the re-organized into"

Java-The history of the development of computer software in the last 10 years, its status in the hearts of many developers such as "Dragon Slayer Sword", "leaning on the day sword."

Java is a platform, I just want to say that I learn a little bit about Java, I hope to help beginners.

1. Think for a moment

Before learning Java, do not worry, calm down to think about:

1) Are you interested in learning Java?

2) Can you stay calm and study hard?

Well, it's an easy but never-to-be-overlooked issue, and you're sure you're interested in Java and you're prepared for hardship, so you can learn java!. If you have these two-point conditions, please continue to look down ...

2. Prepare

Please do not take your study Java road and other computer technology, technology is often inextricably linked, you should master some of the basic knowledge of Java, for "How to set Ah Classpath", "kneeling jdk" and so on, you should not ask, Because there are too many answers on the internet, or even a different point of view, you are not suitable for direct learning programming?

1) Buy this Java learning book.

JDK 6 has just been launched, you can't buy JDK 6 books on the market, but I still recommend you to buy a new version of the Java book suitable for getting started, so it's still conditional that you choose a book that tells JDK 5. I can recommend some introductory books, but I'm not going to do this because my tastes don't necessarily suit you. But anyway, "Thing in Java" should never be the first book you get started with Java!

Remember, there are a lot of resources to learn Java on the Web, but the basic system is not enough, and having a Java starter Book is the foundation of your system learning java.

2) Prepare the Java Learning environment.

Preparing your learning environment is simple, install JDK 6, then configure your learning environment with a text editor like UltraEdit, EditPlus, and there are many articles on the internet on how to configure it. Beginner Java, not recommended by the IDE tools, through a line of code, you will encounter a lot of problems, only in this way, you can learn how to solve the problem, and deepen their understanding of Java.

When you're ready, get started with exciting Java learning miles!

3. Java Basic Learning Path

The process of learning Java, although hard, but there are wonderful everywhere! The mentality of the learning process must maintain a single-minded, online about the language of "PK" everywhere is, do not be impetuous influence! Look for Java, you stick to it! Overcome the Demons, perseverance will eventually give you a return.

Java's system is divided into Java SE, Java EE and Java ME (JDK 5.0 formerly known as J2SE, EE and J2ME), Java is the stepping stone is the Java SE, that is, you want to get started to learn content, regardless of which system field you choose in the future as the direction of development, You have to start from Java SE.

Learn Java SE, play good Java Foundation; If you want to learn Java EE (I'm sorry, I don't know Java me, so I can not relate to the Java Me content), for AWT, swing whether to learn, I personally feel to know its why, especially its event handling mode, I strongly suggest that beginners must find out that other specific development is not necessarily comprehensive, after all, AWT, swing content enough to use a few large books to describe the details, of course, if your job is to do AWT, swing development, it is another matter.

I/O, thread are one of the basics.

4. Java EE Learning Path

Learning about Java SE is just the first step to completing the "Long March".

Next choose to learn Java EE or Java me (or you want to keep going deep into Java SE, as long as you like, you can go all the way down, as I said before, I will not talk about Java me to learn); it is estimated that there will be more learners who choose Java EE, java EE involves a lot of technology, considering the level of acceptance of beginners, I will try to introduce from the most common point of view.

Learning Java EE, in the development environment is not recommended to use a text editor, I feel NetBeans 5.5 (currently the highest official version) is very suitable for beginners, I personally also like NetBeans, if you like to use other Ides such as Eclipse, no problem, see yourself like it.

4.1 Learning Jsp/servlet

The highest version of Java EE is currently version 5.0.

In Java EE, the first to learn Jsp/servlet (combined with Tomcat, MySQL) technology, suggest that jsp1.2/2.x knowledge to master, After all, now a lot of the system is still based on JSP1.2, learning JSP, but also have to master some of the extension technology, such as: You have to master the basic knowledge of HTML, it is best to master some JavaScript (currently one of the most popular Ajax technology), CSS technology, Understanding XML is essential (at least descriptive configuration information is described by XML). In the process of learning jsp/servlet, we should study JDBC and database development technology, after all, most of the Java Web projects are closely integrated with the database.

4.2 Learning Database Development Technology

Here I would like to focus on the database development technology, database technology is to do business system necessary skills, Java Web developers should be the minimum to master the use of SQL statements! Database technology can be broadly divided into DBA technology and database development technology, for development, should focus on database development technology, and the basic operation of the database, but also to master. The common database has DB2, Oracle, SQL Server, MySQL, etc., you can combine the actual need, choose a kind of database, and take great effort to master its development technology.

Remember, learning database development technology and Learning Java EE, is relatively independent, you can learn jsp/servlet at the same time, learn the database development techniques (such as SQL statements, etc.), or learn the database development techniques, and then learn Jsp/servlet.

4.3 Learn Java EE other development technologies

Then, you can learn some of the EJB knowledge, the current EJB version is 3.0, and the previous version of the 2.X compared to a larger difference, considering the current EJB 2.X has a large application market, it is recommended to combine learning EJB 2.x/3.0. In the process of learning EJB, you should also master the use of an enterprise application server (such as WebSphere, Weblogic, Sun Applcation Server or JBoss, etc., currently Sun Applcation Server 9. Both X and JBoss can support EJB 3.0).

Later in the study, and then gradually extended to other Java EE technology.

5. After

When you have some sense of Java EE, you will naturally want to expand your knowledge, you can learn spring, Hibernate, and various web frameworks (such as struts, JSF, webwork or tapestry, etc.).

With the continuous accumulation of technology and experience, you will gradually focus on the analysis, design and other higher level of knowledge, at this time, you can further learn the relevant UML, patterns and other knowledge (accumulated a certain 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 the Java technology process. Out of practice, is not learning technology!

Java Learning, the practice of the road is still no silver bullets, and step by step, to learn a lot of things, diligence is gold!

Be good at using many resources on the Internet, and learn more about others ' experiences.

There are a lot of arguments about Java, such as "Java is going downhill", "Ruby will replace Java" and other arguments, but as I said earlier, this is a kind of impetuous performance, Java's foreground is very good, especially after Java open source! Let them argue, master the Java, you have mastered the current most fire technology.

"Plum blossom fragrance from bitter cold", when you master a solid Java Development Foundation, you can put the hands of this "Dragon Slayer Sword", "Leaning Day Sword" Dance wind water up! At that time, you will certainly have a sense of accomplishment.

Above, you probably know how to learn Java?

(go) How to learn Java technology? On the path of Java learning

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.