Home

This Chapter
-Chapter 25: Java Web Applications
-The Architecture of a Servlet Application
-Servlet API Overview
-Servlet
-Writing a Basic Servlet Application
-ServletResponse
-ServletRequest
-ServletConfig
-GenericServlet
-ServletContext
-HTTP Servlets
-Summary
-Questions

Table of Contents
-Introduction
-Chapter 1: Your First Taste of Java
-Chapter 2: Language Fundamentals
-Chapter 3: Statements
-Chapter 4: Objects and Classes
-Chapter 5: Core Classes
-Chapter 6: Inheritance
-Chapter 7: Error Handling
-Chapter 8: Numbers and Dates
-Chapter 9: Interfaces and Abstract Classes
-Chapter 10: Enums
-Chapter 11: The Collections Framework
-Chapter 12: Generics
-Chapter 13: Input Output
-Chapter 14: Nested and Inner Classes
-Chapter 15: Swing Basics
-Chapter 16: Swinging Higher
-Chapter 17: Polymorphism
-Chapter 18: Annotations
-Chapter 19: Internationalization
-Chapter 20: Applets
-Chapter 21: Java Networking
-Chapter 22: Java Database Connectivity
-Chapter 23: Java Threads
-Chapter 24: Security
-Chapter 25: Java Web Applications
-Chapter 26: JavaServer Pages
-Chapter 27: Javadoc
-Chapter 28: Application Deployment
-Appendix A: javac
-Appendix B: java
-Appendix C: jar
-Appendix D: NetBeans
-Appendix E: Eclipse

Previous
Next

 

Chapter 25

Java Web Applications

There are three technologies for developing Web applications in Java: Servlet, JavaServer Pages (JSP), and JavaServer Faces (JSF). They are not part of the Java SE but members of the Java EE. However, considering that Web applications are the most popular applications today, they are also covered in this chapter. Each technology is complex enough to require a book of its own, therefore I can only promise an introduction here.

Of the three, the Servlet technology is the core technology on which JSP and JSF are based. The emergence of JSP after servlets did not make the Servlet technology obsolete. Rather, they are used together in modern Java Web applications.

This chapter explores the Servlet API and presents a few servlet applications as examples. Chapter 26, “JavaServer Pages” covers JSP.

Previous
Next