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

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.

主站蜘蛛池模板: 旬阳县| 卓资县| 中超| 亚东县| 手机| 来宾市| 静宁县| 怀柔区| 偏关县| 洞头县| 平舆县| 宁明县| 南汇区| 宁安市| 湖口县| 通河县| 墨玉县| 昭通市| 嘉祥县| 凤台县| 黎平县| 瑞安市| 梧州市| 鞍山市| 江山市| 德昌县| 永清县| 鄢陵县| 安吉县| 汝州市| 阿图什市| 海南省| 庆阳市| 巩留县| 牙克石市| 湄潭县| 阳西县| 乐都县| 繁峙县| 甘洛县| 清涧县|