Java EE 8 Design Patterns and Best Practices

Java EE 8 Design Patterns and Best Practices

This is the code repository for Java EE 8 Design Patterns and Best Practices, published by Packt.

Build enterprise-ready scalable applications with architectural design patterns

What is this book about?

Patterns are essential design tools for Java developers. Java EE Design Patterns and Best Practices helps developers attain better code quality and progress to higher levels of architectural creativity by examining the purpose of each available pattern and demonstrating its implementation with various code examples. This book will take you through a number of patterns and their Java EE-specific implementations.

This book covers the following exciting features: Implement presentation layers, such as the front controller pattern Understand the business tier and implement the business delegate pattern Master the implementation of AOP Get involved with asynchronous EJB methods and REST services Involve key patterns in the adoption of microservices architecture Manage performance and scalability for enterprise-level applications

If you feel this book is for you, get your copy today!

<img src="" alt="" border="5" />

Instructions and Navigations

All of the code is organized into folders. For example, Chapter02.

The code will look like the following:

public interface Engineering {
  List<String> getDisciplines ();
public class BasicEngineering implements Engineering {

  public List<String> getDisciplines() {
    return Arrays.asList("d7", "d3");
public class ElectronicEngineering extends BasicEngineering {
public class MechanicalEngineering extends BasicEngineering {

Following is what you need for this book: Java developers who are comfortable with programming in Java and now want to learn how to implement design patterns to create robust, reusable and easily maintainable apps.

With the following software and hardware list you can run all code files present in the book (Chapter 2-7 and 9).

Software and Hardware List

Chapter Software required OS required
2-7 and 9 GlassFish 5.0 Windows, Mac OS X, and Linux (Any)
2-7 and 9 JDK-8 Windows, Mac OS X, and Linux (Any)

We also provide a PDF file that has color images of the screenshots/diagrams used in this book. Click here to download it.

Related products

Get to Know the Author

Rhuan Rocha Rhuan Rocha is from Brazil and has experience with development using the Java language and Java EE. Currently, he works as senior Middleware consultant in a partnership between Red Hat and FábricaDS, and he applies Red Hat solutions using Red Hat Middlewares. Furthermore, he has 8 years, experience with Java development and Java EE development, developing enterprise applications and government applications.

João Purificação João Purificação is an electronic engineer from Brazil with a master's in systems engineering. He started working with software development as a C and C ++ programmer. He has worked on the analysis, development, and architecture of Java-based enterprise applications. As a Java/JavaEE consultant, he has participated in the development and architecture of applications for private and government companies. He currently works as a senior architect at Resource IT, a company based in São Paulo.

Suggestions and Feedback

Click here if you have any feedback or suggestions.