Java EE 7 with GlassFish 4 application server : a pratical guide to install and configure the GlassFish 4 application server and develop Java EE 7 applications to be deployed to this server /
This book is a practical guide and follows a very user-friendly approach. The book aims to get the reader up to speed in Java EE 7 development. All major Java EE 7 APIs and the details of the GlassFish 4 server are covered followed by examples of their use. If you are a Java developers who wants to...
Clasificación: | Libro Electrónico |
---|---|
Autor principal: | |
Formato: | Electrónico eBook |
Idioma: | Inglés |
Publicado: |
Birmingham, UK :
Packt Pub.,
2014.
|
Edición: | 3rd ed. |
Colección: | Community experience distilled.
|
Temas: | |
Acceso en línea: | Texto completo |
Tabla de Contenidos:
- Cover; Copyright; Credits; About the Author; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Getting Started with GlassFish; An Overview of Java EE and GlassFish; What's new in Java EE 7?; JavaServer Faces (JSF) 2.2; Java Persistence API (JPA) 2.1; Java API for RESTful Web Services (JAX-RS) 2.0; Java Message Service (JMS) 2.0; Java API for JSON Processing (JSON-P) 1.0; Java API for WebSocket 1.0; GlassFish advantages; Obtaining GlassFish; Installing GlassFish; GlassFish dependencies; Performing the installation; Starting GlassFish
- Deploying our first Java EE applicationDeploying an application through the Web Console; Undeploying an application through the GlassFish Admin Console; Deploying an application through the command line; GlassFish domains; Creating Domains; Deleting domains; Stopping a domain; Setting up Database Connectivity; Setting up connection pools; Setting up the data sources; Summary; Chapter 2: JavaServer Faces; Introduction to JSF; Facelets; Optional faces-config.xml; Standard resource locations; Developing our first JSF application; Facelets; Project stages; Validation; Grouping components
- Form submissionNamed beans; Navigation; Custom data validation; Creating custom validators; Validator methods; Customizing JSF's default messages; Customizing message styles; Customizing message text; Ajax-enabling JSF applications; JSF 2.2 HTML5 support; The HTML5-friendly markup; Pass-through elements; JSF 2.2 Faces Flows; Additional JSF component libraries; Summary; Chapter 3: Object Relational Mapping with JPA; The CustomerDB database; Introducing the Java Persistence API; Entity relationships; One-to-one relationships; One-to-many relationships; Many-to-many relationships
- Composite primary keysIntroducing the Java Persistence Query Language; Introducing the Criteria API; Updating data with the Criteria API; Deleting data with the Criteria API; Bean Validation support; Final notes; Summary; Chapter 4: Enterprise JavaBeans; Introduction to session beans; Developing a simple session bean; A more realistic example; Invoking session beans from web applications; Introduction to singleton session beans; Asynchronous method calls; Message-driven beans; Transactions in Enterprise JavaBeans; Container-managed transactions; Bean-managed transactions
- Enterprise JavaBean life cyclesThe stateful session bean life cycle; The stateless session bean life cycle; Message-driven bean life cycle; Introduction to the EJB Timer Service; Calendar-based EJB timer expressions; EJB Security; Client authentication; Summary; Chapter 5: Contexts and Dependency Injection; Named beans; Dependency injection; Working with CDI Qualifiers; Named bean scopes; Summary; Chapter 6: JSON Processing with JSON-P; The JSON-P Model API; Generating JSON data with the Model API; Parsing JSON data with the Model API; The JSON-P Streaming API