IMPORTANT COVID-19 UPDATES

9780321490292

The Java? EE 5 Tutorial

by ; ; ; ; ;
  • ISBN13:

    9780321490292

  • ISBN10:

    0321490290

  • Edition: 3rd
  • Format: Paperback
  • Copyright: 2006-11-03
  • Publisher: Addison-Wesley Professional
  • View Upgraded Edition

Note: Supplemental materials are not guaranteed with Rental or Used book purchases.

Purchase Benefits

  • Free Shipping On Orders Over $35!
    Your order must be $35 or more to qualify for free economy shipping. Bulk sales, PO's, Marketplace items, eBooks and apparel do not qualify for this offer.
  • Get Rewarded for Ordering Your Textbooks! Enroll Now
List Price: $64.99 Save up to $16.25
  • Buy Used
    $48.74
    Add to Cart Free Shipping

    USUALLY SHIPS IN 2-4 BUSINESS DAYS

Supplemental Materials

What is included with this book?

Summary

TheJava EE 5 Tutorialis an introduction to programming server-side Java applications. This book takes a task-oriented, example-driven approach to show you how to build applications for the Java EE 5 platform. This book also describes the features and functionalities available with NetBeans 5.5. What's new in this edition? The author team have updated the existing chapters to reflect the changes to JSP, EJB, Servlets, and more. Also, the authors have added new chapters on the Sun Java System Application Server 9 as a deployment environment for server-side technologies. The web-tier technology chapters cover the components used in developing the presentation layer of a Java EE 5 or stand-alone web application. The web services technology chapters cover the APIs used in developing standard web services. The Enterprise JavaBeans (EJB) technology chapters cover the components used in developing the business logic of a Java EE 5 application. The Persistence technology chapters cover the Java Persistence API, which is used for accessing databases from Java EE applications. The platform services chapters cover the system services used by all the Java EE 5 component technologies

Author Biography

Eric Jendrock leads Sun's Java EE Tutorial and Java WSIT Tutorial teams.

Jennifer Ball has documented JavaServer Faces technology, the Java2D API, deploytool, and JAXB.

Debbie Carson documents the Java EE, Java SE, and Java WSIT platforms.

Ian Evans documents the Java EE and Java Web Services platforms, and edits Java EE platform specifications.

Scott Fordin has written numerous articles and Sun guidebooks on Java, XML, and web service technologies.

Kim Haase documents the Java EE platform and Java Web Services, including Java Message Service (JMS), Java API for XML Registries (JAXR), and the SAAJ.

Table of Contents

About This Tutorialp. xxxi
Who Should Use This Tutorial xxxi Prerequisitesp. xxxi
How to Read This Tutorialp. xxxi
About the Examplesp. xxxiv
Further Informationp. xxxviii
Typographical Conventionsp. xxxix
Acknowledgmentsp. xxxix
Feedbackp. xli
Overviewp. 1
Java EE Application Modelp. 2
Distributed Multitiered Applicationsp. 3
Java EE Containersp. 8
Web Services Supportp. 11
Java EE Application Assembly and Deploymentp. 13
Packaging Applicationsp. 13
Development Rolesp. 15
Java EEp. 5
APIsp. 18
Sun Java System Application Server Platform Edition 9p. 26
The Web Tierp. 31
Getting Started with Web Applicationsp. 33
Web Application Life Cyclep. 36
Web Modulesp. 38
Configuring Web Applicationsp. 46
Duke's Bookstore Examplesp. 55
Accessing Databases from Web Applicationsp. 55
Further Informationp. 57
Java Servlet Technologyp. 59
What Is a Servlet?p. 59
The Example Servletsp. 60
Servlet Life Cyclep. 63
Sharing Informationp. 66
Initializing a Servletp. 70
Writing Service Methodsp. 71
Filtering Requests and Responsesp. 77
Invoking Other Web Resourcesp. 84
Accessing the Web Contextp. 88
Maintaining Client Statep. 89
Finalizing a Servletp. 92
Further Informationp. 95
JavaServer Pages Technologyp. 97
What Is a JSP Page?p. 97
The Example JSP Pagesp. 101
The Life Cycle of a JSP Pagep. 107
Creating Static Contentp. 110
Creating Dynamic Contentp. 111
Unified Expression Languagep. 113
JavaBeans Componentsp. 136
Using Custom Tagsp. 141
Reusing Content in JSP Pagesp. 145
Transferring Control to Another Web Componentp. 146
Including an Appletp. 147
Setting Properties for Groups of JSP Pagesp. 149
Further Informationp. 154
JavaServer Pages Documentsp. 155
The Example JSP Documentp. 156
Creating a JSP Documentp. 158
Identifying the JSP Document to the Containerp. 173
JavaServer Pages Standard Tag Libraryp. 175
The Example JSP Pagesp. 176
Using JSTLp. 177
Core Tag Libraryp. 180
XML Tag Libraryp. 188
Internationalization Tag Libraryp. 192
SQL Tag Libraryp. 195
Functionsp. 199
Further Informationp. 201
Custom Tags in JSP Pagesp. 203
What Is a Custom Tag?p. 204
The Example JSP Pagesp. 204
Types of Tagsp. 207
Encapsulating Reusable Content Using Tag Filesp. 212
Tag Library Descriptorsp. 229
Programming Simple Tag Handlersp. 240
Scripting in JSP Pagesp. 261
The Example JSP Pagesp. 262
Using Scriptingp. 263
Disabling Scriptingp. 264
Declarationsp. 264
Scriptletsp. 265
Expressionsp. 266
Programming Tags That Accept Scripting Elementsp. 267
JavaServer Faces Technologyp. 275
JavaServer Faces Technology Benefitsp. 276
What Is a JavaServer Faces Application?p. 277
A Simple JavaServer Faces Applicationp. 278
User Interface Component Modelp. 291
Navigation Modelp. 302
Backing Beansp. 304
The Life Cycle of a JavaServer Faces Pagep. 309
Further Informationp. 315
Using JavaServer Faces Technology in JSP Pagesp. 317
The Example JavaServer Faces Applicationp. 318
Setting Up a Pagep. 321
Using the Core Tagsp. 324
Adding UI Components to a Page Using the HTML Component Tagsp. 326
Using Localized Datap. 355
Using the Standard Convertersp. 359
Registering Listeners on Componentsp. 366
Using the Standard Validatorsp. 369
Binding Component Values and Instances to External Data Sourcesp. 371
Binding Converters, Listeners, and Validators to Backing Bean Propertiesp. 378
Referencing a Backing Bean Methodp. 379
Using Custom Objectsp. 383
Developing with JavaServer FacesTechnologyp. 389
Writing Bean Propertiesp. 390
Performing Localizationp. 402
Creating a Custom Converterp. 405
Implementing an Event Listenerp. 408
Creating a Custom Validatorp. 411
Writing Backing Bean Methodsp. 418
Creating Custom UI Componentsp. 425
Determining Whether You Need a Custom Component or Rendererp. 426
Understanding the Image Map Examplep. 429
Table of Contents provided by Publisher. All Rights Reserved.

