JSP is not a simplified Java

Source: Internet
Author: User
Tags html page tomcat
Js

See a lot of problems on the Internet is about how to learn JSP, just on the internet to see an article on the study of JSP, picked a part of the translation over, I hope to learn a little guidance jsp.

A common mistake is to take the JSP as a simplified java. It's not, (in fact, JSP is a simplified servlets.) Programmers usually try to learn JSP directly without the support skills they need to learn. JSP is a cohesive technology that successfully connects to other technologies that you need to understand. If you already know Java, HTML, and Javascript, this means that the JSP will indeed be simple.

Need to be a successful JSP programmer can refer to this timeline. Please note the following:

* Ignore the steps you already know.

* The time of training is only to represent enough basic time to learn, so as to move to the next step.

1, build and understand your Web Server.

Because Apache is free and works on most platforms, Apache is recommended for training purposes.

Installation time: 2 days.

2, to ensure that you understand html/xhtml.

You will need to understand the HTML basics, especially the use of the table in HTML layout. XHTML will soon replace HTML, and learning the basics of XHTML is a good idea. Many programmers learn HTML through the HTML IDE (integrated development environment). Because most HTML ides produce confusing HTML syntax, it is necessary to take the time to learn to write HTML manually. Because you will be using JSP and HTML mixed programming, it is important to be proficient in HTML syntax. So, you have to be able to write HTML fluently.

Training time: 2 ~ 4 weeks.

3, start learning Java.

It's important to start learning Java 1.3 to understand the Java basics. Don't worry about learning about swing or Java graphics, because you don't use these features in JSPs. Focus on the details of Java work, learn Java logic, and also spend time on Java beans. Learning applets is good, but like swing, most applications of JSP will not use small programs.

Training time: 3 ~ 6 weeks.

3. Learn JavaScript

Learn how to validate the input form elements in HTML with JavaScript. Also learn how JavaScript can modify the elements of a form within an HTML page. Finally, you will be able to trigger JavaScript Function from events within an HTML page.

Training time: one ~ 2 weeks.

4. Learn and understand the finer details of your Web server.

It is important to be familiar with the characteristics of the Web server.

Training time: 2 days.

5, build your JSP Server

I recommend starting with Tomcat. It can run the JSP program very well. When you cannot use Tomcat in production, learn as much knowledge as possible to facilitate better running of the program. In addition, many JSP programmers use Tomcat. So when you encounter a problem, you will find help easily.

Installation time: one ~ 2 days.

6, start learning JSP.

Basic JSP Learning steps 1 through 6 can be done, and then use the JSP object and script write JSP program to contact. Another aspect of learning about JSP is learning how to create a distributed application.

Training time: 4 ~ 6 weeks.

7, learn more JSP server.

There is no more JSP server, of course, you can run the JSP program. However, many JSP servers are characterized by their own special features that allow you to better understand your JSP project.

It is necessary to learn more about JSP server How to handle JSP programs. You can also optimize your JSP application and make it run faster without any problems.

Training time: 2 ~ 7 days.

8, learn JDBC.

JSP Most applications will use the database, JDBC is used for database connection. Often overlooked is the fact that each JDBC Driver supports something quite different. It is important to understand and familiarize yourself with the details of the JDBC driver used in JSP engineering. (sometimes this part of the study is included in the previous Java or JSP learning.) )

Training time: 1~ 2 weeks.

By now, you have become a proficient JSP programmer. There is still a lot to learn, and you can consider expanding your knowledge like DHTML, XML, java certificates, JSP Tag libraries or servlets, to see what type of Web site you want to build and decide.

These training is the core of JSP. You don't have to learn all the above, depending on what tasks you assign to the project and what knowledge you already have. But this is my timetable for successfully training programmers. The key unit is time. On average, 5 months can actually train a person (from start to finish) to become familiar with the JSP programmer. 5 months seems like a long time, but there is much more to be learned by becoming a senior web programmer.

Maybe you think it takes a long time to learn a language, because it will be faster and shorter. However, learning ASP does not need to learn 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.