Developing Middleware in Java EE 8

Abdalla Mahmoud

  • 出版商: Packt Publishing
  • 出版日期: 2018-05-29
  • 售價: $1,850
  • 貴賓價: 9.5$1,758
  • 語言: 英文
  • 頁數: 252
  • 裝訂: Paperback
  • ISBN: 1788391071
  • ISBN-13: 9781788391078
  • 相關分類: Java 程式語言
  • 海外代購書籍(需單獨結帳)

買這商品的人也買了...

商品描述

Key Features

  • Take advantage of EJBs to build middleware solutions for enterprise and distributed applications
  • Work with the latest advancements in middleware design like Web services, event-based and message-driven and Websockets
  • Overcome challenges of designing and maintaining large-scale systems, as well as vendor disputes

Book Description

Middleware is the infrastructure of software-based applications that enables businesses to solve problems, to operate more efficiently, and to make money. As soon as the usage of the middleware extends beyond a single application, the importance of having it written by experts increases substantially.That's where this book and you fit in. This book will help you to become an expert in developing middleware for a variety of applications like mobile applications, web browsers, etc.

The book starts off by exploring the latest JAVA EE 8 APIs with newer features and magaing dependencies with CDI 2.0. You will learn how to implement Object-to-Relational mapping using JPA 2.1 and validate the data using bean validation. Moving on you will work with different types of EJBs to develop business logic along with designing RESTful APIs by utilising different HTTP methods and activating JAX-RS features in enterprise application.Later on you will be introduced to serialzation/deserialization of JSON objects and JMS architecture for communication. You will learn to secure your middleware with JAVA security 1.0 and implement various authentication Technics like OAuth authentication. In the end you will be using various test technologies like Junit, Mockito for testing the application and use Docker to deploy your enterprise application.

By the end of the book, you will be a proficient in developing robust, effective and distributed middleware for your business.

What you will learn

  • Implement latest JAVA EE 8 APIs and manage dependencies with CDI 2.0
  • Perform CRUD operations and access database with JPA 2.1
  • Use Bean validation API 2.0 to validate the data
  • Develop the business logic with EJB 3.2
  • Incorporate REST architecture and RESTful APIs design patterns
  • Perform serialization and deserialization Json documents using JSON-B
  • Utilize JMS for messaging and queuing models and secure application with Java Security 1.0
  • Test application using Junit, Mockito and deploy using Docker

商品描述(中文翻譯)

主要特點


  • 利用 EJB 建立企業和分散式應用程式的中間件解決方案

  • 使用最新的中間件設計進展,如 Web 服務、事件驅動和消息驅動以及 Websockets

  • 克服設計和維護大型系統的挑戰,以及供應商爭議

書籍描述

中間件是軟體應用程式的基礎架構,使企業能夠解決問題、更有效地運作並賺錢。一旦中間件的使用超出單一應用程式,由專家撰寫的重要性就大大增加。這就是這本書和你的角色所在。這本書將幫助你成為開發各種應用程式(如移動應用程式、網頁瀏覽器等)的中間件專家。

本書首先探索最新的 JAVA EE 8 API,介紹新功能並使用 CDI 2.0 管理相依性。你將學習如何使用 JPA 2.1 實現物件到關聯映射,並使用 Bean 驗證驗證資料。接著,你將使用不同類型的 EJB 開發業務邏輯,並設計 RESTful API,利用不同的 HTTP 方法並在企業應用程式中啟用 JAX-RS 功能。隨後,你將介紹 JSON 物件的序列化/反序列化和 JMS 架構進行通訊。你將學習使用 JAVA security 1.0 保護中間件,並實現各種身份驗證技術,如 OAuth 身份驗證。最後,你將使用各種測試技術,如 Junit、Mockito 測試應用程式,並使用 Docker 部署企業應用程式。

通過本書,你將成為開發堅固、高效且分散式中間件的專家。

你將學到什麼


  • 實現最新的 JAVA EE 8 API,並使用 CDI 2.0 管理相依性

  • 執行 CRUD 操作,並使用 JPA 2.1 存取資料庫

  • 使用 Bean 驗證 API 2.0 驗證資料

  • 使用 EJB 3.2 開發業務邏輯

  • 結合 REST 架構和 RESTful API 設計模式

  • 使用 JSON-B 進行序列化和反序列化 JSON 文件

  • 利用 JMS 進行訊息傳遞和佇列模型,並使用 Java Security 1.0 保護應用程式

  • 使用 Junit、Mockito 測試應用程式,並使用 Docker 部署