BPB Online LLP
Building Modern Web Applications With Jakarta EE, NoSQL Databases and Microservices
Aristides Villarreal Bravo, Geovanny Mendoza González, Otávio Gonçalves de Santana
Building Modern Web Applications With Jakarta EE, NoSQL Databases and Microservices
US$ 19.95
The publisher has enabled DRM protection, which means that you need to use the BookFusion iOS, Android or Web app to read this eBook. This eBook cannot be used outside of the BookFusion platform.
Description
Contents
Reviews

Build Modern Web Apps with JakartaEE, Jmoordb, and Vaadins

Key Features
Learn about the Java Enterprise Edition/Jakarta Enterprise Edition specifications.
Learn how to create applications with frameworks such as Java Server Faces, Eclipse krazo and Vaadin.
Get familiar with NoSQL databases and learn how to create Java applications that interact using Jakarta NoSQL and Jmoordb.
Learn how to test and secure your application.
Learn about Microprofile and how to create microservices with java.

Description
For many years, Java EE has been an important platform for mission-critical enterprise applications. To accelerate the development of enterprise applications for a cloud-native world, leading software vendors collaborated to transfer Java EE technologies to the Eclipse Foundation, where they will evolve under the Jakarta EE brand.

This book will be your comprehensive guide to creating Jakarta EE applications and microservices with Microprofile. The book begins with an introduction to Jakarta EE and quickly goes on to teach you about the various databases and their advantages. After this, you will explore the JNoSQL and Jmoordb frameworks to understand how to build Jakarta EE applications with NoSQL databases. Moving forward, you'll explore Eclipse MicroProfile and see how it helps build microservices with Java. Also, you will learn about various development applications such as Java Server Faces, Eclipse Krazos, PrimeFaces, Vaadin, and understand how to integrate them with your backend. Towards the end, you will learn about security, testing, and understanding continuous integration.

What You Will Learn
Learn how to use the Jmoordb framework for Jakarta EE applications.
Optimize Enterprise Java for microservices architecture using Eclipse MicroProfile.
Create Web applications using Java Server Faces.
Building a modern web application using Vaadin.
Learn how to implement security using IdentityStore and JWT.
Create CI/CD pipelines for Jakarta EE applications.

Who this book is for
This book is for developers with no previous experience in creating business applications with Java and for those who want to know about APIs and new frameworks for the development of cloud-oriented applications.

Table of Contents
1. Jakarta EE Platform
2. NoSQL
3. Jakarta NOSQL
4. Understanding JMoordb
5. Exploring Microprofile
6. Java Server Faces
7. Vaadin
8. Integration Vaadin, JMoordb and NoSQL
9. Eclipse Krazos and Security of Microservices
10. Testing and Continuous Integration

About the Authors
Aristides Villarreal Bravo lives in Panama, is a Java Developer, member of NetBeans Dream Teams since 2007, Jug Leaders. He is currently working on developing Java applications and with greater emphasis on technologies such as Java Enterprise Edition, Jakarta EE, Microprofile, and NoSQL databases.
He has developed several plugins for Apache NetBeans IDE and is working on his Jmoordb project, a Java API for NoSQL.

Geovanny Mendoza Gonzalez is a senior backend developer in Java, lives in Colombia, B.S. in System Engineering from the Simón Bolívar University of Colombia with a specialization in Software Engineering from the North University of Barranquilla, Colombia.Certified on Vaadin 14 framework, professional and developer.

Otávio Gonçalves de Santana is a passionate software engineer focused on Java technology. He has experience mainly in persistence polyglot and high-performance applications in finances, social media, and e-commerce. Otavio is a member of both Expert Groups and Expert Leader in several JSRs and JCP executive committee.

