Share E-Book
Scan to open this page

Scan with your phone to open this page

Author: Andrew Lee Rubinger and Aslak Knutsen

Rating No ratings yet

Learn a use-case approach for developing Java enterprise applications in a continuously test-driven fashion. With this hands-on guide, authors and JBoss project leaders Andrew Lee Rubinger and Aslak Knutsen show you how to build high-level components, from persistent storage to the user interface, using the Arquillian testing platform and several other JBoss projects and tools.

AI Reading Assistant

Whole-book reading guide from stratified index samples; jump to passages in the text

AI guide
# Continuous Enterprise Development in Java ## 【One-Line Pitch】 A hands-on, use-case-driven guide to building Java enterprise applications with continuous, test-driven practices—centered on the Arquillian testing platform and the JBoss ecosystem. Ideal for Java developers and team leads who want to move from "write code, then test" to "test as you build," from persistence to UI. ## 【Book Arc】 - **Opening (~0%–3%)**: Introduces the philosophy of "continuity" in software development—proactive quality policies, iterative models, and the idea that testing is development, not a separate phase. Covers foundational test frameworks (JUnit, TestNG) and the levels of testing (unit vs. integration). - **Early (~3%–6%)**: Bootstraps the technical stack: Apache Maven for builds, JBoss Forge for project scaffolding, Git for version control, and the Arquillian platform (with ShrinkWrap and ShrinkWrap Resolvers) as the test harness for Java EE. Sets up the runtime environment (WildFly, OpenShift). - **Middle (~6%–13%)**: Walks through a complete use case from scratch to production: creating a new project, writing the first Arquillian integration test, running the app locally, and deploying to OpenShift via JBoss Developer Studio. Emphasizes the workflow of continuous integration testing. - **Late (~13%–16%+)**: Continues building out the application's high-level components—persistent storage, business logic, and user interface—each driven by tests. Focuses on how Arquillian enables testing inside the container, not just against mocks. ## 【Key Takeaways】 - **Testing is development, not a phase** (Opening): The book's core premise is that quality must be built in continuously, not bolted on at the end. This reframes how you schedule and prioritize testing work. - **Integration tests matter more than unit tests for enterprise apps** (Opening): Unit tests verify isolated logic, but integration tests verify the whole container—databases, EJBs, servlets—working together. This is where most enterprise bugs actually live. - **Arquillian is the key enabler** (Early): Arquillian lets you run tests inside the actual Java EE container (WildFly), so you test real deployments, not mocks. ShrinkWrap builds deployable archives programmatically, making tests reproducible and self-contained. - **Maven + Forge + Git form the project backbone** (Early): Maven standardizes builds, JBoss Forge scaffolds projects quickly, and Git provides version control—together they make a repeatable, continuous workflow possible. - **Deployment to the cloud is part of the test loop** (Middle): The book shows deploying to OpenShift via JBoss Developer Studio, demonstrating that "continuous" extends beyond local tests to staging and production environments. - **Start with a use case, not a framework** (Middle): The book's approach is to pick a real feature and build it end-to-end with tests, rather than learning APIs in the abstract. This keeps the learning grounded and immediately applicable. ## 【Reading Tips】 - **Skim the philosophy chapter (Ch. 1)** if you're already convinced about TDD; the real value is in the practical setup chapters that follow. - **Deep-read the Arquillian and ShrinkWrap sections**—these are the most novel and reusable parts of the book. Understanding how to build and deploy test archives is the key skill you'll take away. - **Follow along with the code**—the book is hands-on, so having Maven, WildFly, and JBoss Developer Studio installed will make the examples concrete. Don't just read; run the tests. - **Pay attention to the OpenShift deployment steps**—even if you don't use OpenShift, the pattern of deploying from IDE to cloud is transferable to other PaaS environments. - **If you're new to Java EE**, you may need to supplement with a reference on servlets, EJBs, and JPA—the book assumes familiarity with the platform. ## 【Coverage Limits】 The excerpts cover the book's opening philosophy, tooling setup, and early project walkthrough, but do not include detailed code listings or the later chapters on persistence, UI, and advanced Arquillian features. The guide reflects the book's structure and approach, not its full technical depth. ##
Excerpt 1
书名: Mastering Network Flow Traffic Analysis (Gilberto Persico) (Z-Library) 作者: Gilberto Persico DESCRIPTION The book aims to familiarize the readers with net...
View in text
Excerpt 2
ce their network security skills beyond traditional methods. A foundational understanding of network topologies, the OSI and TCP/IP models, basic network dat...
View in text
Excerpt 3
d, often by system administrators or security professionals. This ensures consistent enforcement of security policies across the system. Fine-grained control...
View in text
Excerpt 4
agement, internationalization, security, and XML processing. The book that you are reading right now is the first volume of the fourteenth edition of Core Ja...
View in text
Excerpt 5
is rare due to the complexity and rigidity of such a system. A pure MAC model provides a high, granular level of security. On the other hand, it is di ffi cult...
View in text
Excerpt 6
are created : fl0wer-yyyy.mm.dd and netevent-yyyy.mm.dd.
View in text
Excerpt 7
created : fl0wer-yyyy.mm.dd and netevent-yyyy.mm.dd.
View in text
Excerpt 8
FQDN 45 String Full FQDN of the destination IP if available. USERNAME 46 String Username of the flow if available (mostly from Cisco ASA) RISK_INDEX 47 UInt1...
View in text
Tags
AI categories
JavaBackendProgramming Language
ISBN: O'Reilly Media
Publisher: O'Reilly Media
Publish Year: 2014
Language: English
File Format: PDF
File Size: 7.2 MB
Text Preview (First 20 pages)
Registered users can read the full content for free

Register as a Gaohf Library member to read the complete e-book online for free and enjoy a better reading experience.

Generating text preview…