How to become a Java master (transfer)

xiaoxiao2021-03-06  106

How to quickly become a Java master [Tomjava original]

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 launched Java, we will force it to make it out, so Java has developed to the present, and it is mainly divided into three major blocks according to application: J2SE, J2ME and J2EE, this is the Sunone (Open NetENVIONMENT) 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. Let's introduce a few good Java programming websites: 9CBS Forum

http://www.9cbs.net/

China's most famous technology forum, "Programmer" magazine is publishing, you can ask questions above, I will answer you right away, if you feel good, you can add points to the person;

Java Research Organization

Http://www.javaresearch.org/ There are many original articles above, and the master is still quite;

Java developer

Http://www.chinajavaworld.com/ There is also a more Java data;

Java.com.cn

http://www.java.com.cn/

Look at this domain, you know how many cows, the registered users are getting closer to 10,000, and the number of online people is about a thousand, the popularity is very popular;

IBM developer network

http://www-900.ibm.com/developerWorks/cn/java/index.shtml

IBM forever 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 to learn Java must read is Jive and PetStore.. 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 DOT) is based on the famous Banq of China's Java, which is based on the JIVE2.1 version. In constantly upgrading. You can visit Banq's website http://www.jdon.com/

Go to download, or go to the server of Tongji Technology Forum

FTP: //nro.shtdu.edu.cn go to, installation? .. 笥 笥 灰  砉  ? / a>

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. Information about design patterns, or recommend Banq website

Http://www.jdon.com/, he interprets the 23 models of GOF to understand, 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 are two good open source project sites:

Hubei Software Public Development Platform

http://gro.clinux.org/

Create a joint party

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 SunOnd Blueprints? Do you know where the computer technology will develop? In fact, from the recent movements of major computer manufacturers, it can be seen that "Web service will be the next generation of Internet applications." High point ", and Microsoft's .NET Blueprint and SunOnd's fighting 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. So, you have to learn new technologies, such as web services, and you must understand a little (DEPHI6 has now provided control of Web services).

Your Java system, you might want to integrate with .NET, so you can understand it. Net? In the end, you may find that you have become a Java master, but many times are doing good technology. The Taiji Zhang Sanfeng said that the most powerful move is that there is no move, it may be this truth!

Because I just raised, the information on the online web service is not a lot, I still recommend a few websites for everyone:

China UDDI Technology Alliance

http://www.uddi-china.org/

9CBS Chaixia Road Column

Http://www.9cbs.net/develop/author/columnauthor/fennivel/

(Note: Chai Xiaowei is also a famous figure on the Internet. He published a lot of articles about Web services. He has already said that it should be called the forerunner of China Web service technology).

IBM's developer network XML & Web Service column:

http://www-900.ibm.com/developerWorks/cn/xml/index.shtml?9cbsibm can be the force of the web service

Oh ... you have a hard work, I finally became a Java master, how can people not help but cry! Yes, it is not easy, it's really not simple, really touched! So, tell me, what? What is my phone number? False, you can't ask if you ask, really ...

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

New Post(0)