Java EE 8 High Performance

Get more control of your applications performances in development and production and know how to meet your Service Level Agreement on critical microservices.
Preview in Mapt

Java EE 8 High Performance

Romain Manni-Bucau

Get more control of your applications performances in development and production and know how to meet your Service Level Agreement on critical microservices.
Mapt Subscription
FREE
$29.99/m after trial
eBook
$20.00
RRP $39.99
Save 49%
Print + eBook
$49.99
RRP $49.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$20.00
$49.99
$29.99 p/m after trial
RRP $39.99
RRP $49.99
Subscription
eBook
Print + eBook
Start 14 Day Trial

Frequently bought together


Java EE 8 High Performance Book Cover
Java EE 8 High Performance
$ 39.99
$ 20.00
Java EE 8 Microservices Book Cover
Java EE 8 Microservices
$ 39.99
$ 20.00
Buy 2 for $35.00
Save $44.98
Add to Cart

Book Details

ISBN 139781788473064
Paperback350 pages

Book Description

The ease with which we write applications has been increasing, but with this comes the need to address their performance. A balancing act between easily implementing complex applications and keeping their performance optimal is a present-day need. In this book, we explore how to achieve this crucial balance while developing and deploying applications with Java EE 8.

The book starts by analyzing various Java EE specifications to identify those potentially affecting performance adversely. Then, we move on to monitoring techniques that enable us to identify performance bottlenecks and optimize performance metrics. Next, we look at techniques that help us achieve high performance: memory optimization, concurrency, multi-threading, scaling, and caching. We also look at fault tolerance solutions and the importance of logging. Lastly, you will learn to benchmark your application and also implement solutions for continuous performance evaluation.

By the end of the book, you will have gained insights into various techniques and solutions that will help create high-performance applications in the Java EE 8 environment.

Table of Contents

Chapter 1: Money – The Quote Manager Application
Setting up the environment
The application architecture
Application project highlights
Application summary
The application server
Testing the application
Setting up MySQL
Conclusion
Summary
Chapter 2: Looking Under the Cover – What is This EE Thing?
Context and Dependency Injection – what did you do to my beans?
JAX-RS – the servlet router
JPA – the database link
The Java Transaction API
Server resources
Java EE and performances
Summary
Chapter 3: Monitor Your Application
Java tools to know what my application is doing
GlassFish ad hoc monitoring
Libraries monitor your application
Summary
Chapter 4: Application Optimization – Memory Management and Server Configuration
Java and the memory
Java EE and the resources
Summary
Chapter 5: Scale Up – Threading and Implications
Java EE threading model
Thread data and consistency
Java EE and threads
Reactive programming and Java EE
Summary
Chapter 6: Be Lazy; Cache Your Data
Caching challenges
HTTP and caching
JCache – the standard cache of Java EE
Cache once
Summary
Chapter 7: Be Fault-Tolerant
It will fail, no doubt!
Load balancing – pick the best one
Failover
Bulk head
Timeouts
Summary
Chapter 8: Loggers and Performances – A Trade-Off
I log, you log, they log
Logging frameworks and concepts
Logging invocations
Logging patterns
Logging implementations – which one to pick
Summary
Chapter 9: Benchmarking Your Application
Benchmarking – validating your application against your SLA
Preparing your benchmark
Benchmark iterations
After your benchmark
Summary
Chapter 10: Continuous Performance Evaluation
Writing performance tests – the pitfalls
Writing performance tests
Continuous integration platform and performance
Summary

What You Will Learn

  • Identify performance bottlenecks in an application
  • Locate application hotspots using performance tools
  • Understand the work done under the hood by EE containers and its impact on performance
  • Identify common patterns to integrate with Java EE applications
  • Implement transparent caching on your applications
  • Extract more information from your applications using Java EE without modifying existing code
  • Ensure constant performance and eliminate regression

Authors

Table of Contents

Chapter 1: Money – The Quote Manager Application
Setting up the environment
The application architecture
Application project highlights
Application summary
The application server
Testing the application
Setting up MySQL
Conclusion
Summary
Chapter 2: Looking Under the Cover – What is This EE Thing?
Context and Dependency Injection – what did you do to my beans?
JAX-RS – the servlet router
JPA – the database link
The Java Transaction API
Server resources
Java EE and performances
Summary
Chapter 3: Monitor Your Application
Java tools to know what my application is doing
GlassFish ad hoc monitoring
Libraries monitor your application
Summary
Chapter 4: Application Optimization – Memory Management and Server Configuration
Java and the memory
Java EE and the resources
Summary
Chapter 5: Scale Up – Threading and Implications
Java EE threading model
Thread data and consistency
Java EE and threads
Reactive programming and Java EE
Summary
Chapter 6: Be Lazy; Cache Your Data
Caching challenges
HTTP and caching
JCache – the standard cache of Java EE
Cache once
Summary
Chapter 7: Be Fault-Tolerant
It will fail, no doubt!
Load balancing – pick the best one
Failover
Bulk head
Timeouts
Summary
Chapter 8: Loggers and Performances – A Trade-Off
I log, you log, they log
Logging frameworks and concepts
Logging invocations
Logging patterns
Logging implementations – which one to pick
Summary
Chapter 9: Benchmarking Your Application
Benchmarking – validating your application against your SLA
Preparing your benchmark
Benchmark iterations
After your benchmark
Summary
Chapter 10: Continuous Performance Evaluation
Writing performance tests – the pitfalls
Writing performance tests
Continuous integration platform and performance
Summary

Book Details

ISBN 139781788473064
Paperback350 pages
Read More

Read More Reviews

Recommended for You

Java EE 8 Microservices Book Cover
Java EE 8 Microservices
$ 39.99
$ 20.00
Microservice Patterns and Best Practices Book Cover
Microservice Patterns and Best Practices
$ 35.99
$ 18.00
Understanding Software Book Cover
Understanding Software
$ 23.99
$ 12.00
Cloud Native Development Patterns and Best Practices Book Cover
Cloud Native Development Patterns and Best Practices
$ 35.99
$ 18.00
Building RESTful Web Services with Spring 5 - Second Edition Book Cover
Building RESTful Web Services with Spring 5 - Second Edition
$ 35.99
$ 18.00
Understanding Software Book Cover
Understanding Software
$ 23.99
$ 12.00