Java Basics How to learn Java_java

Source: Internet
Author: User
Tags prepare java web jboss netbeans java se

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

1. Think About

Before you learn Java, don't worry, just calm down and think:
1 Are you interested in learning Java?
2 Can you calm down and persevere in your study?
Well, this is an easy but definitely not to ignore the problem, you are sure you are interested in Java, but also have to endure hardship, then you can learn java! If you have these two-point conditions, please continue to look down ...

2. Prepare

Please do not take your learning Java road and other computer technology, technology is often inextricably linked, you should master some of the basic knowledge of learning Java, for "classpath How to set ah", "kneeling for JDK download address" and so on, you should not ask, Because there are too many answers on the internet, even in a different way, you are not suitable for direct learning programming?

1 Buy a Java learning book .

JDK 6 has just been launched, you can not buy JDK 6 of the book, but I still recommend you to buy an entry-level, newer JDK version of the Java book, then you now choose a book on JDK 5 of the primer still conditional. I can recommend some introductory books, but I'm not going to do it because it doesn't necessarily suit you. But anyway, "Thing in Java" should never be your first book to get started in Java!
Remember, there are a lot of resources to learn Java on the Web, but basically not enough system, have a Java primer book, is your system Learning Java Foundation.

2 Prepare Java Learning environment.

Preparing your learning environment is simple, installing JDK 6, and then configuring your learning environment with a text editor like UltraEdit and EditPlus, with lots of articles on how to configure the Internet. Beginners Java, do not recommend using IDE tools, through a line of the knock code, you will encounter a lot of problems, only in this way, you can learn how to solve problems, and deepen their understanding of Java.
When you're ready, get into the exciting Java learning mileage!

3. Java Basic Learning Path

The process of learning Java, although a little hard, but there are wonderful everywhere! The mentality of the learning process must remain single-minded, online about language between the "PK" is everywhere, do not be impetuous influence! Look for Java, you insist! Overcome the Demons, perseverance will eventually give you return.
Java system is divided into Java SE, Java EE and Java ME (JDK 5.0 formerly called J2SE, EE and J2ME), Java is the gateway to the Java SE, that is, you want to get started learning content, regardless of the future you choose which system areas as the direction of development, You have to start with Java SE.
Learn Java SE, play Java basics; If you want to learn Java EE (sorry, I don't know Java me, so I can't relate to Java me), for AWT, swing to learn it, I personally feel that I still want to know why, especially its event handling mode, I strongly suggest that beginners must make clear that other specific development does not necessarily have to be fully mastered, after all, the content of AWT, swing is enough to use a few voluminous books to describe the detailed; Of course, if your job is to do AWT, swing development, that's another matter.
I/O, thread is one of the basics.

4. Java EE Learning Path

Learning Java SE, but also just complete the "Long March" first step.
Then choose to learn Java EE or Java me (or you want to continue to learn Java SE, as long as you like, you can continue to go deep, as mentioned above, I do not talk about Java me learning); it is estimated that the number of learners who choose Java EE will be more, Java EE is involved in a lot of technology, considering the acceptance of beginners, I will try to introduce from the most common point of view.
Learning Java EE, no more text editors are recommended in the development environment, I feel that NetBeans 5.5 (the most current version) is good for beginners, I personally like NetBeans, if you like to use other Ides such as Eclipse, you can 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 step is to learn Jsp/servlet (combined with Tomcat, MySQL) technology, recommend jsp1.2/2.x knowledge to master, After all, many in the use of the system is still based on JSP1.2, learning JSP, but also must master some of the epitaxial technology, such as: You have to master the basics of HTML, it is best to master some JavaScript (at present, one of the Ajax technology), CSS technology, Understanding XML is essential (at least descriptive configuration information is described through XML). In the learning Jsp/servlet process, should combine the study JDBC, the database development technology, after all, most Java Web projects are closely combined with the database.

4.2 Learning Database Development Technology

Here I would like to focus on the database development technology, database technology is the necessary skills to do business systems, Java Web developers should be the minimum to grasp the use of SQL statements! Database technology can be divided into DBA Technology and database development technology, for development, should focus on database development technology, and database basic operation, but also to master. Common database has DB2, Oracle, SQL Server, MySQL and so on, 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, learning database development technology (such as SQL statements, etc.), or first learn database development technology, and then learn Jsp/servlet.

4.3 Learning Java EE Other development techniques

In the future, you can learn some EJB knowledge, the current EJB version is 3.0, and the previous 2.X version, there is a big difference, considering the current EJB 2.X also has a large application market, it is recommended to combine learning EJB 2.x/3.0. In learning EJB, you should also master the use of an enterprise-class application server (such as WebSphere, Weblogic, Sun Applcation Server, or JBoss), 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 insight into Java EE, you naturally want to expand your knowledge, and you can learn spring, Hibernate, and various web frameworks (such as struts, JSF, webwork, or tapestry).
With the continuous accumulation of technology, experience, you will gradually focus on analysis, design and other higher level of knowledge, at this time, you can learn more about the relevant UML, patterns and other knowledge (accumulated a certain experience, you can arrange yourself to learn this knowledge).

6. Summary

Always remember that practice is an extremely important part of learning Java technology throughout. Out of practice, is not to learn technology!
Java Learning, the road of practice is still no silver bullets, and step by step, to learn a lot of things, diligence is gold!
Make good use of the Internet's many resources, learn more about other people's experience.
There are a lot of arguments about Java, such as "Java is going downhill", "Ruby will replace Java" and so on, but as I said earlier, this is a kind of impetuous performance, Java's future is very good, especially after Java open source! Let them quarrel, master the Java, you have mastered the current most fire technology.
"Plum blossom incense from the bitter cold", when you master a solid foundation of Java development, you can put the hands of this "Dragon Sword", "against the Sky Sword" Dance wind water up! At that time, you must have a sense of accomplishment.

Wish everyone like Java, learn Java, do a good job, live a better life!

Related Article

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.