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

  • 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.

主站蜘蛛池模板: 舒城县| 峡江县| 友谊县| 宜春市| 色达县| 江津市| 包头市| 金堂县| 白城市| 麻阳| 高安市| 辉南县| 重庆市| 扎兰屯市| 老河口市| 措勤县| 裕民县| 易门县| 五指山市| 三穗县| 响水县| 轮台县| 宁南县| 湖南省| 台前县| 陇川县| 吉安县| 钟祥市| 黎城县| 满洲里市| 龙泉市| 秭归县| 台湾省| 慈利县| 汽车| 土默特左旗| 徐州市| 宿州市| 什邡市| 鞍山市| 银川市|