Java EE 8 and Angular: A practical guide to building modern single-page applications with Angular and Java EE
暫譯: Java EE 8 與 Angular:現代單頁應用程式開發的實用指南
Prashant Padmanabhan
- 出版商: Packt Publishing
- 出版日期: 2018-01-11
- 售價: $2,010
- 貴賓價: 9.5 折 $1,910
- 語言: 英文
- 頁數: 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
商品描述(中文翻譯)
學習如何使用 Java EE 和 Angular 前端構建高效能的企業應用程式
主要特點
- 利用 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 的先前知識。
目錄
- Java EE 8 的內容
- 結合 JPA 的 CDI 優勢
- 理解微服務
- 構建和部署微服務
- Java EE 變得 JSON 友好
- 使用 JAXRS 和 CDI 強化您的 API
- 與 Payara 整合所有內容
- 基本 TypeScript
- Angular 簡介
- Angular 表單
- 構建實際應用程式
- 將 Angular 連接到 Java EE 微服務
- 單元測試 Java EE 服務
- 保護應用程式