How to quickly become a Java expert [Tomjava original]
Many netizens asked me if I had any shortcuts to learning Java. I said, "I have no choice but to learn Java ". However, I am willing to write out some of my learning experience 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 Sun ONE (Open Net Environment) 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 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. Also, if you want to compile a program for sending emails in Java, you have to look at Javamail.
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 books with examples and CDs, so that you can directly Ctrl + C and then Ctrl + V to see a good program, you don't have to worry about making another mistake! There are also some good Java programming articles that need to be Cut down. If you have any questions, even if the question is not too silly, the experts will answer you. The following describes several programming websites in Java:
CSDN Forum http://www.csdn.net/China's most famous Technology Forum, "programmer" magazine is they published, you can raise a question on it, someone will answer you immediately, if you feel good, you can add extra points to the person;
Java research organization http://www.javaresearch.org/There are a lot of original articles, Master is quite a lot;
Java developer http://www.chinajavaworld.com/where Java data is more comprehensive;
IBM Developer Network http://www-900.ibm.com/developerWor...ava/index.shtml IBM Forever blue giant;
Http://www.javastudy.org/?url=this ?.. // Www.jdon.com/to download, or to the Tongji Technical Forum server ftp://nro.shtdu.edu.cn to go down, install ?.. Ask questions. Pet Store. (Pet Store) is an open source code program launched by SUN to demonstrate its J2EE programming specifications. It should be very authoritative. Do not miss it if you want to learn J2EE and EJB.
You will be happy to say, haha, it's so easy to become a Java master! I remember that Tomjava also met a project manager who claimed that Java was very simple and could be learned in just three months. In fact, people who say this are just as arrogant as Japan once claimed to be "winning China in three months. It's not about Tomjava. You just learned the Java skeleton, but haven't learned the essence of Java. Now you have to study the design model. 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: make your program as reusable as possible. About the design model of the information, or to recommend to everyone banq website http://www.jdon.com/, he interpret the 23 GOF mode in easy to understand, pure Java description, really classic. If you have time to study the MVC structure (the design idea of Splitting Model-View-Control), Structs is a popular implementation method, however, Structs is very complicated to use. We only need to learn the essence of Structs. We can design our own MVC structure. Then you will study software Refactoring and extreme XP programming, and I believe you will go further.
After completing these steps, you may wish to organize your Java code, sort out the classic programs and common applications, and then carefully create them to improve their reusability and scalability. Let's look for some more like-minded friends to set up a studio. You can undertake some projects. It may be difficult at the beginning, but you have accumulated technical skills and have a thorough consideration, the next project can be completed quickly. I believe everyone will come to you in the future, so money is coming ......
Of course, you can also participate in some open-source projects. On the one hand, you can improve yourself, and on the other hand, you can also contribute to the Chinese software industry! Developers use cvs for cooperative development on the Internet, and use QQ, MSN, and e-mail to discuss and contact. Is it interesting that programmers from all over the world develop the same software at the same time?
The following describes two good open-source project websites:
Hubei Province software public development platform http://gro.clinux.org/
Consortium http://cosoft.org.cn/
Wow, I'm so happy that I have finally become a master! Neither. The ancients said: "The wise man is handsome ". Do you know the current development situation of the computer industry? Do you know the fight between Microsoft's. Net blueprint and Sun One Plan? Do you know where computer technology will develop? In fact, from the recent actions of major computer manufacturers, we can see that "Web services will be the commanding heights of next-generation Internet applications", while Microsoft's. net blueprint and Sun ONE plan, that is, Web services. Web Service is a brand new distributed computing model, which is a series of standard integrations (XML, SOAP, UDDI, WSDL and WSFL ). It allows software written in different languages to be easily integrated, making network resources and Web sites a service rather than a messy waste. In the near future, we will be able to click the mouse at home to complete all preparations for traveling, including flight booking, route booking, and room booking. Please note that all of this is done automatically between Web sites, and there is no need to use e-commerce as it is now. In fact, many links are manual operations. You may think this is a night talk, but it is very likely that you will undertake a project to integrate the ERP systems of two enterprises. It is very likely that the systems of upstream enterprises are compiled using dephi, while those of downstream enterprises are compiled using Java. You said that you are a master of Java, and everyone sees how you do it. So, you have to learn new technologies, such as Web Services, and you need to understand dephi (dephi6 now provides Web Service controls ). The Java System you compiled may be integrated with. net, so do you understand. Net? In the end, you may find that you have become a master of Java, but you have been engaged in other technologies for a lot of time. Tai chi Zhang Sanfeng said that the most amazing trick is no trick. Maybe this is the truth!
Because of the rise, there are not many web services on the Internet. I 'd like to recommend several websites to you:
China UDDI Technology Alliance http://www.uddi-china.org/
Csdn Chai Xiao road column http://www.csdn.net/develop/author/...uthor/fennivel/ (Note: Chai Xiao road is also a famous person on the Internet, he published a lot of articles about web services, but also a book, it should be referred to as the pioneer of Web Service technology in China)
Xml & Web Service columns for the IBM Developer Network:
Http://www-900.ibm.com/developerWor...ndex.shtml? Csdn IBM is a Web Service promoter
... You have struggled to become a master of Java! Yes, it's not easy. It's not easy. It's really touching! So let me have a call. What? What is my phone number? Faint. You can call to ask if you don't know. Really ......
Author: tomjava
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.