Guide: We learn from Java to have 3 directions, first, desktop systems, including C / S structures; second, J2ME, facing unlimited fields, very potential guys, see Chinese mobile phone users know. Third, the platform for enterprise applications, calculated platforms, J2EE. In the first time, the Java entry is inference, it seems that there is no C, C is getting started, and there is no Turbo C, Visual C is easy to use (your own machine is really accompanying JBuilder, greedy guys, must have to pack her later). What Java_Home, ClassPath, virtual machines and other concepts are the initial basis, and the people next to them rarely use Java. I feel that Java is doing applet. Slowly know http://java.sun.com, start to know that Java is profound. I am incredible is that new names such as Java 2, JDK, J2SE, J2EE, J2ME are spread in their minds. Slowly knowing that JCP organization is an origin of the Java-related specification http://java.jcp.org, so I subscribe to a list of mailing. It's a good thing, regularly have the latest trends in Java, so Java's dynamics have a full view, I suggest you go to subscribe. Free. After you do it yourself, you don't understand Java (TM) 2 SDK Documentation, you don't understand, especially if you don't need any manual. There is a copy. After taking the Java development environment, remember to edit and compile with UltraEdit (in which the Java compiler) can be used. Slowly use JCREATOR. Nice, at least many aspects have improved. I started to sell a set of 2 books, it is not bad. It is enough for entry. Slowly know that it is a good book, and later, after having Java experience, see this book is particularly enjoyable, so it is often turned over. In the week, the effect is particularly good. Slowly knowing the books out of Oreilly (http://www.oreilly.com) good, elegant, domestic translation can also be (http://www.oreilly.com.cn). I have collected a lot of Oreilly's original book, and it is necessary to contact me (Acrobat PDF format). Slowly know the people of JJhou. (Http://jjjhou.9cbs.net) and his personal website, most interesting is the prose, book review, book review, book review, is not for technology. Very fun. Among them, there are many beautiful books on http://www.epubcn.com. I don't know when it is, I have to start the project. I used to see what I saw in the book. I have a good opportunity to work in the project. I have a feeling slowly. I started using Swing, developing a desktop. The system is placed, and it is not possible to put a button, and then I know there is a layout manager. Cough, this mother-in-law's Java is very annoying. Start relating to database access, JDBC. Later I learned that Sun's Java website has a Java Tutorial. (Http://java.sun.com/docs/books/tutorial/). At the same time, I also know that Mr. Cai? W? O Sleepless in java (http://www.orex.htm) is too beautiful, beautiful.
Full, oreilly, http://www.onjava.com/ is also a good place. There are many excellent articles. Http://www-900.ibm.com/developerWorks/cn/index.shtml is also great. Every time, after the beautiful meal, I also feel that I should have a way of learning, because this is not very good. Comparison. Let me think of Java Specification, right, I started researching the Java specification. The most beginning download specification is JDBC Specification, a lot of concepts, especially Database's transactional control, and you have a more in-depth understanding of her understanding. For the development of C / S structures, such as Swing JDBC, develop database applications, let me learn to develop two-story application. Very nice. I don't know when I want to start developing a website, based on Linux JSP JavaBean Oracle system. It is very interesting. Why do you say this? Because there is different from Swing JDBC development mode, there are more layers between the system (JavaBean, just this! Hey); -------------------------------------------------- ------------------------------------------------ After completing the project I know more about Many aspects of Java. Start thinking about a question, what is J2EE? . We have learned about 3 directions in Java, first, desktop system, including C / S structure; second, J2ME, facing unlimited field, very potential guy, see China's mobile phone users know. Third, facing business applications, computing platforms, J2EE. ------------------------------------- -------------------------------------------------- ---------- After the painful choice, I chose J2EE .. Share J2EE to bring me the happiness. Learning now, the biggest feeling is: Simple is beautiful, beauty is Java. There will be no pain in learning MFC, and there will be no hardships of STL, and the network application is not inferior to C . Start entering my J2EE trip. Still downloaded a J2EE specification, a J2EE SDK. Start research J2EE, combined with http://java.sun.com/j2ee/tutorial/index.html started research. It is about 1 month, and I have a feeling, that is, at this time, I need me to complete a J2EE architecture project. Almost the same is completed, many concepts are not very clear after writing, because things are too much, mainly based on the JSP (Servlet) Session Bean EIS architecture development system. Of course, many things have been learned, at least in writing of SB EJBs. Know how JSP calls EJB ...... After completing the project, I started to study the Java Pet Store, very enjoyable. Start knowing the Servlet filter, XML aspects, knows the practical application of various technologies in the entire framework of J2EE. Slowly, start studying WebLogic Configuring PET Store (also SUN). Slowly analyze the difference between the two.
I have a good feeling of J2EE Specification. Because J2EE Specification itself is very serious, the PET Store gives a vitality. In the repeated study, I understand 70-80% of the J2EE architecture. The new problem came out again, how will the actual enterprise construct a J2EE system? With this problem, I started analyzing Core J2ee Patterns, this book. At the same time, there is also EJB Design Patterns. Slowly, began to know the charm of J2EE, know why J2EE will get better recognition in the enterprise. Everyone knows that the design pattern is the word, in the company, will your boss look at your code? Will you appreciate your DP? I think very little. After completing your progress, overtime, overtime, work hard, I think you don't have more time to analyze research DP. But the J2EE framework is different, she has a lot of excellent design patterns, we are design and developing, The architecture has used a lot of design patterns in a J2EE system. For example, the DAO design pattern packaged in MVC and EJB. The architecture of the architecture is not too difficult to use Session Fa? ADE, Message Fa? ADE design mode. This is also the place where J2EE attracts me. I know slowly, as a J2EE developer, we have to master the core content. I personally think that 3 is important. Implement EJB systems commonly used architecture, design patterns, such as Session Fa? ADE, Message Fa? ADE, DTO, etc. The common mode in the J2EE system architecture. UML-> EJB, EJB-> UML maps. It is also the same in research. Be good at enjoying lonely, but fortunately there is J2EE! On the Internet, the bookstore provides a lot of information, many ways can get J2EE information. How to system, efficient learning J2EE this problem is in front of us. For example, some people don't know how to start after reading a lot of books. Waiting for these issues is our most difficult. How do I find a good way? In fact, in order to see a point of view, such as learning English, a total of three levels, first is the vocabulary, then the syntax, then the habitual usage (I hope the reader can consider the problem from the perspective of programming, see these two What is similar to what they logically, they are the same. For example, on the mathematics class, the teacher is in the blackboard, everyone is very easy to understand, there will be many problems when you do it. These seem simple questions, in fact, it contains a truth: theoretical connection is actual, theoretical guidance practice. Our theory is that we have a good way. Some people have seen a lot of books, wrote a lot of procedures, and the level is still very slow, it is difficult to cross this difficult relationship. Or method problem. Of course, the method I talk about is your own experience, experience, everyone has its own unique way. There is no absolute good, absolutely bad way, see who is the object. So here we focus on the way I will mention in this article. Everyone comment comments. J2EE is now in progress. We know that J2EE consists of many technologies, such as EJB, XML, JDBC, RMI, JSP, servlet ,. . . . Wait these, but also contain a lot of content. Regardless of how these specific technologies develop, how can we change, we have to grasp the main line, that is, master the essence of the J2EE architecture.
What to analyze it, the role object is nature is J2EE Specification (the latest version is 1.4, http://java.sun.com/j2ee)! ! ! Of course, the premise of learning J2EE is that you have enough familiar with J2SE, and there is a good attitude and interest. Just look at the J2EE specification is not enough, it is best to think about the products and examples, I suggest that you use JBuilder 7 Bea Weblogc Platform 7.0, this development mode. Why do you say this? First, the functionality of JBuilder 7 itself is good and should belong to the mainstream java IDE. Second, Bea WebLogic Platform 7.0 has a good level of J2EE Specification's latest support, and it is also easier to get, and people use more. Third, the development efficiency is good. (Borland website has a document that is developed by JBuilder 7 Bea WebLogic 7.0.pdf format.http: //bdn.borland.com/Article/0,1410,28943,00.html) JBuilder 7 itself provides a lot of help documents There is a PDF format, and there is also an HTML format (using Javahelp technology), and some bookstores have some JBuilder reference books. Personally think that there is no need, first, the version is more old; second, there is no content; third, It is generally a helper documentation provided by plagiaring JBuilder itself. (Personal view, no commercial purposes). Of course, your foreign language is almost the level of four levels. This can not be no, at least reading is good (in fact, I am also afraid, but after starting, the English data is also very simple, and very authentic! Also improve your foreign language). WebLogic is also good, and there is a lot of documentation, http://www.bestdown.com has a WebLogic Bible (6.1), and domestic BEA seems to have a book, interested in going, http: //www.china-pub.com to see. With these two, we need to find the right object to learn. It will give you a reference here. First, this place in JBuilder 7 installation directory, ~~: JBuilder7SampleJbejb20ESITEWL, has a good example, esite. Among them, the Session Fa? ADE design mode is used, and techniques such as JSP, Servlet, Session Beans, Entity Beans (CMP) are used. You can refer to the second. That is, the second, http://java.sun.com/j2ee/tutorial/index.html provides J2EE TUTORIAL data provided by SUN. Third, Java PET Store, just started learning J2EE technology to analyze this example is a bit difficult, and then the J2EE architecture in this example is not very practical, but she gives us almost all core technologies of J2EE, and also provides a book Design Enterprise Applications with J2EE Platform, very good.
Fourth, it is recommended to understand the J2EE architecture. After the EJB, XML, JSP, SERVET and other technologies have better understanding and program experience, it is recommended to see these books. "J2EE In Practice", "Core J2EE Patterns", "Sun Certified ENT Architect for J2EE - Tech Study Guide", "Java Tools for Extreme Programming - wiley", "EJB Design Patterns", "MasteringEJB 2", "Enterprise JavaBeans, 3rd ", you can see :). With the above foundation, combined with some experience in the project, I think there will be a lot of improvement. After prelimating the above-mentioned basis, each of us can have its own position in J2EE. For example, some developers can consider spending time spending the business logic layer, others like Huafu in a representation, more greedy guys All layers in J2EE. There is also the focus of Web Services (J2EE 1.4 Specification, estimated to launch in early 2003, future important development direction). At the same time, everyone should pay attention to the system design, implementation, and recommendation to use together !!! as required by TOGETHER !!! Requirements to UML. 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 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, very popular; IBM developer network http://www-900.ibm.com/developerWorks/cn/java/index.shtml IBM forever blue giant; then my book also saw, procedure Also do, others 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 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. 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.