官术网_书友最值得收藏!

  • Java EE 8 and Angular
  • Prashant Padmanabhan
  • 291字
  • 2021-07-02 19:22:31

Improvements in EE 8

Java EE has always tried to move common infrastructure tasks to container-based models. In recent times, these have been further simplified, allowing for developers to focus on the business logic rather than worry about the ceremonious code necessities. Java EE 7 focused on WebSockets and JSON, which helped build HTML 5 support. Java EE 8 continues to build upon EE 7, with a focus on building modern cloud-ready web applications with ease of development in mind.

Here's a quick summary of changes for the impatient. But don't get overwhelmed, as we will be going over these in more detail in the follow-up sections. So, what has changed, you may ask? Well, let's begin with JSON. Just like you can process XML documents and map XML to objects or objects to XML, now you can do the same with JSON too by using JSON-P and JSON-B. Java EE 8 now supports HTTP/2 with the Servlet 4.0 update and brings with it some exciting options to use. REST APIs are only growing stronger; now we have the support for server-sent events and we can use concurrency utilities available with SE 8 along with a reactive client API. Authentication and authorization support gained a standard way of doing things with the introduction of the new Java EE Security API. Bean validation now leverages SE 8 features to extend its range of options. CDI is no longer confined to the boundaries of EE, as it's now going to be made available for SE as well, along with new capabilities such as Async events, observer ordering, and more.

In the next few sections to follow, we will go over these changes in more detail, and what they mean when building an application.

主站蜘蛛池模板: 庄浪县| 英山县| 屏南县| 铜陵市| 浠水县| 龙陵县| 马边| 荃湾区| 乌拉特中旗| 黄平县| 富民县| 边坝县| 南召县| 盐边县| 色达县| 南召县| 沈阳市| 威宁| 芦山县| 平果县| 利辛县| 兴城市| 梁河县| 桐城市| 岳普湖县| 合江县| 香港| 大埔县| 都匀市| 巢湖市| 丰原市| 上饶市| 连南| 荆州市| 凤山市| 正蓝旗| 通城县| 澄迈县| 墨玉县| 彰武县| 漳平市|