Java EE 8 and Angular

Learn how to build high-performing enterprise applications using Java EE powered by Angular at the frontend
Preview in Mapt

Java EE 8 and Angular

Prashant Padmanabhan

1 customer reviews
Learn how to build high-performing enterprise applications using Java EE powered by Angular at the frontend

Quick links: > What will you learn?> Table of content> Product reviews

Mapt Subscription
FREE
$29.99/m after trial
eBook
$25.20
RRP $35.99
Save 29%
Print + eBook
$44.99
RRP $44.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
$25.20
$44.99
$29.99 p/m after trial
RRP $35.99
RRP $44.99
Subscription
eBook
Print + eBook
Start 14 Day Trial

Frequently bought together


Java EE 8 and Angular Book Cover
Java EE 8 and Angular
$ 35.99
$ 25.20
Design Patterns and Best Practices in Java EE 8 [Video] Book Cover
Design Patterns and Best Practices in Java EE 8 [Video]
$ 124.99
$ 106.25
Buy 2 for $35.00
Save $125.98
Add to Cart

Book Details

ISBN 139781788291200
Paperback348 pages

Book Description

The demand for modern and high performing web enterprise applications is growing rapidly. No more is a basic HTML front-end enough to meet customer demands. This book will be your one stop guide to build outstanding enterprise web applications with Java EE and Angular. It will teach you how to harness the power of Java EE to build sturdy back ends while applying Angular on the front end. Your journey to building excellent web enterprise applications starts here!

The book starts with a brief introduction to the fundamentals of Java EE and all the new APIs offered in the latest release. Armed with the knowledge of Java EE 8, you will go over what it’s like to build an end to end application, configure database connection for JPA, and build scalable microservice using RESTful APIs running in docker containers. Taking advantage of Payara Micro capabilities, you will build an Issue Management System, which will have various features exposed as services using Java EE backend. With a detailed coverage of Angular fundamentals, the book will expand the Issue Management System by building a modern single page application frontend. Moving forward you will learn to fit both the pieces together i.e. the frontend Angular application with the backend java EE microservices. As each unit in a microservice promotes high cohesion, you will learn different ways in which independent units can be tested efficiently.

Finishing off with concepts on securing your enterprise applications, this book is a hands on guide to building Modern Web Applications.

Table of Contents

Chapter 1: What's in Java EE 8?
Improvements in EE 8
Overview of Java SE 8
CDI 2.0
JSON Processing 1.1
JSON Binding 1.0
JAXRS 2.1
Servlet 4.0
JSF 2.3
Bean Validation 2.0
Java EE Security API 1.0
Summary
Chapter 2: The CDI Advantage Combined with JPA
Introduction to context and dependency injection
CDI programming model
Java Persistence API (JPA)
Summary
Chapter 3: Understanding Microservices
Traditional monoliths
Multiple small units of work
Single responsibility
The need for REST
Scale only what needs to scale
The bad parts, yes, there are a few
Summary
Chapter 4: Building and Deploying Microservices
Fat JAR
Skinny WAR
Examples using Payara Micro
MicroProfile
Docker containers
Summary
Chapter 5: Java EE Becomes JSON Friendly
REST prefers JSON
JSON, a first-class citizen
No more third-party libraries
JSON processing
JSON binding
Few tips in practice
Summary
Chapter 6: Power Your APIs with JAXRS and CDI
Resources
Providers
Client API
Filters and interceptors
Validation
Asynchronous processing
Server-Sent Events
WebSockets
Context
Swagger
Summary
Chapter 7: Putting It All Together with Payara
Building an Issue Management System (IMS) backend
Using Java EE 8 technologies
Running multiple microservices in Docker
Learning to use the new features of Payara Micro
Extras
Summary
Chapter 8: Basic TypeScript
Getting started with TypeScript
Using variables, types, and functions
Working with classes and interfaces
Working with arrays
Summary
Chapter 9: Angular in a Nutshell
Understanding Angular
Angular 2 and beyond
A better Hello World
Data binding
Services
Routes
Building a project
Summary
Chapter 10: Angular Forms
Two approaches to forms
Understanding forms with an example
Building custom forms with validations
Checking the state of a form
Forms with NgModel
Reactive forms
Handling forms in Angular
Gaining more control with reactive forms
Summary
Chapter 11: Building a Real-World Application
Building an Issue Management System frontend
Setup
Securing the application
Issue lists and details
Issue creation and updates
Issue comments
Chatting on an issue
Production-ready build
Summary
Chapter 12: Connecting Angular to Java EE Microservices
Integration with microservices
Cross Origin Resource Sharing (CORS)
JSON communication
Observables in Angular
Going to production
Summary
Chapter 13: Testing Java EE Services
Testing strategies for microservices
Testing in practice
Summary
Chapter 14: Securing the Application
Securing the application
Neither in Java EE nor MicroProfile
General tips
Summary

