Java web developers turn road itinerary

Editor:
do web development in Java is a very pleasant thing.
You would certainly say that I am talking in your sleep, Oh ~ ~ `Come slowly
- * - The following are personal opinions, but to stimulate, not copyrighted, and for reference only - * -
first, the beginning, the beginning of all things said than done!
the Java difficult to learn, because it was too complicated, and there are a lot of scary (not the language itself) details.
let us look at what we will encounter difficulties:
1. Expresses
face portion, where the use of technology and knowledge: JSP, Servlet, XML, HTML , JavaScript, CSS , etc., it is best to understand the network infrastructure (TCP / IP protocol, etc.).
2. business logic
core part here will use technology and knowledge: Java Bean, XML, etc.
3. database
knowledge database, JDBC, XML and other: a storage part, where the use of technology and knowledge.
deploying
an essential part , using an application server, such as tomcat, or weblogic?
seem to have enough of it? No no no, that's not enough! but if Getting start it? these enough!
Second, how to begin?
multitude of things, Well, now where to start my advice:?!
1. If you (plain language) to the Java language also Know half the solution? Then go to this Thinking Java it! Do not recommend to see the electronic version of Oh! [Master]
2. The terms of pages, page design if you do not, then do not get to the bottom, but at least you know the basic usage of HTML, JavaScript, CSS, right? [Understand]
3. OK, you can now take a look at JSP / Servlet the Recommendation do not buy books, at least I have not found better in this regard than the official javadoc sun of the data. you only need a few relevant tutorials, google or less, or in JR!
(If you have time to review the recommendations Http protocol!)
4. JDBC? If you wrote a database application, used by ADO, then you should be able to grasp quickly.
the application server? my favorite is tomcat, you can pick a you like, resin is also good. tutorial? no they have a very detailed document, where you need to configure are full of comments
Third, how to improve?
If you have more than 70 percent mastered the contents of the above, then congratulations, you can go further up. Take a deep breath, sure you enjoy the joy of success, and then we started to be more difficult in practice ...
maybe you have found a lot of problems in (b) of practice, a lot of inconvenience, you probably should not do this to complain about a waste of time, might as well continue your asp php or tour ...
Is this it? No no no, do not forget we are using Java!
Problem 1. Presentation Layer
Hey! I know you're looking at hundreds of lines of HTML in the Java language mixed JSP files depressed. Why not let us think a way. limited space, I can only tell you some names, you go to find the answers they are Struts, Tapestry, Turbine ...
2. database problem
Maybe smart you have to write some SQL JDBC wrapper or automatic generation tool, but the work package persistence layer too large and has a lot of tools available, if you do not study, then we use ready-made it! retrieve them Hibernate, JDO.
3. master only Notepad / Vim?
Oh ~ `certainly, but this is not the only criterion. I and some friends have also written anything with emacs, it is because the development environment is too times.
Here are several IDE recommended to you, there is order of the points oh ~
a. the Eclipse open-source, free! background is IBM, a variety of plug everything (part for a fee).
b. IntelliJ IDEA plug-in addition to relatively small addition, any one of not function under Eclipse, unfortunately it is a fee!
c. famous JBuilder, Borland's masterpiece.
4. the design of
design patterns, learning so long, should have heard of it! it allows a lot of problems solved, google iT!
5. architectural issues
What? has come to such a level? we talked about architecture often only selected parts of J2EE look at it, as well as its core mode.
6. Methodology
What is this? philosophy? religion? same There are several keyword: Agile Modeling, Extreme Programming, Feature Driven Development.
7. The complex problem
complexity of the problem often overlooked out our expectations, our principle is always: to make use of standard, proven technology or solve program.
understand? Okay! we now want to achieve a full-text search engine that lets you choose is lucene apache or write your own?
Apache and other open source organizations in this area there are many tools and frameworks that we can use, using them!
Well, these are the things I now can see. All work together!
Xuehaiwuya ...

Reproduced in: https: //www.cnblogs.com/521taobao/archive/2012/03/17/2402511.html

Guess you like

Origin blog.csdn.net/weixin_34270865/article/details/93355913