Excerpts

About This TutorialThis tutorial is a guide to developing enterprise applications for the Java Platform, Enterprise Edition 5 (Java EE 5). Here we cover all the things you need to know to make the best use of this tutorial. Who Should Use This TutorialThis tutorial is intended for programmers who are interested in developing and deploying applications on the Sun Java System Application Server Platform Edition 9. PrerequisitesBefore proceeding with this tutorial, you should have a good knowledge of the Java programming language. A good way to get to that point is to work throughThe Java38482; Tutorial, Fourth Edition, Sharon Zakhour et al. (Addison-Wesley, 2006). You should also be familiar with the relational database features described inJDBC API Tutorial and Reference, Third Edition, Maydene Fisher et al. (Addison-Wesley, 2003). How to Read This TutorialThe Java EE 5 platform is quite large, and this tutorial reflects this. However, you don't have to digest everything in it at once. The tutorial has been divided into parts to help you navigate the content more easily.This tutorial opens with an introductory chapter, which you should read before proceeding to any specific technology area. Chapter 1 covers the Java EE 5 platform architecture and APIs along with the Sun Java System Application Server Platform Edition 9.When you have digested the basics, you can delve into one or more of the five main technology areas listed next. Because there are dependencies between some of the chapters, the following list contains a roadmap for navigating through the tutorial. The web-tier technology chapters cover the components used in developing the presentation layer of a Java EE 5 or stand-alone web application: Java Servlet JavaServer Pages (JSP) JavaServer Pages Standard Tag Library (JSTL) JavaServer Faces Web application internationalization and localization The web services technology chapters cover the APIs used in developing standard web services: The Java API for XML-based Web Services (JAX-WS) The Java API for XML Binding (JAXB) The Streaming API for XML (StAX) The SOAP with Attachments API for Java (SAAJ) The Java API for XML Registries (JAXR) The Enterprise JavaBeans (EJB) technology chapters cover the components used in developing the business logic of a application: Session beans Message-driven beans The Persistence technology chapters cover the Java Persistence API, which is used for accessing databases from Java EE applications: Introduction to the Java Persistence API Persistence in the Web Tier Persistence in the EJB Tier The Java Persistence Query Language The platform services chapters cover the system services used by all the Java EE 5 component technologies: Transactions Resource connections Security Java Message Service The Connector architectureAfter you have become familiar with some of the technology areas, you are ready to tackle the case studies, which tie together several of the technologies discussed in the tutorial. The Coffee Break Application describes an application that uses the web application and web services APIs. The Duke's Bank Application describes an application that employs web application technologies, enterprise beans, and the Java Persistence API.Finally, the appendix contains information about Java encoding schemes that may be helpful to the Java EE 5 application developer. About the ExamplesThis section tells you everything

Rewards Program

Write a Review