Download presentation
Presentation is loading. Please wait.
Published byFrancine Lyons Modified over 9 years ago
1
Introduction to JavaServer Pages February 23, 2000 Chris Hagner Noblestar Systems Corporation chagner@noblestar.com
2
Proprietary & Confidential 10/6/99 2 Audience Profile â Who was experience with JavaServer Pages? â Who has experience with Java Servlets? â Who experience with server-side scripting (i.e. ASP, Perl, JSP, Cold Fusion)? â Who has experience with web development?
3
Proprietary & Confidential 10/6/99 3 What are Java Servlets? â Java classes/applications that reside on a server and are run within the context of a Servlet Engine (JVM). â Similar to applets, with reside on a client and are run within the context of a Web Browser (JVM). â Most common servlet is the HttpServlet, but the Servlet API is not protocol dependent.
4
Proprietary & Confidential 10/6/99 4 What are JavaServer Pages? â Server-side scripting environment for creation of dynamic web pages â Works on top of servlet technology â Marketed as ‘rapid development’ tool â Front-end component of J2EE spec Web Resources â http://java.sun.com/jsp/ â http://java.sun.com/j2ee/
5
Proprietary & Confidential 10/6/99 5 How Do JSPs Work? â Web pages (plain text) that contain Java code. â JSPs are converted, on-the-fly, by the JSP Engine into a Java Servlet. â At this point, the created servlet is run like any other servlet within a Servlet Engine. Web Resources â http://java.sun.com/products/jsp/
6
Proprietary & Confidential 10/6/99 6 Required Skillsets â Java (duh!) â Knowledge of Front-end Tools (HTML/JavaScript/etc.) â Understanding of CGI basics (HTTP requests/responses) â Familiar with using and building reusable components
7
Proprietary & Confidential 10/6/99 7 JSPs Pros â Scripting development speed â Java-based components â Leverages investment in Java and available Java packages â Multiple platform support â Migration path (across vendors)
8
Proprietary & Confidential 10/6/99 8 JSPs Cons â Usually a separate product from web server â Thus, inherits performance, scalability and problems of OS and web server â Requires significantly more skills than other server-side scripting solutions â Potential for misuse (simplification)
9
Proprietary & Confidential 10/6/99 9 JSPs vs. ASPs â Share similar architecture â server-side scripting and compilation â web plug-in â Primary Difference: â COM vs. Java extensability â Developer skillsets â Javasoft’s Comparison: â http://java.sun.com/products/jsp/jsp- asp.html (biased, of course)
10
Proprietary & Confidential 10/6/99 10 Conclusion â JavaServer Pages are a great way to improve development speed with existing Java skills â JSPs are being supported by more solution providers â JSPs are not THE way of doing dynamic web pages. They are simply a tool.
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.