Java cultivation process of rookie:

xiaoxiao2021-03-06  119

When I wrote this article, my Java skill is actually extremely weak, according to the stage of martial arts in the martial arts Shaolin Temple, I may also practice the most basic Shaolin doctor, so this article The original intention of the article is to share with you to learn the javasy and sorrows in the Java entry, talk about your feelings, and here.

My major is an electronic information engineering, and the first grade course is basically a public infrastructure. Therefore, in addition to the C language programming, the program design knowledge I have contacted in the classroom is less, and the original When I decided to study the program, Teacher's brother suggested that I first learned from C, C or Java, and I learned C before this, and I also screamed for C , and Java didn't know. What is going back, the name sounds seems to be better than the other two, should you be very good? So I didn't hesitate to choose Java ... everyone is mad -_-!

JAVA, I really made me depressed, because only the foundation of C language, I only used Turbo C 3.0, I think Java should also have an IDE that is used like Turbo C, but Sun's official website is only Provided by a "Download the JDK, I download it after the installation is complete but I don't use it, so I will find a forum to ask, I know that I can compile the Java source file with Java, Java. Perform a compiled file. When it comes to some relevant knowledge: Sun has to make it out of java (except for memory control), in addition to the coverage of Java, while early Java appears, Due to its unique JVM (virtual machine) principle, it is realized that a sub-code file that is a .class is generated, so that a compilation is achieved, run everywhere, ie indeed characteristics with the platform ( Any machine can run this program as long as it is equipped with a Java interpreter, regardless of this bytecode is generated on the platform).

After installing JDK, you need to configure the ClassPath and Java_Home in the environment variable, restart the machine, and test a simple HelloWorld program with Javac and Java command in CMD. If you have successfully run, then your development environment is configured, for novice Most of the Internet said to use JDK Notebook OR UltraEdit combination, saying that now I have to mention the current Java IDE, I have used the relatively small FreeJava, JCREATOR, which is a small and practical tool, as for Borland JBUILDER, powerful, benefits don't have to say more, it is very good to engage in developing Java, but only letting some small things to practice, it is simple to use the JDK combination. Compared to jbuilder, I prefer IBM's Eclipse, not only completely free, there are many rich plugins, and the interface is beautiful (this is important? Khan), it is more human, it is said that IBM is also very important to Eclipse, which is considerable At present, it has a lot of user groups.

After the programming environment, I think I should start writing some small procedures. Of course, you need some theoretical foundation, so I decided to buy a few books to see, I listened to people, "Thinking in java" is good, say this This is the book of this Bible, huh, I don't hesitate to buy it back. It is the Chinese version of "Java Programming Thoughts", Master's translation, must not be wrong! Well ~~ Sure enough is a good book ~~ Light reader feedback has 4 pages, I am confident that start reading the first chapter ---- Object introduction ... What is this, how is it so abstract, there is no way to have a good resistance? Read, but after reading the first chapter, I don't seem to be anything, the slow brain is an object, abstract, this kind of words, the word is floating ~~ Although the object is too much, how it is so abstract, is it? I am not talented? ? Forget it, start from Chapter 2, Well, here is the programming of the program, at least how to write the code, so, I will see Chapter 4, I have seen the 4th chapter in the next few days. After turning over 2 chapters, grace, complete dizzy ... how Java is so difficult to learn, I was very depressed, and later, I learned more, "Thinking in Java "This book is well written, but it is more concerned about the details of some grammar, especially for people who have certain skills to Java and return to fine grades, beginners tend to be overwhelmed by these details, so program design When the friends who have weak skills are not as good as in touch with the simple entry book. For example, I have seen "Java 21 Day Scholars", "Java Core Technology Volume I", such books It's relatively light, it helps you have a probably aware of the entire Java system, making it easier to advance, as the saying goes: Does the knife do not misread the firewood?! The book has seen some, the heart began itchy, can't read the book, the general handwritten, from the simple writing, on the calculator program, so I found a book in the library, I saw the UI section I tried to write a simple interface with Swing, and completed the part of the background operation with the help of Teacher's help, I have already started at that time, I was intermittent, one with simple functions and interfaces. The calculator took a month, although the efficiency is low, but I've been a sense of J. Since Java technology is based on the network development, in order to prevent the position of the component in the form, Java uses the LayoutManager (Layout Manager), and Java is not used to it. I found a lot of master written computer programs on the Internet. After I downloaded, I studied the code carefully and found that the original layout manager is much more useful, and some is very clever, it is worthy of studying.

Java mainly includes 3 categories, Java 2 Platform, Standard Edition (J2SE), Java 2 Platform, Micro Edition (J2ME), Java 2 Platform, Enterprise Edition (J2EE), which refers to desktop development, mobile development, and enterprise level, JAVA. Development.

Java is a kind of interpretation and compilation type, which leads to the innate shortness of it, but its platform is independent, so that J2ME and J2EE can be displayed, and the current J2ME is constrained by many conditions, the main application is still only reflected. On the support of Java mobile games, J2EE has posted a place in the enterprise development market because there are many big companies' success case support. Although Microsoft's vs.net is coming, there is a lack of successful large cases, short It is unable to move J2EE's leading position in enterprise development. Therefore, at this stage I chose J2EE as a new learning goal, the J2EE system is huge, mainly as the main body such as servlet, jsp, ejp, etc., it is not only speaking, and more needs to learn through the constant practice project. It has been separated from the scope introduced by our article, and it is also exceeded my younger's ability. I believe that Java this mellow coffee will bring me more fun in the future :)

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

New Post(0)