How to quickly become a Java master!

xiaoxiao2021-03-06  24

"How to quickly become a Java master! "[Repost] turn www.java.com.cn

Many netizens asked me if I have learned Java, I said, "No, I'm only ripe." But I am very willing to write some of my experiences to learn, so that the later people will bent, help others are the biggest happiness! To learn Java, you must first know the general classification of Java. We know that since SUN has launched Java, we will try to make it out, so Java has developed to the present, and it is divided into three blocks according to application: J2SE, J2ME and J2EE, this is Sun One (Open Net Environment )system. J2se is the standard version of Java2, mainly for desktop applications. J2ME is primarily applied to embedding is system development, such as mobile phones and PDA programming; J2EE is a java2 enterprise version, mainly for distributed network programs, Such as e-commerce websites and ERP systems. J2SE development desktop application compared to VC, VB, Dephi these traditional development languages, the advantage is not obvious. J2ME For beginners, it seems that it is a little peers, and general developers have difficult to develop environments. So now the most widely used and best student is J2EE. J2EE includes many components such as JSP, Servlet, JavaBean, EJB, JDBC, Javamail, etc. It is not a one or two things to learn. So how do you learn J2EE? Of course, Java grammar first look at it first, I / O bag, util package, lang package, are you familiar? Then learn from JSP. If you have learned HTML, then things have to do more, if not, then you will make up a filling of the HTML foundation. In fact, there are not many JAVA syntax in JSP. It is more like a scripting language, a bit like ASP. Then you have learned a servlet. Servlet is a server-side applet, which is responsible for generating an HTML file sent to the client. JSP is executed, and it is also converted to servlet and then run. Although JSP can completely replace servlet, this is also the intention of Sun launches JSP, but servlet is used to control process jumps or is very convenient, and the program is clearer. Next, you should learn Javabean, maybe you have long been seen whether JSP is chaotic in HTML, this way is there again? Fortunately, Sun provides JavaBean to encapsulate JAVA code in your JSP, making it easy to reuse. Then EJB, EJB is Enterprise Javabean, see the name, it is Javabean, but it is still different from JavaBean. It is an architecture that you can build safer and more stable enterprise applications. Its large number of code has been completed by the middleware (which is the WebLogic, WebSphere, the J2EE server we often, so the amount of program code we have to do, most of the workers are in design and configure the middleware. As for JDBC, I don't have to say more. If you use Java to edit the database, you should be familiar. Also, if you want to send an email with Java, you have to look at JavaMail. Ok, after the Java and J2EE have some basic concepts, you should compose some programs, don't talk on the paper.

It is best to find some instances and books with discs. This way you see a good program can directly Ctrl C, Ctrl V, you don't have to use your old rack and then lose it again, then directly copy Don't be afraid of mistakes, why not! There is also a good Java programming article, there is a good article to be cut, there is a problem, as if you ask, as long as the question is not too stupid, the masters will answer you. Here is a few good Java programming websites: 9CBS Forum http://www.9cbs.net/ China's most famous technical forum, "Programmer" magazine is published, you can ask questions above, immediately Someone answered you, if you feel good, you can add points to the man; Java Research Group http://www.javaresearch.org/ There are many original articles on it, the master is still very much; Java developer http: // www .chinajavaworld.com / there is also a more comprehensive; java.com.cnhttp://www.java.com.cn/ Look at this domain name, you know how to have a bull, the registered user is getting 10,000, and the number of online people is also in one. Thousands, very popular; IBM developer network http://www-900.ibm.com/developerworks/cn/java/index.shtmlibm eternal blue giant;

Then my book also look, the program is also done, others ask my question, I can solve it, is it a master? It is not that simple, this is only the first step in the long qualification. Do not believe? Then you go out to pick a project, do you know how to get started, do you know how to design? Do you know how to organize personnel to develop? You now have some of the scattered code in your mind, there may be no other thing! What you are most lacking now is the actual work experience, rather than books that you want to come out. So you are going to find a Java programming work to do it (if you can do it even in school), raise yourself in practice, that is the fastest. However, you have to pray that you encounter a master in the company, and he is willing to teach you anymore, this seems to be a bit difficult! There is also a way to read an open source program. We know that the open source is mostly from the master. They have reasonable design, considering thoughtful, coupled with the majority of programmers to participate, the value of the code is naturally the word beads, powerful (sorry, even the "gold four talents" too much). Two open source procedures for learning Java must read is Jive and Pet Store.. JIVE is a very famous BBS program, fully open source. The design of the forum has adopted many advanced technologies such as cache, user authentication, FILTER, XML, etc., and the forum fully shields access to the database, which can be easily transplanted in different databases. The forum also has a convenient installation and management procedure. This is a part that we are easily ignored when we usually program (Chinese programmers generally pay attention to the technical content of programming, but do not consider the user's feelings, this is our gap between us with foreign software The location). JIVE's information is available on many websites, you can find it. I believe that after reading the code, there will be a feeling of reborn. Unfortunately, JIVE will no longer have no conditional open source, while there is a License restriction. Fortunately, there is also a first-class Java programmer in China to pay attention to it. Foreigners do not open source, is the Chinese can't open source? Here you recommend a Chinese JIVE version -j channel. JIVE (J Dao Edition) is a famous Banq, a famous Banq, a famous Chinese Java, has adapted, and all Chinese, including some practical functions, such as map, user avatar, and user data query, and there is a development team in non-stop upgradin. You can visit Banq's website http://www.jdon.com/ download, or go to the Tongji Technology Forum server ftp://nro.shtdu.edu.cn, what is the problem is installed, you can go to the forum Ask questions. Pet Store. (Pet Shop) is Sun Company to demonstrate its J2EE programming specification, it should be very authoritative, and friends who want to learn J2EE and EJB don't miss it. You will be happy to say, haha, it is so simple to become a Java master! Remember that Tomjava has also encountered an item manager, known as Java is simple, as long as you can learn in three months. In fact, people who say this kind of words are like "three months to win China" in the same year. Not Tomjava, touched you cold water, you just learn Java's skeleton, but did not learn the essence of Java. Next you have to study the design pattern. The design pattern is a compulsory course for advanced programmers really grasp the core idea of ​​the face.

The design pattern is not a specific "technology". It tells the idea. It not only shows the flexible application and wisdom of the interface or abstract class in the actual case, so that you can truly master the application of the interface or abstract class, thus The original Java language is jumped, more importantly, the design model repeatedly emphasizes a purpose: to make your program can be reused as possible. About design patterns, or recommend Banq website http://www.jdon.com/, he interprets the 23 models of GOF in a generous way, pure Java description, is a classic classic. Have time to study the MVC structure (separating model-view-control separate design ideas), now very popular Structs is a way of implementation, but StruCTS is really very difficult, we only need to learn its essence However, we can design your own MVC structure. Then you study the software refactoring and limit XP programming, I believe you will last. After doing this, you better sort out your Java code, organize those classic procedures and common applications, and then create a reusability and scalability. You find a few like-minded friends to set up a studio. You can take some projects, you may have some difficulties, but you have technical accumulation, think about week, next project to make it quickly, believe everyone I will come to you later, so Money is coming. . . . . . Of course, you can also participate in some open source projects, on the one hand, you can improve yourself, on the other hand, it is also contributed to the Chinese software business! Developers have developed with CVS on the Internet, with QQ, MSN, E-mail discussion, and the programmers in Tiannanhai are divided into the same software at the same time, is it interesting? Here is two good open source project sites: Hubei software public development is flat http://gro.clinux.org/ Co-founded http://cosoft.org.cn/ Wow, I am so happy, I finally became a master. ! Non-also, not. The ancients cloud: "The time workers are Junjie". Do you know that the current development situation is now? Do you know that Microsoft's .NET Blueprint and Sun One Plans? Do you know where computer technology will develop? In fact, from major computer vendors, you can see that "Web services will be the next generation of Internet" The high point of the application ", while Microsoft's .NET Blueprint and Sun One Plan Focus, that is, web services. Web services are a new distributed computing model that is a series of standards (XML, SOAP, UDDI, WSDL, and WSFL, etc.). It enables software written in different languages ​​to easily integrate, enabling network resources and web sites into a service rather than a messy garbage dump. In the future, we can click on the mouse at home, you can complete all the preparations for travel, including flight tickets, fixed travel lines, set the room. Please note that all everything is automated between the Web site, no longer like the present, the surface is electronics business, in fact, many links are manual operation. Maybe you will think this is a heaven or night, but it is also very likely to undertake a project, to integrate the ERP system of two companies. It is very likely that the upper reaches of the enterprise is composed in dephi, and the system of downstream companies is compiled with Java. You said that you are a java master, everyone looks at what you do.

转载请注明原文地址:https://www.9cbs.com/read-79515.html

New Post(0)