Java EE 5 Development using GlassFish Application Server BY David R. Heffelfinger

Java EE 5 Development using GlassFish Application Server BY David R. Heffelfinger
Java EE 5 Development using GlassFish Application Server BY David R. Heffelfinger
Book Details:
Book Title: Java EE 5 Development using GlassFish Application Server
Author: Dan Renfroe & Mitesh Desai
Paperback: 424 Pages
Publisher: Packt Publishing Limited
Year: 15/December/2010
Language: English
ISBN-10: 1847192602
ISBN-13: 978-1847192608
Download: PDF (12.5 MB)
Buy @ Amazon

Chapter 1: Getting Started with GlassFish

  • Overview of Java EE and GlassFish
  • GlassFish Advantages
  • Obtaining GlassFish
  • Installing GlassFish
  • GlassFish Dependencies
  • Performing the Installation
  • Verifying the Installation
  • Deploying Our First Java EE Application
  • Deploying an Application through the Web Console
  • Undeploying an Application through the Web Console
  • Deploying an Application through the Command Line
  • Undeploying an Application through the Command Line
  • GlassFish Domains Explained
  • Creating Domains
  • Deleting Domains
  • Stopping a Domain
  • Setting Up Database Connectivity
  • Setting Up Connection Pools
  • Summary


Chapter 2: Servlet Development and Deployment

  • Writing Our First Servlet
  • Compiling the Servlet
  • Configuring the Servlet
  • Packaging the Web Application
  • Deploying the Web Application
  • Testing the Web Application
  • Processing HTML Forms
  • Request Forwarding and Response Redirection
  • Request Forwarding
  • Response Redirection
  • Persisting Application Data across Requests
  • Summary


Chapter 3: JavaServer Pages

  • Introduction to JavaServer Pages
  • Developing Our First JSP
  • JSP Implicit Objects
  • JSPs and JavaBeans
  • Reusing JSP Content
  • JSP Custom Tags
  • Extending SimpleTagSupport
  • Using Tag Files to Create Custom JSP Tags
  • Unified Expression Language
  • Summary


Chapter 4: Database Connectivity

  • The CustomerDB Database
  • JDBC
  • Retrieving Data from a Database
  • Modifying Database Data
  • The Java Persistence API
  • Entity Relationships
  • One-to-One Relationships
  • One-to-Many Relationships
  • Many-to-Many Relationships
  • Composite Primary Keys
  • Java Persistence Query Language
  • Final Notes
  • Summary
  • Chapter 5: JSP Standard Tag Library
  • Core JSTL Tag Library
  • Formatting JSTL Tag Library
  • SQL JSTL Tag Library
  • XML JSTL Tag Library
  • JSTL Functions
  • Summary


Chapter 6: JavaServer Faces

  • Developing Our First JSF Application
  • Custom Data Validation
  • Creating Custom Validators
  • Validator Methods
  • Customizing JSF's Default Messages
  • Integrating JSF and JPA
  • JSF Core Components
  • <f:actionListener>
  • <f:attribute>
  • <f:convertDateTime>
  • <f:convertNumber>
  • <f:converter>
  • <f:facet>
  • <f:loadBundle>
  • <f:param>
  • <f:phaseListener>
  • <f:selectItem>
  • <f:selectItems>
  • <f:setPropertyActionListener>
  • <f:subview>
  • <f:validateDoubleRange>
  • <f:validateLength>
  • <f:validateLongRange>
  • <f:validator>
  • <f:valueChangeListener>
  • <f:verbatim>
  • <f:view>
  • JSF HTML Components
  • <h:column>
  • <h:commandButton>
  • <h:commandLink>
  • <h:dataTable>
  • <h:form>
  • <h:graphicImage>
  • <h:inputHidden>
  • <h:inputSecret>
  • <h:inputText>
  • <h:inputTextarea>
  • <h:message>
  • <h:messages>
  • <h:outputFormat>
  • <h:outputLabel>
  • <h:outputLink>
  • <h:outputText>
  • <h:panelGrid>
  • <h:panelGroup>
  • <h:selectBooleanCheckbox>
  • <h:selectManyCheckbox>
  • <h:selectManyListbox>
  • <h:selectManyMenu>
  • <h:selectOneListbox>
  • <h:selectOneMenu>
  • <h:selectOneRadio>
  • Additional JSF Tag Libraries
  • Summary


Chapter 7: Java Messaging Service

  • Setting Up GlassFish for JMS
  • Setting Up a JMS Connection Factory
  • Setting Up a JMS Message Queue
  • Setting Up a JMS Message Topic
  • Message Queues
  • Sending Messages to a Message Queue
  • Retrieving Messages from a Message Queue
  • Asynchronously Receiving Messages from a Message Queue
  • Browsing Message Queues
  • Message Topics
  • Sending Messages to a Message Topic
  • Receiving Messages from a Message Topic
  • Creating Durable Subscribers
  • Summary


Chapter 8: Security

  • Security Realms
  • Predefined Security Realms
  • admin-realm
  • The file Realm
  • The certificate Realm
  • Defining Additional Realms
  • Defining Additional File Realms
  • Defining Additional Certificate Realms
  • Defining an LDAP Realm
  • Defining a Solaris Realm
  • Defining a JDBC Realm
  • Defining Custom Realms
  • Summary


Chapter 9: Enterprise JavaBeans

  • Session Beans
  • Simple Session Bean
  • A More Realistic Example
  • Invoking Session Beans from Web Applications
  • Message-Driven Beans
  • Transactions in Enterprise Java Beans
  • Container-Managed Transactions
  • Bean-Managed Transactions


About Books:
The book aims to speed up the reader in Java EE 5 development. All major Java EE 5 APIs and the details of the GlassFish server are covered followed by examples of its use. This book is aimed at Java developers wishing to become proficient with Java EE 5, who are expected to have some experience with Java and to have developed and deployed applications in the past, but need no previous knowledge of Java EE or J2EE. It teaches the reader how to use GlassFish to develop and deploy applications.

About Author:
Dan Renfroe has been a technology professional for over ten years, working in diverse environments such as higher education, public safety, and federal government. He has a broad range of technical experience, including systems administration and analysis, multimedia development, technical writing and quality assurance. He is currently a consultant for OST, Inc., a management consulting firm based in Washington, DC. He has authored multiple mobile and wireless technology articles for Network Computing magazine on topics ranging from mobile e-mail servers and mobile VPN applications to WLAN infrastructure and analysis tools. Mitesh Desai is a 29 year-old IT Consultant from London, UK. He has completed Blackberry projects for numerous clients in many different network infrastructures. He also operates an IT consultant company IT-Problems He enjoys a busy lifestyle supporting many prestigious companies in the heart of Central London, but makes time to enjoy sports and writing music. He is also at hand on IT-Problems to help budding Blackberry technicians.

Comments