How to learn Java quickly become a Java master

Source: Internet
Author: User

To learn Java well, you first need to know the approximate classification of java. We know that since Sun introduced Java, we have tried to make it all-encompassing, so Java developed to now, according to the application to divide into three main chunks: J2se,j2me and Java, this is the SunOne (Open netenvironment) system. J2SE is the standard version of JAVA2, mainly for desktop application software programming, J2ME mainly used in embedded system development, such as mobile phone and PDA programming; Java EE is the JAVA2 Enterprise Edition, mainly for the development of distributed network programs, such as e-commerce website, OA system and ERP system. J2SE developing desktop applications is not as obvious as the vc,vb,dephi of these traditional development languages. J2ME for beginners, it seems to be a bit esoteric, and the general developer is very difficult to have a development environment. So now the most widely used and most studious is the Java EE. The Java EE also includes many components, such as Jsp,servlet,javabean,ejb,jdbc,javamail. It's not a day or two to learn.

So how to learn the Java EE? Of course Java syntax to look first, I/O package, util package, Lang package you are familiar with it? And then learn from the JSP. If you learn html, then things are much better to do, if not, then you go to supplement the HTML base it. In fact, JSP in the Java syntax is not much, it is more like a scripting language, a bit like ASP. Then you should learn the servlet. A servlet is a server-side applet that generates an HTML file that is sent to the client. When the JSP is executed, it is converted into a servlet before it is run. Although JSP theoretically can completely replace the servlet, which is also the intention of sun introduced JSP, but the servlet used to control the flow of the jump is very convenient, but also make the program clearer. Next you should learn to JavaBean, perhaps you have already seen the JSP in HTML embedded Java code in the chaotic way, this way with the ASP and what is the difference? Fortunately, Sun provides javabean to encapsulate the Java code in your JSP for easy invocation and reuse. Then EJB, EJB is Enterprise JavaBean, look at the name as if it is JavaBean, but it and JavaBean still have a difference. It is an architecture that allows you to build more secure and stable enterprise applications. Its large number of code has been done by the middleware (that is, we often hear weblogic,websphere these Java EE servers), so we have to do very little program code, most of the work is in the design and configuration of middleware. As for JDBC, you don't have to tell me more, you should be familiar with the Java program that accesses the database. Finally, JavaScript is also a key point to grasp, and now all companies interview almost without asking JavaScript

Then I read the book, the procedure has been done, others asked me the question I can solve, is not become a master of it? Of course it's not that simple, it's just the first step Long march. Don't believe me? Do you know how to do it, do you know how to design it, do you know how to organize people to develop it? You may have nothing else in mind now, except for some messy code! This shows that you are only a few basic knowledge, and do not fully understand! What you lack now is the actual work experience and the cultivation of programming ideas, not the programs that come out of the book. You should find that you have a little, you understand the contents of the book, but you have to write things or not, or rely on books!

Next you have to study the design pattern. Design mode of the book you can go to the school's website www.bjsxt.com to find information to download it! The design pattern is a required course for the senior programmer to master the object-oriented core idea. Design pattern is not a specific "technology", it is about the idea, it not only shows the interface or abstract class in the actual case of the flexible application and wisdom, so that you can really master the interface or abstract class application, thus on the original Java language based on further, more importantly, Design patterns repeatedly emphasize one tenet: to make your program as reusable as possible, the MVC structure (the design idea of model-view-control separation) is a must to study, and now the popular structs is one of its realization, But structs use is very complex, compared to the webwork2.0 better. Then you look at Hibernate and the spring framework, and I'm sure you'll be on the next step. After this, we should do some practical projects, do not write some greedy snake food ah, tank war this impractical project, to write some practical application value of the project.

How to learn Java quickly become a Java master

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.