My Account Log in

1 option

The Java EE 6 tutorial : basic concepts

O'Reilly Online Learning: Academic/Public Library Edition Available online

View online
Format:
Book
Author/Creator:
Jendrock, Eric, author.
Contributor:
Jendrock, Eric, Contributor.
Series:
The Java series
Language:
English
Subjects (All):
Java (Computer program language)--Development.
Java (Computer program language).
Application program interfaces (Computer software).
Application software.
Internet programming.
Genre:
Electronic books.
Physical Description:
1 online resource (xxviii, 557 p.) : ill.
Edition:
4th ed.
Place of Publication:
[Place of publication not identified] Addison Wesley 2011
Language Note:
English
System Details:
text file
Summary:
The Java EE 6 Tutorial: Basic Concepts, Fourth Edition, is a task-oriented, example-driven guide to developing enterprise applications for the Java Platform, Enterprise Edition 6 (Java EE 6). Written by members of the Java EE 6 documentation team at Oracle, this book provides new and intermediate Java programmers with a deep understanding of the platform. Starting with expert guidance on web tier technologies, including JavaServer Faces and Facelets, this book also covers building web services using JAX-WS and JAX-RS, developing business logic with Enterprise JavaBeans components, accessing databases using the Java Persistence API, securing web and enterprise applications, and using Contexts and Dependency Injection for the Java EE platform. This edition contains extensive new material throughout, including detailed introductions to the latest APIs and platform features, and instructions for using the latest versions of GlassFish Server Open Source Edition and NetBeans IDE. Key platform features covered include Convention over configuration, so developers need specify only those aspects of an application that vary from the convention Annotated POJOs (Plain Old Java Objects) with optional XML configuration Simplified but more flexible packaging Lightweight Web Profile that is ideal for developing web applications The Java Series…from the Source Since 1996, when Addison-Wesley published the first edition of The Java Programming Language by Ken Arnold and James Gosling, this series has been the place to go for complete, expert, and definitive information on Java technology. The books in this series provide the detailed information developers need to build effective, robust, and portable applications and are an indispensable resource for anyone using the Java platform.
Contents:
Cover
Contents
Preface
Part I: Introduction
1 Overview
Java EE 6 PlatformHighlights
Java EE ApplicationModel
DistributedMultitiered Applications
Java EE Containers
Web Services Support
Java EE Application Assembly and Deployment
Packaging Applications
Development Roles
Java EE 6 APIs
Java EE 6 APIs in the Java Platform, Standard Edition 6.0
GlassFish Server Tools
2 Using the Tutorial Examples
Required Software
Starting and Stopping the GlassFish Server
Starting the Administration Console
Starting and Stopping the Java DB Server
Building the Examples
Tutorial Example Directory Structure
Getting the Latest Updates to the Tutorial
Debugging Java EE Applications
Part II: The WebTier
3 Getting Started withWeb Applications
Web Applications
Web Application Lifecycle
WebModules: The hello1 Example
Configuring Web Applications: The hello2 Example
Further Information about Web Applications
4 JavaServer FacesTechnology
What Is a JavaServer Faces Application?
JavaServer Faces Technology Benefits
Creating a Simple JavaServer Faces Application
Further Information about JavaServer Faces Technology
5 Introduction to Facelets
What Is Facelets?
Developing a Simple Facelets Application
Templating
Composite Components
Resources
6 Expression Language
Overview of the EL
Immediate and Deferred Evaluation Syntax
Value and Method Expressions
7 Using JavaServer FacesTechnology in Web Pages
Setting Up a Page
Adding Components to a Page Using HTML Tags
Using Core Tags
8 Using Converters, Listeners, and Validators
Using the Standard Converters
Registering Listeners on Components
Using the Standard Validators
Referencing a Backing Bean Method
9 Developing with JavaServer FacesTechnology
Backing Beans.
Writing Bean Properties
Writing Backing Bean Methods
Using Bean Validation
10 Java Servlet Technology
What Is a Servlet?
Servlet Lifecycle
Sharing Information
Creating and Initializing a Servlet
Writing Service Methods
Filtering Requests and Responses
Invoking Other Web Resources
Accessing the Web Context
Maintaining Client State
Finalizing a Servlet
The mood Example Application
Further Information about Java Servlet Technology
Part III: Web Services
11 Introduction to Web Services
What Are Web Services?
Types of Web Services
Deciding Which Type of Web Service to Use
12 Building Web Services with JAX-WS
Creating a Simple Web Service and Clients with JAX-WS
Types Supported by JAX-WS
Web Services Interoperability and JAX-WS
Further Information about JAX-WS
13 Building RESTful Web Services with JAX-RS
What Are RESTful Web Services?
Creating a RESTful Root Resource Class
Example Applications for JAX-RS
Further Information about JAX-RS
Part IV: Enterprise Beans
14 Enterprise Beans
What Is an Enterprise Bean?
What Is a Session Bean?
What Is a Message-Driven Bean?
Accessing Enterprise Beans
The Contents of an Enterprise Bean
Naming Conventions for Enterprise Beans
The Lifecycles of Enterprise Beans
Further Information about Enterprise Beans
15 Getting Started with Enterprise Beans
Creating the Enterprise Bean
Modifying the Java EE Application
16 Running the Enterprise Bean Examples
The cart Example
A Singleton Session Bean Example: counter
A Web Service Example: helloservice
Using the Timer Service
Handling Exceptions
Part V: Contexts and Dependency Injection for the Java EE Platform
17 Introduction to Contexts and Dependency Injection for the Java EE Platform
Overview of CDI
About Beans.
About Managed Beans
Beans as Injectable Objects
Using Qualifiers
Injecting Beans
Using Scopes
Giving Beans EL Names
Adding Setter and Getter Methods
Using a Managed Bean in a Facelets Page
Injecting Objects by Using ProducerMethods
Configuring a CDI Application
Further Information about CDI
18 Running the Basic Contexts and Dependency Injection Examples
The simplegreeting CDI Example
The guessnumber CDI Example
Part VI: Persistence
19 Introduction to the Java Persistence API
Entities
Entity Inheritance
Managing Entities
Querying Entities
Further Information about Persistence
20 Running the Persistence Examples
The order Application
The roster Application
The address-book Application
21 The Java Persistence Query Language
Query Language Terminology
Creating Queries Using the Java Persistence Query Language
Simplified Query Language Syntax
Example Queries
Full Query Language Syntax
22 Using the Criteria API to Create Queries
Overview of the Criteria and Metamodel APIs
Using the Metamodel API to Model Entity Classes
Using the Criteria API and Metamodel API to Create Basic Typesafe Queries
Part VII: Security
23 Introduction to Security in the Java EE Platform
Overview of Java EE Security
SecurityMechanisms
Securing Containers
Securing the GlassFish Server
Working with Realms, Users, Groups, and Roles
Establishing a Secure Connection Using SSL
Further Information about Security
24 Getting Started SecuringWeb Applications
Overview of Web Application Security
Securing Web Applications
Using Programmatic Security with Web Applications
Examples: Securing Web Applications
25 Getting Started Securing Enterprise Applications
Securing Enterprise Beans
Examples: Securing Enterprise Beans.
Securing Application Clients
Securing Enterprise Information Systems Applications
Part VIII: Java EE SupportingTechnologies
26 Introduction to Java EE SupportingTechnologies
Transactions
27 Transactions
What Is a Transaction?
Container-Managed Transactions
Bean-Managed Transactions
Transaction Timeouts
UpdatingMultipleDatabases
Transactions in Web Components
Further Information about Transactions
28 Resource Connections
Resources and JNDINaming
DataSource Objects and Connection Pools
Resource Injection
Resource Adapters and Contracts
Metadata Annotations
Common Client Interface
Further Information about Resources
Index
Numbers and Symbols.
Notes:
Bibliographic Level Mode of Issuance: Monograph
Includes bibliographical references and index.
Description based on publisher supplied metadata and other sources.
ISBN:
9786612767418
9781282767416
1282767410
9780137084258
0137084250
OCLC:
1027158654

The Penn Libraries is committed to describing library materials using current, accurate, and responsible language. If you discover outdated or inaccurate language, please fill out this feedback form to report it and suggest alternative language.

Find

Home Release notes

My Account

Shelf Request an item Bookmarks Fines and fees Settings

Guides

Using the Find catalog Using Articles+ Using your account