Share E-Book
Scan to open this page

Scan with your phone to open this page

Author: Aristides Villarreal Bravo & Geovanny Mendoza González & Otávio Gonçalves de Santana

Rating No ratings yet

No description

AI Reading Assistant

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

AI guide
【One-Line Pitch】 A hands-on tour of the modern Java enterprise stack, showing how Jakarta EE, NoSQL databases, and microservices fit together in real applications. Best for Java developers and architects who want a practical bridge from traditional Java EE to cloud-era web development. 【Book Arc】 - **Opening (~0%–12%)**: Establishes the Jakarta EE foundation — JSR-based APIs, EJB, CDI, JSON-B, WebSocket push — and frames the shift toward modern web applications. - **Early (~12%–31%)**: Introduces NoSQL concepts (key-value, column-family, document, graph, multi-model), the CAP theorem, and BASE vs. ACID, then moves into Jakarta NoSQL and jmoordb with MongoDB-style CRUD, embedding, and referencing. - **Middle (~31%–54%)**: Builds a microservices architecture using Eclipse MicroProfile, Payara Micro, Thorntail, TomEE, and MongoDB, covering REST clients, DTOs, controllers, and JSF/PrimeFaces front ends. - **Late (~54% onward)**: Focuses on integration — wiring Vaadin, jmoordb, and NoSQL together, configuring Maven projects, database connections, models, resources, and PWA/responsive design. - **Ending**: Consolidates the full stack into a runnable modern web application, with tooling notes (NetBeans plugins, pom.xml configuration) and deployment concerns. 【Key Takeaways】 - **Jakarta EE remains the backbone of enterprise Java** (Opening): the book maps JSR specifications across web services, security, management, and Java SE-related APIs, giving readers a reference frame before diving into code. - **NoSQL is a family, not a single technology** (Early): key-value, column-family, document, graph, and multi-model stores each solve different problems; the CAP theorem and BASE model explain the trade-offs versus ACID. - **Jakarta NoSQL abstracts over multiple databases** (Early): the same repository-style API can target Cassandra, Redis, MongoDB, and Neo4j, reducing vendor lock-in — though key-value stores only allow key-based queries. - **Embedding vs. referencing is a core document-model decision** (Early): duplicating embedded data hurts storage and update performance, while `@Referenced` creates relational-style links between documents. - **MicroProfile enables polyglot microservices on Jakarta EE standards** (Middle): CDI, JAX-RS, and JSON-P are reused across Payara Micro, Thorntail, and TomEE, with each service choosing the database that fits its data shape. - **Layering is a trade-off, not a virtue** (Middle): too many layers create maintenance drag; the book argues for splitting responsibility without over-engineering the MVC pattern. - **Front-end integration spans JSF, PrimeFaces, and Vaadin** (Middle–Late): the book shows multiple paths to building the view layer, including REST clients and template engines like Thymeleaf. - **Tooling and configuration matter as much as code** (Late): Maven dependencies, NetBeans plugins, and database connection setup are treated as first-class steps in building a working application. 【Reading Tips】 - **Deep-read the NoSQL chapters (Early)** if you come from a relational background — the CAP/BASE discussion and embedding-vs-referencing examples are the conceptual core. - **Skim the JSR tables in the Opening** unless you need a specification reference; the value is in the later applied chapters. - **Follow the microservices build in the Middle section hands-on** — the Payara/Thorntail/TomEE split and REST client wiring are best understood by running the code. - **Treat the Vaadin/jMoordb integration chapter as a case study**, not a tutorial; it assumes familiarity with earlier chapters. - **Keep the pom.xml and configuration snippets nearby** — they recur across chapters and are easy to lose track of. 【Coverage Limits】 This guide is based on stratified excerpts covering roughly the first half of the book plus selected later material; chapters on advanced deployment, testing, and any content beyond the sampled chunks are not represented here.
Excerpt 1
th Attachments API for Java (SAAJ) Specification 1.3 JSR 67 Streaming API for XML (StAX) 1.0 JSR 173 Java API for XML Processing (JAXP) 1.6 JSR 206 Java Data...
View in text
Excerpt 2
> <dependency> <groupId>org.eclipse.jnosql..diana</groupId> <artifactId>redis-driver</artifactId> <version>${jakarta.nosql.version}</version> </dependency> <...
View in text
Excerpt 3
ays to implement the delete method: Method Description { "_id" : ObjectId("5884f585b2a08a0da194491d"), "idcontinent" : "am", "continent" : "America", "planet...
View in text
Excerpt 4
"{id}") Response remove(@PathParam("id") Integer id); @POST Speaker insert(Speaker speaker); } import org.eclipse.microprofile.rest.client.inject.RegisterRes...
View in text
Excerpt 5
user will validate by making a request to the microservice: public String login(){ try { JsfUtil.successMessage(rf.getAppMessage("login.welcome")); User user...
View in text
Excerpt 6
ser, update or delete, as you can see in the userList code. UserList Class @Route(value = "users",layout = MainView.Class) @PageTitle("Users List") public cl...
View in text
Excerpt 7
ll show us the decoded token: Figure 9.18 Project jnosqlweb In this chapter, we will show some tools that allow developers to test their applications shipped...
View in text
Excerpt 8
Microshed and shows an example of CI/CD with Azure Pipeline. In addition to a brief introduction to the Tekton framework for creating CI/CD Pipeline. Through...
View in text
Tags
AI categories
JavaBackendDatabase
ISBN: 9389423341
Publish Year: 2022
Language: English
File Format: PDF
File Size: 6.6 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…