How to become a Java expert quickly

Source: Internet
Author: User

Many netizens asked me to learn Java have any shortcut, I said "without him, only hand-cooked." But I am willing to learn some of their experience to write out, so that later people less detours, help others is the greatest joy!

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 has evolved into three main chunks by application: J2se,j2me and Java EE, which is the Sun one (Open Net environment) system. J2SE is the standard version of JAVA2, mainly for desktop application software programming, J2ME is mainly used in embedded system development, such as mobile phone and PDA programming; Java EE is a JAVA2 Enterprise Edition, mainly for the development of distributed network programs, such as e-commerce websites and ERP systems. 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. Also, if you're going to use Java to send email programs, you'll have to look at JavaMail.

Well, for Java and EE have some basic concepts, you should make up some programs, do not talk on paper OH. It is best to find some examples and with the CD-ROM book, so see the good program can be directly Ctrl + V, also do not have to Labor you eldest brother to lose it again, and then directly copy not afraid of error, why not! There is a lot of good Java programming articles, there are good articles to cut down, there are problems although asked, as long as the problem is not too silly, the general master will answer you.

Here are a few good Java programming sites:

CSDN Forum http://www.csdn.net/China's most famous technology forum, "programmer" magazine is they published, you can ask questions on it, immediately someone to answer you, if you feel good, you can give that person extra points;

Java Research organization http://www.javaresearch.org/above has a lot of original articles, master or very much;

Java Developer http://www.chinajavaworld.com/There is a complete comparison of Java data;

java.com.cn http://www.java.com.cn/Look at this domain name to know there are many cattle, registered users nearly 10,000, while online number is also around 1000, popularity is very prosperous;

IBM's Developer Network http://www-900.ibm.com/developerWorks/cn/java/index.shtml IBM's Forever Blue giant;

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! What you lack right now is the actual work experience, not the programs that come out of the book. So you have to find a Java programming work to do it (if students can go to do part-time in school), in practice to improve themselves, that is the fastest. But you have to pray to meet a master in the company, and he is willing to take the trouble to teach you, it seems a bit difficult oh!

