JAVA learning method (Classic)

Source: Internet
Author: User

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, 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 is also some good Java programming articles, some good articles should be Cut down, some questions, even though, as long as the question is not too silly, General experts will answer you. The following describes several programming websites in Java:
CSDN Forum [url] http://www.csdn.net/#/url?technical forum for Chinese famous users. Programmers will publish them
You can ask a question, and someone will answer you immediately. If you think it is good, you can give extra points to the person;
Java research group [url] http://www.javaresearch.org/#/url?there are a lot of original articles, but there are also a lot of advanced;
Java developer [url] http://www.chinajavaworld.com/#/url?then Java data comparison;
Java.com.cn [url] http://www.java.com.cn/#/url?you can check the domain name and the number of registered users is almost 10 thousand,
At the same time, the number of online users is about one thousand, which is very popular;
IBM Developer Network [url] http://www-900.ibm.com/?works/cn/java/index.shtmlibm#/url#forever blue giant;

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? This is only the first step after the long journey. Believe it? Do you know how to design a project and how to organize personnel for development? There may be nothing else in your mind except some scattered code! What you lack most is actual work experience, rather than the programs created out of thin air in books. So you should go to a Java programming job to do it (if you are a student at school, you can take a job) and improve yourself in practice, it is the fastest. But you have to pray to meet a master in the company, and he is willing to give you a hard time to teach you, it seems a little difficult! Another way is to read the open source code program. We know that open source code is mostly from experts. They are well-designed and considerate. Coupled with the participation of a large number of programmers, the value of the Code is naturally the word, powerful (sorry, I have read more about the four talents in the gold market recently ). Two open-source programs required to learn Java are Jive and Pet Store .. Jive is a well-known BBS program outside China and is fully open to source code. The design of the Forum uses many advanced technologies, such as Cache, user authentication, Filter, and XML, and the Forum completely shields access to the database, it can be easily transplanted to different databases. The Forum also provides convenient installation and management programs, which are easy to ignore during programming. (Chinese programmers generally only focus on the technical content of programming, but do not fully consider the user experience, this is the gap between China and foreign software ). The Jive information is available on many websites. You can find it for research. I believe that after you read the code, you will feel reborn. Unfortunately, since 2.5, Jive has no unconditional open source code and license restrictions. Fortunately, there are still top-notch Java programmers in China who are concerned about it. If foreigners are not open-source, can Chinese people not open-source? Here we recommend a Chinese Jive version-J. Jive (J-channel edition) is an adaptation of banq, a famous Java community in China, based on Jive 2.1. It provides all Chinese characters and some practical functions, such as textures, user profile pictures and user data query, and a development team is constantly upgrading. You can access the banq website [url] under the repository. If you have any installation problems, go to the Forum to 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 the Japanese minor called "winning China in three months. It's not that tomjava has poured you into the cold water. Now you have learned the Java bone frame, but you have not yet learned the essence of Java. Now you have to study the design model. The design mode is a required course for senior programmers to grasp the core idea of object-oriented. The design pattern is not a specific & quot; Technology & quot;, it tells the idea, it not only shows the flexible application and wisdom of the interface or abstract class in the actual case, this allows you to grasp the applications of interfaces or abstract classes, so as to take a step forward based on the original Java language. More importantly, the design pattern repeatedly emphasizes a purpose for you: make your program as reusable as possible. For more information about the design patterns, we recommend that banq's website [url] scheme is 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 its essence. We can design our own MVC structure. Then you will study software refactoring and extreme XP programming, and I believe you will take another step. After completing these steps, you may wish to organize your Java code, sort out the classic programs and common applications, and then 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 item can be completed quickly. I believe everyone will come to you in the future, so money will crash ......

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 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 each other. Is it interesting for programmers from different regions to develop the same software at the same time?
The following describes two good open-source project websites:
Public software development platform of Hubei Province [url] http://gro.clinux.org/#/url]
[Url] http://cosoft.org.cn/#/url]

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, turning network resources and Web sites into 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 be like today. On the surface, it is e-commerce. 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? At the very 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 Association [url] http://www.uddi-china.org/#/url]
CSDN's Chai Xiao road [url] http://www.csdn.net/develop/author/columnauthor/fennivel/#/url] (note:
Chai Xiaolu is also a famous character on the Internet. He has published many articles about Web Services and published a book
This is the forerunner of Web service technologies in China)
XML & Web Service columns for the IBM Developer Network:
[Url] http://www-900.ibm.com/developerWorks/cn/xml/index.shtml? CsdnIBM [/url] 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!
Recommended websites:
Java developer: http://www.ChinaJavaWorld.com
Java shared resources: http://www.cnjavaclub.com/06/edocument/1.htm
Java Club: http://www.cnjavaclub.com
Authoritative website in China
Www.cn-java.com
Www.chinajavaworld.com Chinese forum for java

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.