Reproduced The way to self-study in Java

Source: Internet
Author: User

Original link http://blog.csdn.net/mengxin846/article/details/2219844

Although the article is a bit old but still some inspiration, such as important things first, good reading superficial understanding.


The way to self-study in Java
One: Learn to choose
For the sake of employment, many students attend various trainings.
So what direction should we choose?
My opinion is, do not too much believe in various training institutions or popular articles (including me), when you want to go to society, do not think of yourself as
Each training institution will advertise its own benefits, and it does not explain the big trends.
Some news articles are probably written by the Gunners and don't have to be too trusting.
Teachers and courses in foreign backgrounds may not be suitable for you.
I'm talking about a way of looking through the recruiting site.
You can find information on a variety of recruiting sites (you can search for jobs on Google), such as:
And Csdn's recruiting channel, etc.
These data are the most authentic and non-adulterated raw data, you can search every time, some rules will be summed up.
For example, I was searching for Java in http://www.jobui.com, and there were about 30,000 jobs nationwide.
Then you have to turn over a few pages so that you can see not only how many jobs are effective, but also what the employer's most concerned skills are, which
It's important to decide how much time and energy you will spend in the future on specific points of knowledge, such as swing, and only about 700 jobs nationwide.
, reading carefully, not all effective positions, spending too much time and energy on this is not worth it, of course, they are interested in or to study
Words. But it would be a pity to spend too much time and energy on the knowledge that is not available in the first one or two years of many careers for the sake of rapid employment.
At the same time, not a single industry has a small number of jobs, can not be used as a direction to choose, such as. NET, I found the number of jobs is about 16,000, than
Java is less, is not the choice of Java? Not necessarily, because there are many jobs in Java, but there may be more competitors, some directions, although the number of jobs is not many,
But the number of people you compete with for these positions is also small, not necessarily a choice.
However, if the number of positions in one direction is too small, you should be careful and the risk of choosing such a direction is very large, such as J2ME.
I personally think that java/j2ee,. NET, embedded development is a good three directions.
If you want to choose between Java and. NET, I personally recommend Java for the reason:
1:java can develop programs on Linux and UNIX servers
The focus of 2:JAVAEE and. NET on enterprise applications is similar, but learning about Java would be easier if you want to go to. NET in the future and a few days of learning
Then the development should be a little problem, but the reverse is not. Of course, if you have some experience, you will find that language or platform is no longer a technology.
Obstacles, some of the original rational things to learn, and then add the project experience, the use of what platform, but not the most important. But if you have to use a
Platform into the field of enterprise development, at least for the present, September 2007, I recommend Java.
Can not agree with my point of view, but there is no doubt, if it is for employment, more to the recruitment site to read the information of the job, the direction of your future and learn
Learning is of great benefit.
Choice is the most painful, see "natural shopaholic" in the Lau Ching will know, but since can not escape, make your own choice.
Everyone will be influenced by others, and before making a decision, try to make yourself rational. In this way, your choice will be in the right direction.
Close to some.
Java Self-study Road II: Java Self-study roadmap
A lot of students sent me a letter, and I discuss the Java self-study process should be what kind of, after all, many people because of a variety of reasons can not participate in training.
This roadmap is for those who want to work for the job, if only interested, not necessarily follow this.
Here is just the road map, about the course of the various stages, learning to what extent, how to learn, etc., you can refer to the following Java self-study road seven: "Road map details."
There is no doubt that the first thing to learn is javase.
At the same time, yes, at the same time, and javase learning synchronization, we recommend that you study data structures and algorithms.
After this, you can choose to J2ME, or Java GUI, socket programming and other directions, but through the first article, you can easily
This direction is filtered out (never forget we are for employment), well, for the time being farewell to them, or to the direction of the Java EE.
After the javase is complete, you can try to complete small projects and focus on the design patterns, without forcing yourself to fully grasp the details,
Go ahead.
Master a programming tool, such as Eclipse.
Database, you can choose to start with either Oracle or MySQL.
JDBC, connect the database with Java.
HTML CSS JavaScript, these things are necessary to do Web project content.
Servlet JSP, server-side required.
Make some small projects. such as BBS, message system, student status management, mall, and so on, some business logic is relatively simple to do.
Typical applications of STRUTS,MVC
A model of hibernate,or mapping.
Spring IOC + AOP, Object-oriented + facets-oriented, complete journey.
Add the elements of struts, Spring, and hibernate to your previous small project.
To study the business logic of a variety of business projects, you can add a strong pen to your resume.
The return of Ejb3.0,java after many detours is worth studying.
SOA, the industry's ironclad future trend, to follow closely.
In the back, I will tell you each step of the learning method and learning focus.
Java self-study road three: to do
In any case, please do your hands-on experiments!
Learning Java to do hands-on, just to see and hear is not able to learn programming.
There is always a letter from students to ask us such a question, said: "Teacher I watched the video (download: http://www.bjsxt.com/download.html), but how a
Do you have any ideas? "
In this, I generally say do not worry, if you just watch the video to want to fluid, the teacher these years of exercise is really wasted, so many years of
Hard work can slightly some flowing feeling, you overnight think you can achieve, not too extravagant:
As a programmer to think about it, when did you learn how to program when there are ideas? At least it was tiger painting for some time, I
I was in a certain area to draw the tiger painted tens of thousands of lines of code when slowly have their own ideas. Like writing compositions, to have their own ideas are always going through
Several stages, first of all to learn vocabulary, and then learn to make sentences, and then read a lot of other people's articles, their own imitation of writing some, gradually accumulated experience, to form
Own ideas. Learn to program, I am afraid to come slowly, just to see and listen to the video, is not enough to learn programming.
So, do it, then do, a row of the following knock, a project knocked out, such as tanks, and then try to add some of their own functions, according to their own ideas
Knock some code, the harvest is far more than the dry listening much.
If encountered, temporarily for some ideas can not understand the classmate, I generally advise that, write, write code first, quantitative change will cause qualitative change. and this quality
It did happen quite a few times.
Remind a sentence, to understand the code thinking after the knock, carrying knock, do not put on the left side of other people's program, the right side of a mother's writing, which is
It's no longer a programmer, it's a typist.
Don't ask so much, don't think so much, write it.
The Java self-study Road four: the important things first
Everything you do to your life: Catch the big and put it in the first place.
For a person who has never been in touch with Java before, Java is undoubtedly huge, and it seems that every field can be broadened to be an open area, each of which leads
It takes a lot of effort to get in touch with every detail in a domain. This time everyone is ambitious, two eyes shining staring at every new knowledge
Point, met any one of the knowledge points are anxious to pick the clear, plainly.
What's wrong with that?
My opinion is, there is no big problem, but the study efficiency is too low!
We recommend the way to learn is, catch big put small, important things first.
For example, when learning j2se, learn the GUI this chapter, some students think, since learning here, we go to swing a thin understanding of it again;
Classmate, encountered in the Linux shell programming, I would like to put the shell before the experts will be willing, or dare to continue to study;
Feeling, a book on the books did not learn, feel the bottom of the book in the heart is not, or even have to go over the book to review again to dare to continue learning.
If you do, you have to go to a psychiatrist, maybe there is a neat problem:).
It's a character flaw to pursue perfection in everything.
Bold to give up some things, have lost only, the limited and valuable energy for the employment directly related to the place, this is the most efficient learning
Learning style! When you take part in the work, have a sustainable development of the cause of the power and economic base, there is time to spare no effort to dry, and then to study those whose
it.
There was a story about the relationship between capacity and output.
A person likes reading, read a lifetime, barrier, this time to do any work can, his capacity to the extreme, but he is old, even if every day
The output of a lot of things can not last long, the lifetime of production is not much.
Another person to work directly, busy, everyday at the machine next day, do a lifetime, no time to learn and study, you can imagine, production can be how big it.
People's life, to exercise production capacity, but also to timely output, the engine to turn, but also to stop to refuel, the two balance the better, your contribution and production will be greater.
If it's not about the capacity targets (or the recent capacity targets), let go.
So, for swing, just throw it aside for a moment.
For the shell, the details of the various protocols are too detailed, for the favorite game programming, for JavaScript various flashy effects, are temporarily and their
Separate it.
Everything that has nothing to do with our direct work goal is to throw it aside or figure out enough to support the next step of learning.
Does that not prevent me from becoming a master of all kinds of details?
I always do not think that a person has mastered a lot of knowledge points of detail is a master, a person if tell you, the word back has four kinds of wording, you will think he is high
Hand? It is not polite to say that all of the knowledge we teach now can be found on the Internet or in books, as long as you take the time to try and
Study, there is nothing to master. Struts, spring can you master it? Of course I can! But if the time is spent on the various details of spring,
In the study of spring MVC, which is not widely used in Chinese enterprises, this energy is wasted, and the enthusiasm of learning will be hit, who would like to spend all day
Struggling with the details of the cobwebs? Who wants to experience the wind and rain every day but never see the rainbow?
Building a house, first build the skeleton, then talk about the decoration.
Painting the landscape, to first draw the structure, and then talk about polishing.
Knowing a machine with a complex structure should first identify the context and then gradually recognize each joint.
In order to cope with the exams from elementary school to university, we carry a variety of details that should not be mastered in advance, but also develop a learning habit of seeing the details.
And now, it's time to change.
Please do the right thing at the right time.
I have never thought that a course offers a lot of detail that is excellent value for high courses, to master the necessary details, this unambiguous, as for the other,
or by video (this gives more detail, but does not take the class time, only important, necessary details in class), or in mastering
Self-study ability to find out, this is the way.
When you read to a place temporarily do not understand the time, temporarily let go, the pursuit of some flowing, natural state, but do not stop the forward
Footsteps, do not be the main road next to the root of interference with your forward itinerary, project, real project, this is the purpose, is not far ahead.
Tao Yuanming read, called "superficial understanding", but he is a great poet.
Zhuge Liang read books, always "view their rough", but he is a big politician.
The study is a detailed study of what is done after the direction has been determined.
As an applied talent, is to study the word of the n type of writing or seize the time toward the main application of the direction of efforts, please make your own choice.
To the project to drive their own learning, when the grasp of the context of the technology to supplement the details of the study, is the right way.
Don't you look at other directions in this life?
Of course to study! But at the right time in the future.
So, catch big put small, important things first!
So, what are the big things in the Java curriculum? Please go on reading.
Java self-study Road five: the solution to the problem
Since it is study, it is impossible not to encounter problems.
Since it is self-study, there is no convenient and the teacher to explore the opportunity.
Then, after encountering the problem, the environment is not good, the program is not correct, the operation is not normal, meet these annoying problems, what to do?
First of all, I would like to congratulate you, meet the problem, it means that you have the opportunity to increase experience, every solution to a problem, your Java XP value should rise hundreds of points, ask
The more you encounter a problem, the faster the knowledge is raised.
But always can not solve is also very annoying, how to do?
I generally ask our students to do so.
When you encounter a problem:
1: To carefully observe the wrong phenomenon, yes, to carefully
There are many students of the hands very fast, in compiling a program, reported a lot of errors, after sweeping a glance began to stare at the code line of the search, see
Did you clear what was wrong? No!
Sometimes the installation of software problems, a dialog box pop-up error, immediately raised his hand to ask the teacher: "Very, wrong, error."
"What mistake?" ”
"Haven't you seen it yet?" ”
This is the typical way to not do it! Remember, learning programming is not a very easy thing, you have to pay attention to the first, to the heart can.
In development, it is the first thing you need to look at the error message or run an unhealthy message.
Read clearly, in the next step in the targeted, crying for a long time, always know who is crying.
Here are three different things:
A: Error message read, then please enter 2 steps: To think carefully about what the problem will be in the link
B: Did not read, Leng did not understand, enter the 4th step: google
C: Read a half understand, some clues but not very sure, the 2nd and 4th steps together.
2: Think carefully about what the problem will be (important)
When you understand a problem, think about what the problem might be going wrong.
A car is coming down from the assembly line and the door is closed!
What's wrong? How do you check?
Of course, follow the production line one stop to check down.
The same is true of the program, which results from a series of statements.
Write a network program, always found that the server can not print the received data, a few links will be wrong?
Carefully analyze the link of this phenomenon:
Client-generated data, press send button, send to server, and then print after the server is received
These links are likely to make mistakes:
It is possible that the client does not produce data at all, it is possible that the Send button has not been sent out at all, or it is not the thing that you produce, or the root
This is not connected to the network, or sent out the server did not receive, or received before the printing and so on and so on.
It's tiring to learn how to analyze the procedures and the problems that may arise from these links, and your experience will certainly increase dramatically and quickly.
, but is it worth anything if it is not exhausted?
On page a entered a person's name, submitted to B, first stored in the database, and then read it out, found garbled! What to do?
Of course, the analysis process:
Customer input->http send->b receive, store to database, read-out, show to Web page
Every link can be a problem, how can we know what's wrong? Read on.
3: How to locate the error (important)
After analyzing the links, the next step is to locate what is wrong.
There are three ways to locate the location:
A printout, such as Java's System.out.println (), such as JS's alert (), which is commonly used, must be mastered
B Debug, you can refer to our video "Tank Wars", detailed the debugging of Eclipse.
C Delete part of the debugging part, that is, remove part of the function, do simplify, and then debug the rest of the function, JSP and JavaScript commonly used. can refer to
Our video "BBS" and so on
These I said is relatively simple, detailed information please pay attention to the following our video bar, in the near future will be gradually some of the knowledge points of the video for free announcement,
Http://www.bjsxt.com/download.html
4: If not, Google Bar
You can't find out? Congratulations, your mistake is worth serious mistake, it will affect your learning career mistakes, ask Google or Baidu Bar.
Check it out in the following way.
Generally speaking, search engines can search for a variety of knowledge points, I have to joke with the students said: "Learn how Google or Baidu, in fact, there is no need to follow the old
The teacher learns, oneself all understand, still school is not necessary to come. "Of course, it's just a joke, the training has three functions:
A: Systematic knowledge
B: Real Project Exercise experience
C: Less detours, save time
Unconsciously began to advertise, please forgive, in its position to seek the matter, must for the academy say something:)
How to check the search engine?
First fine after coarse, first to make the most accurate search, such as a mistake, socketexception, you suspect it is in the Connect () method out of the problem, that
Of course it's the keyword. Java connect socketexception
First of all, in order to solve the problem-oriented idea, practice English or put it aside first, should be in the Chinese Web page query, not yet, search
In English, the latest academy course will take you to read English books. There are a lot of things like a window of paper, far from the gray strange bluffing, you strong
If you dare to stab it, it will break. Reading English books is so, not as difficult as it is imagined: it is better to die on the battlefield than to be scared to death, isn't it?
:)
Information filtering, search results may not be able to match exactly, suggest that you read the previous pages of the search results, more open a few pages to see, however, I
Experience is more than 3 pages generally meaningless, so more than 3 pages have not found the right answer, perhaps you should adjust the key words, or put the whole search
The result.
MySQL "Oracle create user" and so on, if necessary, do not make lazy, to write a small test procedures, to understand the details of the knowledge point. This
is also an important way to raise knowledge.
5: What? Not yet? So let's BBS.
If it is not enough, go to BBS above ask a master.
To which BBS?
Google or Baidu do not do it: the keyword "java forum" "Java BBS"
Then in the search results take a good look at the activities of the Forum, the future is your frequent visit to the place. Http://community.csdn.net is not
Wrong.
It's very tricky to ask people questions!
I have been asked this question: "How can I learn java?" ”
Someone also gave me a piece of code even the jar package also sent, and then said the teacher's my code has an error you help me check: (
I have no way to spend a lot of time setting up an environment to debug a bug that doesn't exist yet!
Others on the BBS asked the question: "Can someone help me complete a complete chat program?" Please write a login module for me! ”
This requirement is a bit too much, someone helps you to do is your luck, no one to help you is the normal reaction.
To ask questions, you should first make sure that you have done what you should do, simply say that I have enumerated the 1,2,3,4 steps you have done, and then ask for help
to people. Do not have to seriously think about the hasty question to others, oneself also will not have the progress.
So how do I ask someone?
In Google or Baidu search for the wisdom of questioning, you will find the answer.
Here I give a link http://community.csdn.net/IndexPage/SmartQuestion.aspx, sharpening not mistake chopping wood work, first take some time to
Read it.
Get someone else's answer and be thankful.
Do not need to write to thank, do not need to pay fees, do not need those rhetoric, do the following this is enough:
When you gradually become a master, to answer other people in the forum raised the question, there is time to have energy under the premise!
6: Still not solve? Ask the teacher, this can only be under the premise that you take part in the training.
7: Still not solve? God, is it wrong to think from the root? Write to me, let me also learn, make progress together.
Java Self-study Road VI: Self-Study of the project
Now the intensity of the job competition is much higher than that year, remember when I graduated from school, a program of graduates stood on the stage, loudly asked: "I will
ASP, monthly salary 5000 is there anyone want? "The Enterprise under the table immediately lifted a large hand:" I want to! "
There was no project experience at that time and there were opportunities for learning:)
I'm afraid it's gone (some exaggeration, but it's no wonder that it's easier to find a good job than it is now)
And now, even with all the necessary knowledge you have almost mastered, but there is a mountain in front of you, that is-
Project experience.
Experienced programmers know that the most efficient way to learn programming, I'm afraid is to throw you into a project team, galloped to do the next one or two projects,
You will soon find that all the knowledge points are connected together, not scattered, but to form a whole. That feeling is just delving into the point of knowledge and
The person who does not write the real project can not understand. A project is a piece of rope that can put a lot of knowledge together.
If you want to exercise the ability to actually develop and not just recite or understand some of the knowledge points, if you want to be a real player and not just recite the word "back" there are several
Writing, then, make the project!

Reproduced The way to self-study in Java

Related Article

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.