My Java Learning path!

Source: Internet
Author: User

Let's talk about my experience here. Before the university and before the university three years of experience will not say, because before the University of high School is good study, the university three years is mixed over.

I went to the school can be, although not Tsinghua University such a first-class prestigious university, but at least the second stream of China's famous university. The first three years of college are accompanied by the game in the past, only to learn some basic knowledge of the computer. After a senior I suddenly found that the problem of employment in front of me, and I do not seem to have any, so began to read. The first focus was on C + +, but later, after reading a book J2ME was attracted by Java. At that time, although the school went to the Java curriculum, but also only learned a little fur, and will only write Hello World and what add and subtract such simple programs, even the API knows few, such as String length API I do not know. So just start their own learning j2me often frustrated, they also understand their own shortcomings, decided to start from the J2SE to make good.

Just started to become familiar with the Java development environment, bought the JBuilder development of the tutorial, and on their own laptop installed JBuilder for the walkthrough. At that time I even do not know the Javadoc, every time what API can do a little bit of a clue, do not know where to check, and then my classmate told me that there is a javadoc this thing, I was also excited, feel that they were pulled from the dark back. When I started using JBuilder, immediately attracted to, there are two reasons, the first is because it automatically marked the syntax error, edge writing code prompts you what local grammar error, remember the previous use of VC + +, each program to write after the first compile, and then build, then run, Each of these steps will make a lot of mistakes. In particular, when compiling, write a program of more than 200 lines to compile down there are more than 100 errors, the results of each time spent on this is a long time. and JBuilder used instant parsing, so basically the program is finished, you can omit debugging syntax error steps. The second reason is that you can automatically prompt the code, which allows you to quickly become familiar with the API, so that every time you go to the help document so cumbersome, I quickly mastered a lot of APIs.

Maybe people will ask me why I did not learn Java programming thought, it is true that this book we have a number of dormitories, but we generally reflect the effect is not good, to the end do not know what to say, so I did not dare to see.

After 20 days of learning, the Java has a further understanding, familiar with a lot of API functions, because in that book to write development swing accounted for a lot of space, so also on the development of swing to understand a lot. After reading because the classmate said the Java soul is multithreaded programming, so began to see oreilly java thread. Remember that in the University of the operating system this course we have mentioned threading knowledge. And the textbook is implemented in Java, there was a little concept at the time, but this time I read this thread-specific book and found out what I knew was nothing at all (of course, in retrospect, what I learned at that time was just plain fur). After reading this book, I learned to develop a very simple multithreaded program under my JBuilder, and simulate threading conflicts, waiting, and so on. When I watched the one hundred or two hundred-line program that I had written, I was able to execute it smoothly. I read the book very quickly, and it took me about 3 weeks to read it.

After the above learning, oneself compared to the previous promotion of a lot of time, I also found a job, is to do Java EE outsourcing, so more determined to study the confidence of the java-based.

In the above written program, I write the program is not normative, in the code when writing their own blind spots, but also easy to make a low-level error. Classmate has a "effective Java" Chinese version, but I read a few pages found that they do not understand, what static factory, what the single example of what the model does not know what dongdong. I knew my current level was not enough, so I decided to put down the book and look for other books that would suit me. This time I saw the translation of Mr Hou Jie, "Practical Java" a book, was just on the bookshelf. I felt unlike in the book after flipping through the catalogue in the bookstore, and immediately bought it home and read it greedily on the bus home. This book is not very thick, but I look very carefully and carefully, but also understand a lot of things, such as the Java medium number and equals () the difference between the method, exactly when with what. There are exception processing mechanism, did not know what is called exception, just jbuilder hint I want me to throw exception I throw exception, I think this thing is basically useless. But after reading this book I changed my mind, and I found that exception was a good thing to quickly distinguish the program from the normal state and the anomaly state, even if it was handled exactly at the specified location. At that time, I also had the idea of writing the exception handling part when writing the program later. "Practical Java" this book is not thick, but I looked very carefully, it took about 1 months, I took the book completely digested.

At that time, I heard that Java application in the network is very wide, I do not know what is the application, I bought OReilly's "Java Network Programming" this book. Although this book is very thick, in fact, the first half of the content is not very complex, the latter part of what the RMI write what I do not understand, can only understand a concept. Through this book, I learned what the HTTP protocol is, what it does with Java data, what is request, what is response. It's also a good foundation for me to start my trip to Java. At that time, I was still reading while writing the code to verify that I wrote a server socket and client socket, successful communication, plus the above security socket content, the implementation of SSL communication. At that time I put this on the swing of the shell, but also with the students to get this file. But at that time also did not consider what the check code, such as things, so the transfer of small files can still be, file a little bit, pass past the file is always wrong, and my original documents often make some difference, resulting in documents can not open.

"Java Network Programming" This book read a lot of time, because the book is thicker, there are more things, but in addition to some of the knowledge behind, the other is easy to understand. It took about 2 months to finish. After reading, the time also to 2004 years of March. It's my turn to start my graduation project. Our graduate design instructors are good, to choose a topic for yourself, I chose a b/s structure of the online resume processing system, just and I learned and the work below is a road. At this time I think I should go to B/s structure, at that time in the choice of the servlet or look at the JSP first hesitation. Finally decided to look at the servlet, and later proved that my decision is right, I am familiar with the servlet after the JSP is very easy to learn, basically did not encounter any difficulties.

......



Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.