A Java programmer's confession

xiaoxiao2021-03-06  66

http://www.chinaunix.net Author: tfpcnhn ?? Posted: 2003-09-26 17:06:15

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, we must first know the Java's general classification. We know that since SUN has launched Java, we will force it to make it out, so Java has developed to now, according to application scores, three blocks: 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. ?? 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 Java and J2EE have some basic concepts, you should compose some programs, don't talk about troops on paper.

It is best to find some instances and books with the disc, you can directly CTRL C to Ctrl V, don't worry about your boss, then lose it again, then replicate directly I don't have to be afraid of an error, 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 technical forum, "Programmer" magazine is their publication, you can put forward it Question, I will answer you right away. 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/ ?? Where Java data is more complete;? Java.com.cn??http://www.java.com.cn/ ?? Look at this domain name Duo, registered users are close to 10,000, and the number of online people is around a thousand, very popular;? IBM developer network http://www-900.ibm.com/developerworks/cn/java/index .shtml ?? IBM eternal blue giant; ?? So my book also saw it, the program is also done, I can solve my problem, 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 be a 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.

The JIVE (J DOW version) is made by the Ding Ding Banq of China 's Java in Jive? 2.1, "All Chinese, add some practical functions, such as map, user avatar, user data query, etc., and have a development The team is constantly upgrading. You can visit Banq's website http://www.jdon.com/ ?? Go to Download, or go to FTP: //nro.shtdu.edu.cn on the server of Tongji Technology Forum, what is the problem, you can Go to the forum. PET? Store. (Pet Shop) is Sun Company to demonstrate its J2EE programming specification, it should be very authoritative. 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 encountered a project manager, claiming that Java is very simple, as long as 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's website http://www.jdon.com/ ??, he interprets the 23 models of GOF in the way, pure Java description, is really 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 you finish these, you better organize your Java code, organize those classic procedures and common applications, and then carefully create it, improve its 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, and on the other hand, it is also contributed to China's 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? ? Below the next two good open source project sites:? Hubei software public development platform http://gro.clinux.org/ ?? Co-created alliance http://cosoft.org.cn/ ???? Wow, good Happy, I finally became a master! Non-also, not. The ancients cloud: "The time workers are Junjie".

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

New Post(0)