Language
English
ISBN
9789389423341
Cover Page
Title Page
Copyright Page
Dedication Page
About the Authors
About the Reviewer
Acknowledgements
Preface
Errata
Table of Contents
1. Jakarta EE Platform
Structure
Objective
Jakarta EE platform
History
From JavaEE to Jakarta EE
Java EE/Jakarta EE application development
Context and Dependency Injection CDI 2.0 (JSR 365)
@Interceptor example
Enterprise Java Beans 3.2 (JSR-345)
@Producer example
Java Servlet 4.0 (JSR-369)
Server Push
Example of a servlet with MongoDB
Java API for RESTful Web services JAX-RS 2.1 (JSR-370)
Java EE Security API 1.0 (JSR -375)
Identity Store
The Java API for JSON Binding JSON-B 1.0 (JSR-367)
JavaServer Faces JSF 2.3 (JSR-372)
WebSocket
Java Persistence API 2.2 (JSR-338)
Conclusion
Questions
2. NoSQL
Structure
Objective
NoSQL types
Key-value
Column family
Document collection
Graph
Scalability versus complexity
BASE verses ACID
CAP theorem
The diversity in NoSQL
Standard in SQL
Conclusion
Questions
3. Jakarta NoSQL
Structure
Objective
Why Jakarta NoSQL?
Why not JPA as NoSQL specification?
Particular behavior matters in NoSQL database
Install databases
Maven project
Entity model
Key-value database
Column family database
Document database
Graph database
Conclusion
Question
4. Understanding JMoordb
Structure
Objective
Introduction a JMoordb
Entity
Annotation
@Id
@Ignore
@Embedded
@Referenced
Repository
C.R.U.D.
Create
Update
Delete
Read
Filter
Builder
Pagination
SQL support
Aggregation
Database operations
Allocate memory
Statistics
count
sizeOfPage
createIndex(Documment… doc)
listCollecctions()
existsCollection(String nameCollection)
drop()
toDocument(Object t)
dropDatabase()
ListOfPage
Databases without schemas
Conclusion
Questions
5. Exploring Eclipse MicroProfile
Structure
Objective
Skeleton of Eclipse MicroProfile
Sample code
Databases
Join technologies together
Layers, layers, and more layers
Speaker service
Session service
Conference service
Client service
Conclusion
Questions
6. Java Server Faces
Introduction
Structure
Objective
Introduction to Java Server Faces
Java Server Faces 2.3
Frameworks
Primefaces
Bootsfaces
Omnifaces
Jmoordbjsf
Demo example
Model
View
Controller
Jmoordbjsf sample project
Docker
Restore MongoDB database
nbmongo plugin
Entity
Repository
Resources
Configuration of the web.xml file
Entity
Services
Converter
Datamodel
Internationalization
Login
Autocomplete
Primefaces selenium
Conclusion
Questions
7. Vaadin
Introduction
Structure
Objective
Introduction to Vaadin
Architecture to Vaadin
Form Inputs
Conclusion
Questions
References
8. Integration Vaadin, JMoordb, and NoSQL
Introduction
Structure
Objective
Building a modern web application
Requirements
Open Project
What is Maven?
Project structure
Configuration database connection
Models
Class Role
Class User
Management
UserManagement class
RoleManagement Class
Resources
UserResource Class
RoleResource Class
Create MainView
UserList Class
Implement the Delete operation
UserList Class constructor
RoleList Class
Project execution
Running with PWA
Responsive Design
Conclusion
Questions
References
9. Eclipse Krazo and Security of Microservices
Introduction
Structure
Objective
Introduction to Eclipse Krazo
MVCContext
Controller
CDI
View
DataBinding
Security
Jakarta EE
Eclipse MicroProfile Interoperable JWT RBAC
JSON Web Tokens (JWT)
Realm
MP Lemon Builder
Analyze the project: jnosqljwt
Project jnosqlweb
Conclusion
Questions
10. Testing and Continuous Integration
Introduction
Structure
Objective
Introduction to Test
TestContaniers
Testing Eclipse Krazo
WebDriverContainers
Selenium
Testing a container
MicroShed Testing
Supported runtimes
Sharing containers
Example with OpenLiberty
GenericContainer
Continuous integration and Continuous Delivery (CI/CD)
Jenkins
Create a simple Pipeline
Continuous Delivery
Tekton Framework
Conclusion
Questions
The book hasn't received reviews yet.