What You Will Learn

  • Write CDI-based code in Java EE 8 applications
  • Build an understanding of Microservices and what they mean in Java EE context
  • Use Docker to build and run a microservice application
  • Use configuration options to work effectively with JSON documents
  • Understand asynchronous task handling and writing REST API clients
  • Explore the fundamentals of TypeScript, which sets the foundation for working on Angular projects
  • Use Angular CLI to add and manage new features
  • Use JSON Web tokens to secure Angular applications against malicious attacks

Authors

Table of Contents

Chapter 1: What's in Java EE 8?
Improvements in EE 8
Overview of Java SE 8
CDI 2.0
JSON Processing 1.1
JSON Binding 1.0
JAXRS 2.1
Servlet 4.0
JSF 2.3
Bean Validation 2.0
Java EE Security API 1.0
Summary
Chapter 2: The CDI Advantage Combined with JPA
Introduction to context and dependency injection
CDI programming model
Java Persistence API (JPA)
Summary
Chapter 3: Understanding Microservices
Traditional monoliths
Multiple small units of work
Single responsibility
The need for REST
Scale only what needs to scale
The bad parts, yes, there are a few
Summary
Chapter 4: Building and Deploying Microservices
Fat JAR
Skinny WAR
Examples using Payara Micro
MicroProfile
Docker containers
Summary
Chapter 5: Java EE Becomes JSON Friendly
REST prefers JSON
JSON, a first-class citizen
No more third-party libraries
JSON processing
JSON binding
Few tips in practice
Summary
Chapter 6: Power Your APIs with JAXRS and CDI
Resources
Providers
Client API
Filters and interceptors
Validation
Asynchronous processing
Server-Sent Events
WebSockets
Context
Swagger
Summary
Chapter 7: Putting It All Together with Payara
Building an Issue Management System (IMS) backend
Using Java EE 8 technologies
Running multiple microservices in Docker
Learning to use the new features of Payara Micro
Extras
Summary
Chapter 8: Basic TypeScript
Getting started with TypeScript
Using variables, types, and functions
Working with classes and interfaces
Working with arrays
Summary
Chapter 9: Angular in a Nutshell
Understanding Angular
Angular 2 and beyond
A better Hello World
Data binding
Services
Routes
Building a project
Summary
Chapter 10: Angular Forms
Two approaches to forms
Understanding forms with an example
Building custom forms with validations
Checking the state of a form
Forms with NgModel
Reactive forms
Handling forms in Angular
Gaining more control with reactive forms
Summary
Chapter 11: Building a Real-World Application
Building an Issue Management System frontend
Setup
Securing the application
Issue lists and details
Issue creation and updates
Issue comments
Chatting on an issue
Production-ready build
Summary
Chapter 12: Connecting Angular to Java EE Microservices
Integration with microservices
Cross Origin Resource Sharing (CORS)
JSON communication
Observables in Angular
Going to production
Summary
Chapter 13: Testing Java EE Services
Testing strategies for microservices
Testing in practice
Summary
Chapter 14: Securing the Application
Securing the application
Neither in Java EE nor MicroProfile
General tips
Summary

Book Details

ISBN 139781788291200
Paperback348 pages
Read More
From 1 reviews

Read More Reviews

Recommended for You

Design Patterns and Best Practices in Java EE 8 [Video] Book Cover
Design Patterns and Best Practices in Java EE 8 [Video]
$ 124.99
$ 106.25
Java EE 8 High Performance Book Cover
Java EE 8 High Performance
$ 39.99
$ 28.00
Java SE 8 Programmer 1 [Integrated Course] Book Cover
Java SE 8 Programmer 1 [Integrated Course]
$ 124.99
$ 106.25
Java EE 8 Application Development Book Cover
Java EE 8 Application Development
$ 39.99
$ 28.00
Jenkins: continuous integration & DevOps with Java and .NET [Video] Book Cover
Jenkins: continuous integration & DevOps with Java and .NET [Video]
$ 93.99
$ 79.90
Hands-On Data Structures and Algorithms with JavaScript Book Cover
Hands-On Data Structures and Algorithms with JavaScript
$ 35.99
$ 25.20