Java EE 7 developer handbook : develop professional applications in Java EE 7 with this essential reference guide /: develop professional applications in Java EE 7 with this essential reference guide. (2013)
- Record Type:
- Book
- Title:
- Java EE 7 developer handbook : develop professional applications in Java EE 7 with this essential reference guide /: develop professional applications in Java EE 7 with this essential reference guide. (2013)
- Main Title:
- Java EE 7 developer handbook : develop professional applications in Java EE 7 with this essential reference guide
- Further Information:
- Note: Peter A. Pilgrim.
- Other Names:
- Pilgrim, Peter A
- Contents:
- Cover; Copyright; Credits; About the Author; Acknowledgment; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Java EE 7 HTML5 Productivity; Java EE 7; Enhanced HTML5 support; Java EE 7 architecture; Standard platform components and API; New productivity themes; Refinements; Java EE Platform; Java EE Profiles; Web Profile; Enterprise Profile; A working example; Entities; Business logic; The service endpoints; A WebSocket endpoint; A RESTful endpoint; The Entity Control Boundary pattern; Summary; Chapter 2: Context and Dependency Injection. Software engineering definitionsThe Context and Dependency Injection service; Beans and bean types; Basic injection; Field injection; Setter injection; Constructor injection; Qualifiers; Built-in qualifiers; The CDI classpath scanning; Factory production; Generating new instances every time; The Bean names and the presentation views; The bean scopes; CDI initialization and destruction; The @PostConstruct annotation; The @PreDestroy annotation; Programmatic Lookup of the CDI Beans; Configuring a CDI application; Standalone CDI application; Building the standalone project with Gradle. Using the DeltaSpike CDI container testsInjecting arbitrary objects using Producers; Advanced CDI; The lifecycle component example; Alternatives; Arquillian test framework; A new kind of Java EE testing framework; Setup of Arquillian; The disposable methods; CDI and crosscutting concerns; Interceptors; Decorators; Observers andCover; Copyright; Credits; About the Author; Acknowledgment; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Java EE 7 HTML5 Productivity; Java EE 7; Enhanced HTML5 support; Java EE 7 architecture; Standard platform components and API; New productivity themes; Refinements; Java EE Platform; Java EE Profiles; Web Profile; Enterprise Profile; A working example; Entities; Business logic; The service endpoints; A WebSocket endpoint; A RESTful endpoint; The Entity Control Boundary pattern; Summary; Chapter 2: Context and Dependency Injection. Software engineering definitionsThe Context and Dependency Injection service; Beans and bean types; Basic injection; Field injection; Setter injection; Constructor injection; Qualifiers; Built-in qualifiers; The CDI classpath scanning; Factory production; Generating new instances every time; The Bean names and the presentation views; The bean scopes; CDI initialization and destruction; The @PostConstruct annotation; The @PreDestroy annotation; Programmatic Lookup of the CDI Beans; Configuring a CDI application; Standalone CDI application; Building the standalone project with Gradle. Using the DeltaSpike CDI container testsInjecting arbitrary objects using Producers; Advanced CDI; The lifecycle component example; Alternatives; Arquillian test framework; A new kind of Java EE testing framework; Setup of Arquillian; The disposable methods; CDI and crosscutting concerns; Interceptors; Decorators; Observers and events; Stereotypes; Summary; Chapter 3: Enterprise Java Beans; EJB protocols; Criticism of EJB; Simplification of EJB; Features of EJB components; Session beans; Stateless session beans; Concurrency and stateless session EJB; Stateful session beans. Singleton session beansThe lifecycle of session EJBs; Lifecycle of stateless EJBs; Lifecycle of stateful session beans; Lifecycle of singleton session beans; Business interfaces; Local access; Remote access; Access summary; No interface views; EJB references; Asynchronous invocations; The relationship between EJB and CDI containers; Lightweight scope of EJB; Summary; Chapter 4: Essential Java Persistence API 3.2; Entities; Entity bean definition; An entity bean example; A Plain Old Java Object; A simple entity bean; Expanded entity bean definition; Annotating entity beans. Annotating entities with the instance variablesAnnotating entities with property accessors; Comparing annotating styles; Running a simple entity bean test; The Gradle build file for the entity bean test; A stateful session bean; An entity bean integration test; A persistence context XML configuration; Arquillian configuration for the embedded GlassFish server; Running the integration test; The lifecycle of entity bean; The new entity state; The managed entity state; The detached entity state; The removed entity state; EntityManager; Persistence context; The EntityManager methods. … (more)
- Publisher Details:
- Birmingham : Packt Publishing
- Publication Date:
- 2013
- Extent:
- 1 online resource (634 pages), illustrations (chiefly color)
- Subjects:
- 005.133
COMPUTERS -- Enterprise Applications -- General
Java (Computer program language)
Java (Computer program language)
Application software
COMPUTERS -- Programming Languages -- C♯
COMPUTERS -- Programming Languages -- Java
COMPUTERS -- Programming Languages -- Pascal
Java (Computer program language)
COMPUTERS -- Programming -- Object Oriented
COMPUTERS -- Web -- General
Electronic books - Languages:
- English
- ISBNs:
- 9781849687959
1849687951
9781680153521
1680153528 - Related ISBNs:
- 1849687943
9781849687942 - Notes:
- Note: Includes bibliographical references and index.
Note: Online resource; title from PDF title page (ebrary, viewed October 8, 2013). - Access Rights:
- Legal Deposit; Only available on premises controlled by the deposit library and to one user at any one time; The Legal Deposit Libraries (Non-Print Works) Regulations (UK).
- Access Usage:
- Restricted: Printing from this resource is governed by The Legal Deposit Libraries (Non-Print Works) Regulations (UK) and UK copyright law currently in force.
- View Content:
- Available online (eLD content is only available in our Reading Rooms) ↗
- Physical Locations:
- British Library HMNTS - ELD.DS.91481
- Ingest File:
- 01_056.xml