How to quickly become a Java master -
Many netizens asked me if I learned Java, I said, "No, I'm only ripe". But I am very willing to write some experience you learn, so that the later people will bent less, help others are the biggest happiness. Well!
To learn Java, we must first know the rough category of Java. 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 the Sunone (Open Net Environment) system.
J2SE is the standard version of Java2, mainly used for desktop applications;
J2ME is primarily applied to embedding is system development, such as mobile phones and PDAs;
J2EE is a Java2's Enterprise Edition, mainly used 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, and more. It is not a one or two days to learn.
So how do you learn J2EE? Of course, Java grammar first look at it, I / O bag, util package, lang package you are familiar with? Then learn from JSP. If you have learned HTML, then things is good There are many don't have, if you don't, then you will make up a HTML foundation. In fact, the JAVA syntax in the JSP is not much, it is more like a scripting language, a bit like ASP. Then you should learn a servlet. SERVLET It is a server-side applet. He is responsible for generating an HTML file sent to the client. JSP is executing, and then converts to servlet and running. Although JSP can completely replace servlet, this is the original intention of SUN, but servlet To control process jump or convenient, it will make the program clearer. Next, you should learn Javabean, maybe you can't see the chaos of JSP in HTML in the HTML, this way is followed by ASP What is the difference? Fortunately, Sun provides JavaBean to encapsulate the Java code in your JSP. It is easy to call it. Then EJB, EJB is Enterprise Javabean, see the name, it is Javabean, but it is And Javabean is still different. It is an architecture that you can build safer and more stable enterprise applications. Its large code has been completed by middleware (that is, we often hear weblogic, WebSphere these J2EE servers) completed Therefore, the amount of procedures we have to do is very small, most of the work is on the design and configuration of middleware. As for JDBC, don't have to say more, if you edit your database with Java, you should be very 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 the troops on the paper. It is best to find some examples and the book with the disc, so you can see a good program. Direct Ctrl C Ctrl V, nor, you don't have to lose it again, then you will lose it again, and then, I don't have to be afraid of mistakes, why is it necessary to play some good Java programming. Article, have a good article to come down, have a problem, even if you ask, as long as the problem is not too stupid, the masters will answer you. Here, the following is a good Java programming website:
1. 9CBS Forum
Http://www.9cbs.net/ China's most famous technology forum,
2. Java research organization:
Http://www.javaresearch.org/ There are many original articles above, and the master is still quite;
3. Java developer:
Http://www.chinajavaworld.com/ There is also a more Java data;
4. java.com.cn:
http://www.java.com.cn/ Look at this domain knows how many cattle, the registered user is getting closer to 10,000, and the number of online people is around a thousand, the popularity is very popular;
5. IBM Developer Network
http://www-900.ibm.com/developerWorks/cn/java/index.shtml IBM Forever Blue Giants; then my book also looks, 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 qualifying. Do you know how you go out, do you know how to get it? Do you know how to design? Is it developed? You now have some of the scattered code, there may be no other things! You are the most lack of actual work experience, not the books that you want to come out, so you are fast Go to find a Java programming work (if you can do part-time jobs), raise yourself in practice, that is the fastest. But you have to pray in the company to encounter a master, and He is still willing to teach you anymore, this seems to be a bit difficult!
There is also a way to read the open source program. We know that the open source is mostly from the master, they design reasonably, consider thoughtful, plus the majority of programmers participate, the value of the code is naturally the word bead, powerful ( Sorry, even the four talents in the gold in the golden installation in the golden installation, the two open source programs that learned Java must read is a very famous BBS program, completely open source. The design adopted by the Forum. Many advanced technologies such as cache, user authentication, FILTER, XML, etc., and the forum fully blocks access to the database, it can be easily transplanted in different databases. Forum also has convenient installation and management procedures, this is us One of easy negligible when programming (Chinese programmer generally only pays attention to programming technology, but does not consider the user's feelings, this is where our gap between our foreign software). The information on many websites is available. Everyone can find it. I believe that after reading the code, there will be a feeling of rebellion. Unfortunately, Jive will no longer unconditionally open source, while there is a License restriction. But fortunately there are China's first-class Java program. Focus on it, the foreigners do not open source, can the Chinese can't open source? Recommend a Chinese JIVE version-J Road to you. The Jive (J Dao version) is based on the famous Banq of China's Java world on the JIVE version 2.1 version Adapted, all Chinese, add some practical functions, such as map, user avatar, user data query, and there is a development team to be upgraded. You can visit Banq website
Http://www.jdon.com/ Download, or go to Tongji Technology Forum
FTP: //NRO.SHTDU.EDU.CN Under the installation, you can go to the forum to ask questions. Pet Store. (Pet Shop) is Sun Company to demonstrate its J2EE programming specification, the Open source program, It should be very authoritative, and friends who want to learn J2EE and EJB don't miss it.
You will be happy, haha, it is so simple to be a java master! Remember that some people have known Java very simple, just three months can learn. In fact, people say that this kind of Japan is called "three I won the Chinese ", I'm afraid. It's not to splash you cold water. You just have learned Java's skeleton, but I haven't learned the essence of Java. Next, you have to study the design model. Design mode is the high-level programmer truly master the object-oriented object Core thought. Design mode 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 interface or abstraction The application of the class, thus leaping in the original Java language, more importantly, the design model repeatedly emphasizes a purpose: let your program reuse as much as possible. About design mode, or recommend it to everyone Banq website
Http://www.jdon.com/, he interprets the 23 models of GOF. Pure Java description is a classic classic. Time to study the MVC structure (put model-view- Control separate design ideas, now very popular Structs is an implementation method, but StruCTS is really very difficult, we only need to learn its essence, we can design your own MVC structure. Then you Take another software refactoring (redirect) and limit XP programming, I believe you will last.
After doing this, you better organize your Java code, organize those classic procedures and common applications, and then create a reuse and scalability. You find a few like-minded friends to set up a one. Studio, you can take some projects, you may have some difficulties, but you have technical accumulation, think about week, next project can be completed quickly, I believe everyone will come to you, so Money 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 China's software business! Developers use CVS to develop with CVS, with QQ , MSN, E-mail discussion, programmers in Tiannanhai, are not very interesting to 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: "I don't know how to be Junjie". Do you know the current situation of the computer world? You know Microsoft's .NET Blueprint and Sun ONE program Is there anything between the fight? 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 services will be high", and Microsoft's .NET blueprint The focus of the SUN ONE program is the web service .Web service is a new distributed computing model, which is a series of standards (XML, SOAP, UDDI, WSDL, and WSFL, etc.). It makes software written in different languages It can be easily integrated to make network resources and web sites into a service rather than a messy garbage course. Not far, we can click on the mouse at home, you can complete all the preparations for going out of the tour, including Airplane ticket, fixed tour line, custom room, etc. Please note that all everything is automatically completed during the Web site, no need to be like now, the surface is e-commerce, in fact, many links are manual operation. Maybe You will feel that this is the sky night talk, but it is very likely that you are also very likely to build a project, to integrate the ERP system of two companies. It is very likely that the upstream enterprise is composed, and the system of downstream companies It is born 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 it now (DEPHI6 now provides Web now The service controls). Your java system, you might want to integrate with .NET, so you can understand a little. In the end, you may find that you have become a Java master, but many time is doing your skills Taiji Zhang Sanfeng said that the most powerful move 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/ west / author / columnauthor / fennivel (Note: Chai Xi Road is also a famous figure on the Internet. He published a lot of articles about the web service, and there is a book, 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?9cbs (IBM can be the force of the web service!)
Hey ... you have a hard work, I finally became a master master, how can people not succeed! Yes, it is not easy, it's really not simple, really touched me! So call me, what? I How much is the phone number? Following, do you know if you call?