Log In
Or create an account ->
Imperial Library
Home
About
News
Upload
Forum
Help
Login/SignUp
Index
Continuous Enterprise Development in Java
Foreword
Preface
Conventions Used in This Book
Using Code Examples
SafariĀ® Books Online
How to Contact Us
Acknowledgments
1. Continuity
The Zen of Prevention
Reactive Error Handling
Proactive Quality Policies
Software Development Processes
Serial Models
Iterative Models
Extreme Programming
Testing Is Development
Levels of Testing
Unit
Integration
Foundation Test Frameworks
JUnit
TestNG
Continuous Development
2. Enabling Technologies
Bootstrapping
Apache Maven
JBoss Forge
Version Control
Git
A Test Platform for Java EE
Arquillian
ShrinkWrap
ShrinkWrap Resolvers
Adding ShrinkWrap Resolvers to your project
Resolution of artifacts specified by Maven coordinates
Resolution of artifacts defined in POM files
System properties
Experimental Features
ShrinkWrap Resolvers Maven plug-in
MavenImporter
Runtime
WildFly
OpenShift
On to the Code
3. Scratch to Production
The Development Environment
A New Project
Writing Our First Integration Test with Arquillian
Running the Application Locally
Running the Arquillian Integration Test
Deploying to OpenShift via JBoss Developer Studio
4. Requirements and the Example Application
Introducing GeekSeek
Featureset
Conceptual Data Model
User
Conference
Session
Attachment
Venue
Room
Logical Data Model
Relationships
Intended use
Obtaining, Building, Testing, and Running GeekSeek
Obtaining the source
Building and testing GeekSeek
Running GeekSeek
Use Cases and Chapter Guide
Chapter 5: Java Persistence and Relational Data
Chapter 6: NoSQL: Data Grids and Graph Databases
Chapter 7: Business Logic and the Services Layer
Chapter 8: REST and Addressable Services
Chapter 9: Security
Chapter 10: UI
Chapter 11: Assembly and Deployment
5. Java Persistence and Relational Data
The Relational Database Model
The Java Persistence API
POJO Entities
Use Cases and Requirements
User Perspective
Technical Concerns
Implementation
Entity Objects
Repository EJBs
Requirement Test Scenarios
Test Setup
CRUD Tests
6. NoSQL: Data Grids and Graph Databases
RDBMS: Bad at Binary Data
Data Grids
Infinispan
RDBMS: Bad at Relationships
Graph Theory
Neo4j
Use Cases and Requirements
Implementation
Attachment
Relation
Requirement Test Scenarios
Attachment CRUD Tests
Transactional Integrity of Attachment Persistence
Validating Relationships
7. Business Logic and the Services Layer
Use Cases and Requirements
Send Email on New User Signup
Implementation
Requirement Test Scenarios
A Test-Only SMTP Server
The Test
8. REST and Addressable Services
REST in Enterprise Java: The JAX-RS Specification
Use Cases and Requirements
Implementation
Repository Resources
The Representation Converter
The @ResourceModel
LinkableRepresentation
ResourceLink
Requirement Test Scenarios
A Black-Box Test
Validating the HTTP Contracts with Warp
Arquillian Warp
Gray-box testing
Integration testing
Technology independence
Use cases
Deploying Warp
Supported tools and frameworks
Cross-protocol
Client-side testing tools
Frameworks
Test Harness Setup
The HTTP Contracts Test
9. Security
Use Cases and Requirements
Implementation
Supporting Software
PicketLink: application-level security
Agorava and social authentication
Requirement Test Scenarios
Overview
Setup
Security Tests
Secured options
Testing the current user
OAuth
10. The User Interface
Use Cases and Requirements
Implementation
Requirement Test Scenarios
Pure JavaScript
Functional Behavior
11. Assembly and Deployment
Obtaining JBoss EAP
Running Against JBoss EAP
Using the EAP Remote Container
Using the EAP Managed Container
Continuous Integration and the Authoritative Build Server
Configuring the GeekSeek Build on CloudBees
Populating CloudBees Jenkins with the EAP Repository
Automatic Building on Git Push Events
Pushing to Staging and Production
Setting Up the OpenShift Application
Removing the Default OpenShift Application
Pushing from the CI Build Job to OpenShift
12. Epilogue
Index
Colophon
Copyright
← Prev
Back
Next →
← Prev
Back
Next →