Instant | original
Many netizens asked me to learn Java there is no shortcut, I said "without him, only hand-cooked Seoul." But I am very willing to learn some of their experience to write out, so that the latter less detours, to help others is the greatest happiness! To learn Java, you must first know the general classification of Java. We know that since Sun launched Java, trying to make it all inclusive, so Java development to now, according to the application of the main divided into three major chunks: J2se,j2me and Java, this is the Sun one (Open Net environment) system. J2SE is the standard version of JAVA2, mainly for desktop application software programming; J2ME is mainly used for embedded system development, such as mobile phone and PDA programming, Java EE is the JAVA2 Enterprise Edition, mainly for the development of distributed network programs, such as E-commerce website and ERP system. J2SE The advantages of developing desktop apps are not as obvious as vc,vb,dephi these traditional development languages. J2ME for starters, it seems a bit esoteric, and it's hard for developers to have a development environment. So now the most widely used and most studious is the Java EE. The Java EE also includes many components, such as Jsp,servlet,javabean,ejb,jdbc,javamail and so on. It's not a day or two to learn. So how to learn the Java EE? Of course, Java syntax to look at first, I/O package, util package, Lang package you are familiar with it? And then learn from the JSP. If you have learned HTML, then things are better, if not, then you have to fill the HTML base. In fact, there is not much Java syntax in JSP, it is more like a scripting language, a bit like ASP. Then you should learn a servlet. A servlet is a server-side applet that is responsible for generating HTML files sent to clients. When the JSP executes, it is converted to a servlet before it is run. Although JSP theoretically can completely replace the servlet, which is also the Sun's intention to launch JSP, but the servlet to control the flow jump is quite convenient, but also to make the program clearer. Next you should learn to JavaBean, perhaps you long to see regardless of JSP in HTML embedded Java code Chaos Way, this way and ASP what difference? Fortunately, Sun offers JavaBean can encapsulate Java code in your JSP for easy invocation and reuse. Then is the EJB, EJB is Enterprise JavaBean, see the name as if it is JavaBean, but it and JavaBean still have a difference. It is an architecture that allows you to build more secure and stable enterprise applications. It's a lot of code that has been used by middleware (which is what we hear weblogIc,websphere These Java servers are complete, so we have to do a small amount of program code, most of the work is in the design and configuration middleware. As for JDBC, I do not need to say more, if you use Java to edit the access to the database program, you should be very familiar with. Also, if you're going to use Java to send an email program, you'll have to look at the JavaMail. Well, after Java and EE have some basic concepts, you should make some programs, do not talk on paper OH. It is best to find some examples and with the CD-ROM book, so see a good program can be directly CTRL + CTRL + V, also do not need to labor your boss again in person to lose it again, and then directly copied without fear of error, why not! There is to be often on some good Java programming articles, there are good articles to cut down, there are questions to ask, as long as the problem is not too silly, the general master will answer you. Here are a few good Java programming sites: CSDN forum http://www.csdn.net/China's most famous technology forum, "programmer" magazine is published by them, you can ask questions, immediately someone answered you, if you feel good, you can give the person a bonus points; Java Research Group http://www.javaresearch.org/has a lot of original articles, the master or quite a lot of Java developers http://www.chinajavaworld.com/where the Java data is relatively complete; java.com.cn http://www.java.com.cn/Look at this domain name to know how cattle, registered users close to 10,000, at the same time the number of online also around 1000, very popular; IBM's developer Network http://www-900.ibm.com/ Developerworks/cn/java/index.shtml IBM Forever Blue giant;
Then I read the book, the procedure has been done, others asked me the question I can solve, is not become a master of it? Of course it's not that simple, it's just long march the first step. Don't believe it? Then you go out to take a project, you know how to do it, do you know how to design, you know how to organize people to develop it? You may have nothing else on your mind except for some scattered code. What you are missing now is actual work experience, not the ones you have come up with in your books. So you go to find a Java programming work to do it (if it is in school students can do part-time AH), in practice to improve themselves, that is the fastest. But you have to pray to meet a master in the company, and he is willing to take the trouble to teach you, it seems a bit difficult oh! There is another way to read the open source program. We know that the open source is mostly from the master, they design reasonable, considerate, coupled with a large number of programmers involved, the value of the code is naturally word beads, sonorous (sorry, I recently "Gold loaded four wit" see much). The two open source programs that learn Java must-read are jive and pet Store. Jive is a very famous foreign BBS program, fully open source. Forum design adopted a lot of advanced technology, such as cache, user authentication, Filter, XML, and so on, and the forum completely blocked access to the database, can be easily transplanted in different databases. The Forum also has the convenient installment and the management procedure, this is our normal programming time easy to overlook part of (Chinese programmer generally only pays attention to the technical content of the programming, but completely does not consider the user's feeling, this is our and the foreign software gap lies in). Jive Information on a number of websites have, we can find to study. Believe that you read the code, there will be a feeling of being completely reborn. Unfortunately, Jive has no unconditional open source code since 2.5, with licence restrictions. But fortunately, there are Chinese first-class Java programmers concerned about it, foreigners do not open source, the Chinese people can not open source? Here we recommend a Chinese version of the Jive-j Road. Jive (J-Version) is a well-known banq in the Chinese Java industry based on the Jive2.1 version of the adaptation, all Chinese, added a number of practical functions, such as mapping, user avatar and user information inquiries, and a development team is constantly upgrading. You can visit Banq's web http://www.jdon.com/to download, or to the Tongji Technical Forum server ftp://nro.shtdu.edu.cn to the next, install what the problem, you can go to the forum to ask questions. Pet store. (Pet Shop) is the sun company in order to demonstrate its Java EE programming specifications and the introduction of open source program, should be very authoritative, want to learn Java and EJB friends don't miss. You will be happy to say, Haha, it turns out to be Java highThe hand is so simple! Remember Tomjava also met a project manager, known as Java is very simple, as long as three months can learn. In fact, those who say this kind of words is like the small Japanese so-called "three months to win China" as the same. Not Tomjava poured you cold water, you now just learn the skeleton of Java, but have not learned the essence of Java. Next you have to study the design pattern. Design pattern is a required course for senior programmers to master object-oriented core ideas. Design patterns are not a specific "technology", it's about thinking, not just the flexible application and wisdom of interfaces or abstract classes in real-world cases, so that you can really master the application of interfaces or abstract classes, and then jump further on the original Java language and, more importantly, Design patterns repeatedly emphasize one tenet: Make your program as reusable as possible. About the design pattern of information, or to recommend the Banq of the net http://www.jdon.com/, he put the gof of the 23 models in a user-friendly way to interpret, pure Java description, is really classic classic. Have time to study the MVC structure (the Model-view-control of the design idea), now very popular structs is a way to achieve it, but structs use it is very complicated, we just learn its essence can, We can totally design our own MVC structure. Then you look at the software refactoring (re-engineering) and XP programming, I believe you will be on the next step. To finish this, you might as well tidy up your Java code, put those classic programs and common applications out, and then carefully build, improve their reusability and scalability. You can find some like-minded friends to set up a studio, you can go to undertake some projects to do, at the beginning may have some difficulties, but you have the technology accumulation, and thoughtful, take the project to be able to quickly finish, I believe everyone will come to you later, so money on the come to the ... Of course, you can also participate in some open source projects, on the one hand can improve themselves, on the other hand, for China's software industry to contribute to it! Is it interesting for developers to collaborate with CVS on the Internet, to discuss relationships with qq,msn,e-mail, and far apart programmers to spread around and develop the same software at the same time? Here are two good open source project sites: Hubei Province software public development flat http://gro.clinux.org/http://cosoft.org.cn/, so happy oh, I finally become a master! Not also, not also. Ancient Cloud: "Valor". Do you know the current development situation of the computer industry? You know Microsoft's. NET Blueprint and Sun One plan? Do you know where computer technology will develop? In fact, from the major computer manufacturers the mostNear the action, you can see that "Web services will be the next generation of Internet applications commanding Heights," and Microsoft's. NET Blueprint and the Sun One plan, the focus of the struggle, is Web services. Web Service is a new distributed computing model, which is a series of standard synthesis (XML,SOAP,UDDI,WSDL and WSFL, etc.). It enables software written in different languages to be easily integrated, making network resources and Web sites a service rather than a messy landfill. Not far in the future, we can click on the home mouse, you can complete the travel of all the preparation, including the booking of air tickets, scheduled travel routes, set up a good room. Please note that all this is done automatically between the Web site, no longer like now, the surface is e-commerce, in fact, many links are manual operations. Perhaps you will think this is the implausible, but the nearest said, you are also very likely to undertake a project, to integrate two enterprise ERP system. It is possible that the upstream enterprise system is made of Dephi, and the downstream enterprise system is made up of Java. You say you are a master of Java, we all see how you do it. So, you have to learn new technologies, like Web services, and you dephi understand a little bit (Dephi6 now provides a Web Service control). You made up the Java system that might have to be and. NET integration, so you. NET to understand a little? In the end, you may find that you have become a master of Java, but a lot of time is doing other techniques. Taiji Zhang Sanfungli said, the most powerful moves are no moves, it may be this truth! Because just rise, so the information of online Web service is not many, I still recommend a few websites for everybody: China UDDI Technology Http://www.uddi-china.org/CSDN Chai Xiaolu Specialized http://www.csdn.net/develop/ author/columnauthor/fennivel/(Note: Chai Xiaolu is also a famous person on the Internet, he has published a lot of articles about Web services, and a book, should be called the pioneer of Chinese Web services technology) IBM's Developer Network xml& Web Service column: Http://www-900.ibm.com/developerWorks/cn/xml/index.shtml?csdn IBM is the force of Web services ... You struggle thousand heart million bitter, finally become a master of Java, how to call people not by the joy of the cry! Yes ah, really not easy, really not simple, really touched Ah! So call me and tell me, what? How much is my telephone number? Faint, you call to ask not to know, really ... Author:tomjava
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.