Java EE 8 and Angular: A practical guide to building modern single-page applications with Angular and Java EE
Prashant Padmanabhan
- 出版商: Packt Publishing
- 出版日期: 2018-01-11
- 售價: $1,970
- 貴賓價: 9.5 折 $1,872
- 語言: 英文
- 頁數: 348
- 裝訂: Paperback
- ISBN: 1788291204
- ISBN-13: 9781788291200
-
相關分類:
Angular、Java 程式語言
海外代購書籍(需單獨結帳)
相關主題
商品描述
Learn how to build high-performing enterprise applications using Java EE powered by Angular at the frontend
Key Features
- Leverage Java EE 8 features to build robust back end for your enterprise applications
- Use Angular to build a single page frontend and combine it with the Java EE backend
- Practical guide filled with ample real-world examples
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.
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
Who This Book Is For
This book is for Java EE developers who would like to build modern enterprise web applications using Angular. No prior knowledge of Angular is expected.
Table of Contents
- What's in Java EE 8
- The CDI advantage combined with JPA
- Understanding Microservices
- Build and deploy Microservices
- Java EE becomes JSON friendly
- Power your APIs with JAXRS and CDI
- Putting it all together with Payara
- Basic TypeScript
- Angular in a nutshell
- Angular Forms
- Building a real-world application
- Connecting Angular to Java EE Microservices
- Unit testing java EE services
- Securing the application
商品描述(中文翻譯)
學習如何使用Angular在前端,並使用Java EE建立高效的企業應用程式
主要特點:
- 利用Java EE 8功能為企業應用程式建立堅固的後端
- 使用Angular建立單頁前端,並與Java EE後端結合
- 實用指南,充滿豐富的實例
書籍描述:
現代高效的企業網絡應用程式的需求正在迅速增長。基本的HTML前端已經不足以滿足客戶需求。本書將成為您建立優秀的Java EE和Angular企業網絡應用程式的一站式指南。它將教您如何利用Java EE的強大功能建立堅固的後端,同時在前端應用Angular。您建立卓越的企業網絡應用程式的旅程從這裡開始!
本書首先簡要介紹了Java EE的基礎知識以及最新版本中提供的所有新API。憑藉Java EE 8的知識,您將了解如何構建端到端應用程式,配置JPA的數據庫連接,並使用在Docker容器中運行的RESTful API構建可擴展的微服務。利用Payara Micro的功能,您將建立一個問題管理系統,該系統將使用Java EE後端將各種功能公開為服務。本書詳細介紹了Angular的基礎知識,並通過構建現代單頁應用程式前端擴展了問題管理系統。接下來,您將學習如何將前端Angular應用程式與後端Java EE微服務結合在一起。由於微服務中的每個單元都促進高內聚性,您將學習不同的方法來有效地測試獨立的單元。
最後,本書介紹了保護企業應用程式的概念,是一本實用指南,用於構建現代網絡應用程式。
您將學到什麼:
- 在Java EE 8應用程式中編寫基於CDI的代碼
- 了解微服務及其在Java EE上下文中的含義
- 使用Docker構建和運行微服務應用程式
- 使用配置選項有效地處理JSON文檔
- 了解異步任務處理和編寫REST API客戶端
- 探索TypeScript的基礎知識,為在Angular項目上工作打下基礎
- 使用Angular CLI添加和管理新功能
- 使用JSON Web令牌保護Angular應用程式免受惡意攻擊
本書適合對使用Angular建立現代企業網絡應用程式的Java EE開發人員,不需要事先了解Angular。
目錄:
1. Java EE 8的內容
2. CDI優勢結合JPA
3. 了解微服務
4. 構建和部署微服務
5. Java EE變得友好於JSON
6. 使用JAXRS和CDI提供API
7. 使用Payara將所有內容整合在一起
8. 基本的TypeScript
9. Angular簡介
10. Angular表單
11. 構建真實應用程式
12. 將Angular連接到Java EE微服務
13. 單元測試Java EE服務
14. 保護應用程式