
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
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.