How to become an excellent JSP programmer

zhaozj2021-02-12  186

I saw a lot of questions on the Internet is about how to learn JSP. I just saw an article about learning JSP, I took a part of the translation, I hope to learn JSP a little guidance on everyone.

An ordinary error is to use JSP as a simplified Java. It is not, (in fact, JSP is a simplified servlets.) Programmer usually tries to do not have support skills for learning requirements

Learn JSP directly. JSP is a connection technology and successfully connects to additional technologies you need to understand. If you already know Java, HTML, and JavaScript, this means

JSP will be simple.

Need to be a successful JSP programmer to refer to this schedule. Please pay attention to:

* Ignore the steps you are familiar with. * Training time is only a basic time that is good enough to move to the next step.

1. Establish and understand your web server. Because Apache is free and working on most platforms, recommend apache for training purposes, and of course, if you use IBM's HTTP Server WebSphere Application Server to provide a good web server, but I think it is difficult to get play. Installation, commissioning time: 2 days.

2, ensure that you understand HTML / XHTML / JavaScript (it is recommended to put JavaScript and HTML to learn). You will need to understand the HTML foundation, especially the use of Table in the HTML layout. XHTML will soon replace HTML, learning XHTML's basis is a good idea. Most programmers learn HTML through HTML IDE (recommended with Acehtml Pro 5.08.2 - full-featured HTML & JavaScript editor, very good). However, most HTML IDEs may have confusing HTML syntax, so it is necessary to spend time learning and manually writing HTML is necessary. Because you will use JSP and HTML hybrid programming, it is important to master HTML syntax. So, you must fluently write HTML fluent. JavaScript as the most practical client programming tool is also very important to learn JSP, but must figure out a fact that there are many netizens who think of JavaScript is a web version of the Java language, which is a conceptual error. But JavaScript has its own uniqueness in form verification, framework processing. And learning JavaScript can also simply come into contact with Java's object-oriented syntax characteristics, so I think JavaScript has an extremely important assistive effect for developing a good JSP page: 4 to 7 weeks.

3, start learning Java. It is important to learn Java 1.3 to understand Java foundation. Don't worry about learning Swing or Java graphics, because you don't use these features in JSP. Concentrate in the details of Java work, learn Java logic, and spend time on Java Bean. Learning Applet is good, but most of the applications in Swing, Most applications in JSP will not use the applet. For Java's entry learning, I suggest that you can refer to "Programmer Magazine" "Programmer's game ------- Robocode" since I read this article, I prefer Java. Language, developing our own Robocode is a good way to learn basic grammar (class, method, event processing, etc.) for beginners (class, methods, event processing, etc.), and once you deepen, there will be a feeling (addictive), so you will In the continuous improvement of your Robocode code, becomes a real Java master. Training time: 4 ~ 7 weeks.

4, learn and understand your better details for your Web Server. It is important to familiarize with the characteristics of Web Server. Training time: 2 days. 5. I have established your JSP Server I recommend starting with Tomcat. It can run the JSP program very well. When you can't use Tomcat, learn as much knowledge as possible for your better operation. In addition, many JSP programmers use Tomcat. So when you encounter a problem, you will easily find help (in Tomcat's official website you can get a lot of technical support, but your E text must pass). Installation time: 1 ~ 2 days.

6, start learning JSP. Steps 1 to 6 of the basic JSP learning can be done, then use the JSP object and the script to write the JSP program to contact. Another aspect of learning JSP can learn how to create a distributed application. Training time: 4 ~ 6 weeks.

7. Learn more JSP Server. No JSP Server can also run JSP programs for more JSP Server. However, many JSP Server are specialized by their own special features, so you can better understand your JSP project. Learning more JSP Server how to deal with JSP programs is necessary. You can also optimize your JSP app and make it faster without any problems. Training time: 2 to 7 days.

8. Learn JDBC. Most of the JSP will use the database, and JDBC is used for database connections. A fact that is often ignored is that every JDBC Driver is quite different. It is important to understand and familiar with the details of JDBC Driver used in JSP engineering. And choose a good database in the early days of your study, it is also very important as practice tools. I recommend using mysql. This database can be said to be short and delicate, easy to get started, is the easiest way to learn JSP database, waiting for you to be familiar The knowledge of this can consider using some enterprise-class large databases (sometimes this part of learning is included in the previous Java or JSP learning.) Training time: 2 ~ 3 weeks.

To now, you have become a skilled JSP programmer. There are still many need to learn, you can consider extending your knowledge such as DHTML, XML, Java certificates, JSP TAG, Libraries or servlets, and see what type of website you want to make.

These training are the core of JSP. You don't have to learn all your top, depending on what you have in the project and what you have. But this is the timetable I have successfully trained programmers. The key unit is time. On average, 5-6 months really can be able to train one person (from start to finish) to become a master of JSP. 5 months seems to be very long, but it is far more than this since a senior Web programmer. Maybe you think this is too long to study a language, because learning ASP will be faster, time will be shorter. But learning ASP does not need to learn Java.

Here are some of the better JSP learning books, you can find it directly on the Internet:

Servlets and JavaServer Pages (JSP) 1.0: a Tutorial (Marty Hall. 1999) http://www.apl.jhu.edu/~hall/java/servlet-tutorial/

JSP: The Short Course (ray carnes 8.26.2000) http://www.jspinsider.com/tutorials/jsp/ray/jspb_intro.html

JavaServer Pages Fundamentals (Govind Seshadri 9.13.2000) http://developer.java.sun.com/developer/onlineTraining/JSPIntro/The Java Tutorial (Sun) http://java.sun.com/docs/books/tutorial/

JSP Tag Extensions http://www.jspinsider.com/tutorials/tagextensions/wrox/4656_content.html

JSP Product Page (Sun) http://java.sun.com/products/jsp/

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

New Post(0)