更新时间:2021-06-30 19:15:07
coverpage
Title Page
Dedication
Packt Upsell
Why subscribe?
PacktPub.com
Contributors
About the author
About the reviewer
Packt is searching for authors like you
Preface
Who this book is for
What this book covers
To get the most out of this book
Download the example code files
Download the color images
Conventions used
Get in touch
Reviews
Money – The Quote Manager Application
Setting up the environment
The application architecture
Application project highlights
The build
The persistence layer
The service layer
The JAX-RS layer
The WebSocket layer
Provision some data
Application summary
The application business
The application design
The application server
Testing the application
Get a quote price the JAX-RS way
Get the price the WebSocket way
Setting up MySQL
Conclusion
Summary
Looking Under the Cover – What is This EE Thing?
Context and Dependency Injection – what did you do to my beans?
IoC – a pretty simple example
The main features of CDI
Injections
Scopes
Interceptors/decorators
Events
Dynamic lookups
JAX-RS – the servlet router
The router
Marshalling
Filter and interceptors
@Suspended or asynchronous operation
JPA – the database link
From JPA to the database
Model and implications
The Java Transaction API
Server resources
DataSource configuration
Java EE and performances
Ensure you know the server
Ensure you know your application
Ensure you know your resources
Monitor Your Application
Java tools to know what my application is doing
The jcmd command – the small command line utility that does a lot
Thread.print
Memory
JVisualVM – the UI for JVM monitoring
How to connect remotely
Java Mission Control
GlassFish ad hoc monitoring
Libraries monitor your application
Counters gauges timers and more
Instrumenting the code
CDI instrumentation
Implementing your own configurable monitoring interceptor
Javaagent – a complex but powerful instrumentation
Sirona javaagent
SQL Monitoring
Data aggregation
Tracing
APM
Application Optimization – Memory Management and Server Configuration
Java and the memory
Garbage collector
Garbage collector algorithms
The serial collector
Parallel and parallel compacting collectors
Concurrent Mark Sweep (CMS)
Garbage First (G1)
Common memory settings
Debugging GC behavior
Heap dump
Java EE and the resources
DataSource
Java EE and pools
Java EE and HTTP pools