PacktLib: Java EE 7 with GlassFish 4 Application Server

Java EE 7 with GlassFish 4 Application Server

Credits

About the Author

About the Reviewers

www.PacktPub.com

Preface

Getting Started with GlassFish

An Overview of Java EE and GlassFish

Obtaining GlassFish

Installing GlassFish

Starting GlassFish

GlassFish domains

Setting up Database Connectivity

Summary

JavaServer Faces

Introduction to JSF

Developing our first JSF application

Custom data validation

Customizing JSF's default messages

Ajax-enabling JSF applications

JSF 2.2 HTML5 support

JSF 2.2 Faces Flows

Additional JSF component libraries

Summary

Object Relational Mapping with JPA

The CustomerDB database

Introducing the Java Persistence API

Final notes

Summary

Enterprise JavaBeans

Introduction to session beans

Message-driven beans

Transactions in Enterprise JavaBeans

Enterprise JavaBean life cycles

Introduction to the EJB Timer Service

EJB Security

Summary

Contexts and Dependency Injection

Named beans

Dependency injection

Working with CDI Qualifiers

Named bean scopes

Summary

JSON Processing with JSON-P

The JSON-P Model API

The JSON-P Streaming API

Summary

WebSockets

Developing a WebSocket server endpoint

Developing WebSocket clients

Additional information about the Java API for WebSocket

Summary

The Java Message Service

Setting up GlassFish for JMS

Working with message queues

Working with message topics

Summary

Securing Java EE Applications

Security realms

Summary

Web Services with JAX-WS

Developing web services with the JAX-WS API

Exposing EJBs as web services

Securing web services

Securing EJB web services

Summary

Developing RESTful Web Services with JAX-RS

Introducing RESTful web services and JAX-RS

Developing a simple RESTful web service

Developing a RESTful web service client

Working with query and path parameters

Summary

Index