How to become a Java master - dedicated to all beginners! (Reposted)

xiaoxiao2021-03-06  82

How to quickly become a Java master [Tomjava original] Many netizens asked me if I learned Java shortcut, I said, "Nothing, 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 to be a bit deep, 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, and he 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 the process jump or 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 middleware (which is the WebLogic, WebSphere we often listened to WebSphere, so the amount of program code we have to do is very small, most of the work is in design and configuring 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 some good Java programming articles, there is a good article to be cut, there is a problem, however, as long as the problem 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 Organization http://www.javaresearch.org/ There are many original articles above, the master is quite a lot; Java developer http: // www .chinajavaworld.com / there is more comprehensive; java.com.cn http://www.java.com.cn/ Look at this domain name knows how cattle, the registered user is nearly 10,000, and the number of online people is also One thousand, popular; IBM developer network http://www-900.ibm.com/developerwor...ava/index.shtml ibm 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? Of course, it is not so simple, this is just the first step in the Long March. Do not believe? Then you go out to pick a project, you know how to start, 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 will find a Java programming work (if you can do part-time jobs 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/ to download, or go to the Tongji Technology Forum server ftp://nro.shtdu.edu.cn, what is the problem, you can go to the forum Go up asked. 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! I remember that Tomjava has encountered a project manager, claiming that Java is very simple, just three months can learn. In fact, the person who said this kind of saying is like "three months to win China" as a small Japan. Not Tomjava, you are cold, you just learned Java's skeleton, but did not learn Java's essence. Next you have to study the design pattern. The design pattern is a high-end programmer truly masters a compulsory course for object-oriented core ideas.

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 carefully create, improve their reuse 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 use CVS to develop with CVS on the Internet, with QQ, MSN, E-mail discussion, and the programmers in Tiannanhai are scattered at the same time but also develop the same software at the same time. Is it very interesting? Here is two good open source project websites: Hubei software public development platform http://gro.clinux.org/ Creeually union 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 situation of the current 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, so that network resources and web sites become a service rather than a mess. 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 it, the surface is e-commerce, and it is actually 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-107990.html

New Post(0)