Another way is to read the open source program. We know that most of the open source from the master, they design reasonable, thoughtful, coupled with the vast number of programmers involved, the value of the code is naturally a word bead, sonorous (sorry, I recently "golden Four talent" see more). Learn Java must-read two open source programs are jive and pet Store. Jive is a very well-known foreign BBS program, completely open source. The forum is designed using a lot of advanced technology, such as cache, user authentication, Filter, XML and so on, and the forum completely blocked access to the database, can easily be ported in different databases. Forum also has a convenient installation and management procedures, which is our usual programming easy to ignore a part (Chinese programmers generally focus only on the technical content of programming, but completely regardless of the user's feelings, this is the difference between our foreign software). Jive's information is available on many websites, so we can look into it. I believe that after you read the code, there will be a feeling of a completely reborn. Unfortunately, Jive has no unconditional open source code since 2.5, with licence restrictions. But fortunately there are Chinese first-class Java programmers pay attention to it, foreigners do not open source, the Chinese can not open source it? Here we recommend a Chinese version of Jive-j Tao. Jive (j) is a Chinese Java industry famous Banq in the Jive 2.1 version based on the adaptation, all Chinese, added some useful features, such as stickers, user avatars and user data query, and there is a development team is constantly upgrading. You can visit the BANQ website http://www.jdon.com/to download, or to the Tongji Technology Forum on the server ftp://nro.shtdu.edu.cn to go down, the installation of any problems, you can go to the forum to ask questions. Pet store. (Pet Shop) is the open source program that Sun company launches to demonstrate its Java EE programming specifications, should be very authoritative, want to learn the Java EE and EJB friends do not miss.

You will be happy to say, Haha, turned out to be a Java master is so simple Ah! Remember Tomjava also met a project manager, known as Java is very simple, as long as three months can learn. In fact, those who say such words as the small Japanese called "three months to win China" as much as the audacity. It's not tomjava you're cold, you're just learning Java's skeleton, but you haven't learned the essence of Java. Next you have to study the design pattern. 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. About the design patterns of information, or to recommend Banq's website http://www.jdon.com/, he gof 23 models to be interpreted in an easy-to-understand way, pure Java description, is classic classics. Have time to study the MVC structure (model-view-control separation of design ideas), now very popular structs is one of its implementation, but structs is very complex, we just learn its essence can, We can completely design our own MVC structure. Then you look at the software refactoring (reorganization) and XP programming, I believe you will be a step.

When you're done, you might as well tidy up your Java code, sort out the classic programs and common applications, and then build them up to make them more reusable and scalable. You find a few like-minded friends to set up a studio, you can go to undertake a number of projects to do, at the beginning may be some difficulties, but you have the technical accumulation, and thoughtful consideration, the project can be completed quickly, I believe we will come to you later, so money on the ...

Of course, you can also participate in some open source projects, on the one hand can improve themselves, on the other hand is to contribute to the Chinese software business! Is it interesting that developers work with CVS on the Internet to discuss connections with Qq,msn,e-mail, and far apart programmers are scattered around while developing the same software?

Here are two good open source project sites:

Hubei Province software public development platform http://gro.clinux.org/

Co-Create Alliance http://cosoft.org.cn/

Wow, so happy oh, I finally become a master! Non-also, non-also. The Ancients Cloud: "Valor". Do you know the current development situation of computer industry? You know Microsoft's. NET Blueprint and the Sun One plan? Do you know where computer technology will evolve? In fact, from the recent actions of major computer manufacturers, you can see that "Web services will be the commanding heights of the next generation of Internet Applications", and Microsoft's. NET Blueprint and the Sun One plan are the focus of the struggle, namely Web services. Web Service is a new distributed computing model, which is a series of standard synthesis (XML,SOAP,UDDI,WSDL and WSFL, etc.). It makes it easy to integrate software written in different languages, making network resources and Web sites a service rather than a cluttered dump. Not far in the future, we can click on the mouse at home, you can complete the travel of all preparations, including air tickets, travel routes, set a good room. Please note that all this is done automatically between Web sites, and no longer the same as now, on the surface of e-commerce, in fact, many of the links are manual operation. Perhaps you will think this is the implausible, but the nearest said, you also very likely to undertake a project, to integrate two enterprise ERP system. It is possible that the upstream enterprise system is dephi, while the downstream enterprise system is compiled with Java. You say you are a Java master, everyone see how you do it. So, you have to learn new technologies, such as Web services, and you dephi have to understand a little bit (Dephi6 now provides Web service controls). You make up the Java system, you may want to and. NET integration, so you. NET to understand a little? In the end, you may find that you have become a Java master, but a lot of time is doing other techniques. Taiji Zhang Sanfungli said, the most powerful moves are no moves, maybe that's the truth!

Because it has just arisen, so the online Web service is not a lot of information, I still recommend a few sites for you:

China UDDI Technology Alliance http://www.uddi-china.org/

CSDN's Chai Xiaolu column http://www.csdn.net/develop/author/ColumnAuthor/fennivel/(note: Chai Xiaolu is also a famous person on the Internet, he has published a lot of articles on Web services, but also a book, Should be called the pioneer of Web service technology in China)

Xmlweb Service column for IBM's Developer Network:

HTTP://WWW-900.IBM.COM/DEVELOPERWORKS/CN/XML/INDEX.SHTML?CSDN IBM is a force pusher for Web services

Wow ... You have to struggle thousand hearts million bitter, finally become a Java master, how to call people not from the joy of the very cry! Yes, really not easy, really not simple, really touched Ah! So call me and tell me, what? What's my phone number? Faint, you call to ask not to know, really ...

How to become a Java expert quickly

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.