JavaServer™ Faces Web Applications
In this chapter, we introduce web application development with Java-based technology. Web-based applications create web content for web browser clients. This web content in-cludes Extensible HyperText Markup Language (XHTML), client-side scripting, images and binary data. If you are not familiar with XHTML, you should read Chapter 4 before studying this chapter. [Note: This chapter assumes that you know Java. To learn more about Java, check out Java How to Program, Seventh Edition, or visit our Java Resource Centers at www.deitel.com/ResourceCenters.html.]
This chapter begins with an overview of multitier application architecture and Java’s web technologies for implementing multitier applications. We then present several exam-ples that demonstrate web application development. The first example introduces you to Java web development. In the second example, we build a web application that simply shows the look-and-feel of several web application GUI components. Next, we demon-strate how to use validation components and custom validation methods to ensure that user input is valid before it is submitted for processing on the server. The chapter finishes with two examples of customizing a user’s experience with session tracking.
In Chapter 27, we continue our discussion of Java web application development with more advanced concepts, including the AJAX-enabled components from Sun’s Java Blue-Prints. AJAX helps web-based applications provide the interactivity and responsiveness that users typically expect of desktop applications.
Throughout this chapter and Chapter 27, we use the Netbeans 5.5.1 IDE, its Visual Web Pack and the Sun Java System Application Server (SJSAS). The Visual Web Pack helps you build web applications using Java technologies such as JavaServer Pages and JavaServer Faces. To implement the examples presented in this chapter, you must install all three software products. A bundle of Netbeans 5.5.1 and SJSAS is available at www.netbeans.info/downloads/index.php?rs=22&p=3
The Visual Web Pack is available at
Copyright © 2018-2020 BrainKart.com; All Rights Reserved. Developed by Therithal info, Chennai.