How to Learn Java quickly become a master of Java

Source: Internet
Author: User

Many netizens asked if there were any shortcuts to learning java. I said, "No more, no more ". However, Java private school is willing to write some experiences, so that later users can take less detours and help others is the greatest pleasure!

To learn java well, you must first understand the general classification of Java. We know that since Sun launched Java, it has made every effort to make it all-encompassing. Therefore, since its development, Java has been divided into three main parts by application: j2se, j2-and J2EE, this is the SunONE (Open netenvironment) system. J2se is the standard version of Java2 and is mainly used for programming desktop application software. j2se is mainly used for embedded system development, such as mobile phone and PDA programming. J2EE is the Enterprise Edition of Java2, it is mainly used for the development of distributed network programs, such as e-commerce websites, OA Systems and ERP systems. Compared with traditional development languages such as Vc, VB, and dephi, j2se does not seem to have obvious advantages in developing desktop applications. For beginners, it seems a bit esoteric, and it is difficult for developers to have a development environment. So J2EE is the most widely used and best to learn. J2EE includes many components, such as JSP, Servlet, JavaBean, EJB, JDBC, and javamail. It's not a day or two to learn.

So how can we learn J2EE? Of course, I/O, util, and Lang are all familiar with Java syntax? And then learn from JSP. If you have learned HTML, there are a lot of things to do. If not, you can add the HTML basics. In fact, there are not many Java syntaxes in JSP. It is more like a scripting language, a bit like ASP. Then you should learn servlet. Servlet is a server-side applet that generates HTML files sent to the client. During execution, JSP is converted to servlet before running. Although jsp can completely replace servlet in theory, this is also the intention of sun to launch JSP, but servlet is very convenient to control the process jump, it also makes the program clearer. Next, you should learn about JavaBean. Maybe you have long looked at the confusing way JSP embeds Java code in HTML. What is the difference between this method and ASP? Fortunately, Sun provides Javabean to encapsulate the Java code in your JSP to facilitate calls and reuse. The next step is EJB, and EJB is the Enterprise JavaBean. The name seems to be a JavaBean, but it is different from the JavaBean. It is an architecture where you can build safer and more stable enterprise applications. A large amount of code has been completed by middleware (also known as Weblogic and WebSphere J2EE servers), so the amount of code we need to do is small, most of the work is on designing and configuring middleware. As for JDBC, I don't need to talk about it. If you have compiled a program to access the database in Java, you should be familiar with it. Finally, JavaScript is also the key point for everyone to master. Currently, almost no Javascript is left blank for interviews in all companies.

Well, after having some basic concepts of Java and J2EE, you should compile some programs and never talk about them on paper. It is best to find some small programs to write from the beginning. You can download a project's video program and source code on www.w.s.cn!

So I read the book and the program. I can solve all the questions asked by others. Is it true that I have become a master? Of course it is not that simple. This is only the first step after the long journey. Believe it? Then, if you go out to pick up a project, do you know how to do it, do you know how to design it, and how to organize personnel for development? There may be nothing else in your mind except some scattered code! This shows that you only have some basic knowledge and are not fully understood! What you lack most now is the cultivation of practical work experience and programming ideas, rather than those that come out of thin air in books. You should find that you understand the content in books, but you still can't write your own things. You still need to rely on books!

I remember that the Java private school also met a trainee who said that the training was successful in Java and the framework was also understood. In fact, he has only learned the Java skeleton, but has not yet learned the essence of Java. Now you have to study the design model. For the design model, you can go to the Java website www.javass.cn to find the materials to download! The design pattern is a required course for senior programmers to truly grasp the core idea of object-oriented. The design pattern is not a specific "technology", it tells the idea, it not only shows the flexible application and wisdom of interfaces or abstract classes in actual cases, this allows you to grasp the applications of interfaces or abstract classes, so as to take a step forward from the original Java language. More importantly, the design pattern repeatedly emphasizes a purpose for you: to make your program reusable as much as possible, the MVC structure (the design idea of separating Model-View-Control) must be studied, the popular structs is one of its implementation methods, but structs is very complicated to use, which is better than webwork2.0. Then you will study the Hibernate and spring frameworks. I believe you will take another step. After completing these steps, we should do some practical projects, instead of writing about greedy snakes and foods. For practical projects such as tank wars, we should write some projects with practical application values.

From: http://java.csdn.net/page/cf63f01d-a375-4ff5-b380-ebab501ef36b

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.