Java 近期新聞綜述:Jakarta EE 10核心Profile、OpenJDK、Open Liberty、Payara、Groovy 及Quarkus

{"type":"doc","content":[{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"Java近期新聞綜述包括:Jakarta EE 10推出了一個核心Profile、JEP 417、JDK 18、Open Liberty 21.0.0.10-beta、Payara 2021年8月路線圖更新網絡研討會、Quarkus 2.2.2.Final、一個新的Micronaut Java庫、Hibernate Search 6.1.0.Alpha1、GraalVM Native Build Tools 0.9.5、Groovy的版本更新、以及JakartaOne Livestream 2021會議。"}]},{"type":"heading","attrs":{"align":null,"level":3},"content":[{"type":"text","text":"OpenJDK"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"JEP 417,"},{"type":"link","attrs":{"href":"https:\/\/openjdk.java.net\/jeps\/417","title":"","type":null},"content":[{"type":"text","text":"Vector API的第三輪孵化"}]},{"type":"text","text":",已經從JDK 18的“候選”(Candidate)狀態提升爲“提議目標”(Proposed to Target)狀態。除了性能上的改進,該JEP還建議合併增強功能,以響應前兩輪的孵化反饋:JEP 414("},{"type":"link","attrs":{"href":"https:\/\/openjdk.java.net\/jeps\/414","title":"","type":null},"content":[{"type":"text","text":"Vector API的第二輪孵化"}]},{"type":"text","text":")及JEP 338("},{"type":"link","attrs":{"href":"https:\/\/openjdk.java.net\/jeps\/338","title":"","type":null},"content":[{"type":"text","text":"Vector API的第一輪孵化"}]},{"type":"text","text":")。JEP 338已經作爲孵化模塊集成到了JDK 16中,而JEP 414也已確認會進入JDK 17的最終JEP。"}]},{"type":"heading","attrs":{"align":null,"level":3},"content":[{"type":"text","text":"JDK 17"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"JDK 17計劃於2021年9月14日(星期二)發佈。InfoQ將持續跟進以進行更詳細的新聞報道。"}]},{"type":"heading","attrs":{"align":null,"level":3},"content":[{"type":"text","text":"JDK 18"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"上週,JDK 18"},{"type":"link","attrs":{"href":"https:\/\/jdk.java.net\/18\/","title":"","type":null},"content":[{"type":"text","text":"早期體驗版本"}]},{"type":"text","text":"的"},{"type":"link","attrs":{"href":"https:\/\/github.com\/openjdk\/jdk\/releases\/tag\/jdk-18%2B14","title":"","type":null},"content":[{"type":"text","text":"第14版"}]},{"type":"text","text":"發佈了,其中包含了對第13版中各種"},{"type":"link","attrs":{"href":"https:\/\/bugs.openjdk.java.net\/browse\/JDK-8273168?jql=project%20%3D%20JDK%20AND%20fixversion%20%3D%2018%20and%20%22resolved%20in%20build%22%20%3D%20b14%20order%20by%20component%2C%20subcomponent","title":"","type":null},"content":[{"type":"text","text":"問題"}]},{"type":"text","text":"的修復"},{"type":"link","attrs":{"href":"https:\/\/github.com\/openjdk\/jdk\/compare\/jdk-18%2B13...jdk-18%2B14","title":"","type":null},"content":[{"type":"text","text":"更新"}]},{"type":"text","text":"。更多詳細信息請查看"},{"type":"link","attrs":{"href":"https:\/\/jdk.java.net\/18\/release-notes","title":"","type":null},"content":[{"type":"text","text":"發佈說明"}]},{"type":"text","text":"。"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"對於JDK 17和JDK 18,均鼓勵開發人員通過"},{"type":"link","attrs":{"href":"https:\/\/bugreport.java.com\/bugreport\/","title":"","type":null},"content":[{"type":"text","text":"Java Bug Database"}]},{"type":"text","text":"來提交Bug。"}]},{"type":"heading","attrs":{"align":null,"level":3},"content":[{"type":"text","text":"Jakarta EE 10的線路"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"在Jakarta EE 10"},{"type":"link","attrs":{"href":"https:\/\/eclipse-ee4j.github.io\/jakartaee-platform\/jakartaee10\/JakartaEE10#jakarta-ee-10-release-plan","title":"","type":null},"content":[{"type":"text","text":"發佈計劃"}]},{"type":"text","text":"公佈後不久,"},{"type":"link","attrs":{"href":"https:\/\/jakarta.ee\/about\/","title":"","type":null},"content":[{"type":"text","text":"Jakarta EE工作組推出了"}]},{"type":"text","text":"新的Jakarta EE"},{"type":"link","attrs":{"href":"https:\/\/jakarta.ee\/specifications\/coreprofile\/","title":"","type":null},"content":[{"type":"text","text":"核心Profile(Core Profile)"}]},{"type":"text","text":",以補充現有的"},{"type":"link","attrs":{"href":"https:\/\/jakarta.ee\/specifications\/platform\/","title":"","type":null},"content":[{"type":"text","text":"平臺Profile(Platform Profile)"}]},{"type":"text","text":"和"},{"type":"link","attrs":{"href":"https:\/\/jakarta.ee\/specifications\/webprofile\/","title":"","type":null},"content":[{"type":"text","text":"Web Profile"}]},{"type":"text","text":"。這個新的Profile“專注於爲適用於微服務的小型運行時提供最小的基礎,並允許提前編譯。”如下所示,已經爲該核心Profile定義了一組Jakarta EE規範:"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"image","attrs":{"src":"https:\/\/imgopt.infoq.com\/fit-in\/625x1000\/filters:quality(80)\/filters:no_upscale()\/news\/2021\/09\/java-news-roundup-sep06-2021\/en\/resources\/1infoq-jakarta-ee-core-profile-1631451090381.png","alt":null,"title":null,"style":[{"key":"width","value":"75%"},{"key":"bordertype","value":"none"}],"href":null,"fromPaste":true,"pastePass":true}},{"type":"heading","attrs":{"align":null,"level":3},"content":[{"type":"text","text":"Open Liberty"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"IBM"},{"type":"link","attrs":{"href":"https:\/\/openliberty.io\/blog\/2021\/09\/07\/java17-210010-beta.html","title":"","type":null},"content":[{"type":"text","text":"發佈了"}]},{"type":"text","text":"OpenLiberty 21.0.0.10-beta版,該版本支持JDK 17"},{"type":"link","attrs":{"href":"https:\/\/jdk.java.net\/17\/","title":"","type":null},"content":[{"type":"text","text":"早期體驗版本"}]},{"type":"text","text":"的"},{"type":"link","attrs":{"href":"https:\/\/github.com\/openjdk\/jdk\/releases\/tag\/jdk-17%2B35","title":"","type":null},"content":[{"type":"text","text":"第35版"}]},{"type":"text","text":";"},{"type":"link","attrs":{"href":"https:\/\/openliberty.io\/docs\/latest\/reference\/feature\/openidConnectClient-1.0.html","title":"","type":null},"content":[{"type":"text","text":"OpenID Connect Client 1.0"}]},{"type":"text","text":"和"},{"type":"link","attrs":{"href":"https:\/\/openliberty.io\/docs\/latest\/reference\/feature\/socialLogin-1.0.html","title":"","type":null},"content":[{"type":"text","text":"Social Media Login 1.0"}]},{"type":"text","text":"能夠接收JSON Web加密(JWE)格式的令牌;支持MicroProfile "},{"type":"link","attrs":{"href":"https:\/\/github.com\/eclipse\/microprofile-context-propagation\/releases\/tag\/1.3-RC1","title":"","type":null},"content":[{"type":"text","text":"Context Propagation 1.3-RC1"}]},{"type":"text","text":";並完實現了Jakarta EE 9.0的增值特性,如"},{"type":"link","attrs":{"href":"https:\/\/openliberty.io\/docs\/latest\/reference\/feature\/adminCenter-1.0.html","title":"","type":null},"content":[{"type":"text","text":"Admin Center"}]},{"type":"text","text":"、"},{"type":"link","attrs":{"href":"https:\/\/openliberty.io\/docs\/latest\/reference\/feature\/grpc-1.0.html","title":"","type":null},"content":[{"type":"text","text":"gRPC"}]},{"type":"text","text":"和"},{"type":"link","attrs":{"href":"https:\/\/openliberty.io\/docs\/latest\/reference\/feature\/wsSecurity-1.1.html","title":"","type":null},"content":[{"type":"text","text":"Web服務安全"}]},{"type":"text","text":"。"}]},{"type":"heading","attrs":{"align":null,"level":3},"content":[{"type":"text","text":"Payara"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"Payara"},{"type":"link","attrs":{"href":"https:\/\/blog.payara.fish\/august-2021-roadmap-update-webinar","title":"","type":null},"content":[{"type":"text","text":"已經召開了"}]},{"type":"link","attrs":{"href":"https:\/\/www.youtube.com\/watch?v=UK6Q0WeUad4","title":"","type":null},"content":[{"type":"text","text":"2021年8月路線圖更新網絡研討會"}]},{"type":"text","text":",該研討會由Payara首席執行官"},{"type":"link","attrs":{"href":"https:\/\/uk.linkedin.com\/in\/smillidge","title":"","type":null},"content":[{"type":"text","text":"Steve Millidge"}]},{"type":"text","text":"主持。在會上,他討論回顧了2021年的路線圖;到目前爲止,Payara在2021年交付了什麼;目前正在開發的項目;以及Payara Cloud的更新。"}]},{"type":"heading","attrs":{"align":null,"level":3},"content":[{"type":"text","text":"Quarkus"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"Red Had"},{"type":"link","attrs":{"href":"http:\/\/quarkus.io\/blog\/quarkus-2-2-2-final-released\/","title":"","type":null},"content":[{"type":"text","text":"發佈了"}]},{"type":"text","text":"一個維護版本,Quarkus 2.2.2.Final,其特性是升級到了"},{"type":"link","attrs":{"href":"https:\/\/github.com\/quarkusio\/quarkus\/pull\/19928","title":"","type":null},"content":[{"type":"text","text":"Oracle JDBC驅動程序21.3.0.0版"}]},{"type":"text","text":";以及通過Quarkus擴展,以編程方式傳遞在GraalVM 中引入"},{"type":"codeinline","content":[{"type":"text","text":"--exclude-config"}]},{"type":"text","text":"選項的能力。更多詳細信息請查看變更日誌。"}]},{"type":"heading","attrs":{"align":null,"level":3},"content":[{"type":"text","text":"Micronaut"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"Object Computing, Inc.的首席軟件工程師"},{"type":"link","attrs":{"href":"https:\/\/es.linkedin.com\/in\/sergiodelamo\/","title":"","type":null},"content":[{"type":"text","text":"Sergio Del Amo"}]},{"type":"link","attrs":{"href":"https:\/\/sergiodelamo.com\/blog\/released-micronaut-pushover-101.html","title":"","type":null},"content":[{"type":"text","text":"推出了"}]},{"type":"text","text":"一個"},{"type":"link","attrs":{"href":"https:\/\/micronaut.io\/","title":"","type":null},"content":[{"type":"text","text":"Micronaut"}]},{"type":"text","text":" Java庫來使用"},{"type":"link","attrs":{"href":"https:\/\/pushover.net\/api","title":"","type":null},"content":[{"type":"text","text":"Pushover API"}]},{"type":"text","text":",該API既可用於Micronaut應用程序,也可作爲獨立庫使用。Del Amo在"},{"type":"link","attrs":{"href":"https:\/\/github.com\/sdelamo\/pushover","title":"","type":null},"content":[{"type":"text","text":"此GitHub倉庫中"}]},{"type":"text","text":"提供了關於如何實現每個場景的示例。"}]},{"type":"heading","attrs":{"align":null,"level":3},"content":[{"type":"text","text":"Hibernate"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"link","attrs":{"href":"http:\/\/hibernate.org\/search\/","title":"","type":null},"content":[{"type":"text","text":"Hibernate Search"}]},{"type":"text","text":" 6.1.0.Alpha1已經發布,其特性包括:引入了一個新的異步、分佈式自動索引概念,並對"},{"type":"link","attrs":{"href":"https:\/\/hibernate.org\/orm\/","title":"","type":null},"content":[{"type":"text","text":"Hibernate ORM"}]},{"type":"text","text":"、"},{"type":"link","attrs":{"href":"https:\/\/lucene.apache.org\/","title":"","type":null},"content":[{"type":"text","text":"Lucene"}]},{"type":"text","text":"和"},{"type":"link","attrs":{"href":"https:\/\/github.com\/elastic\/elasticsearch","title":"","type":null},"content":[{"type":"text","text":"Elasticsearch"}]},{"type":"text","text":"進行了依賴升級。"}]},{"type":"heading","attrs":{"align":null,"level":3},"content":[{"type":"text","text":"JakartaOne Livestream 2021會議"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"link","attrs":{"href":"https:\/\/jakartaone.org\/2021\/","title":"","type":null},"content":[{"type":"text","text":"JakartaOne Livestream 2021"}]},{"type":"text","text":"會議的"},{"type":"link","attrs":{"href":"https:\/\/www.agilejava.eu\/2021\/07\/15\/jakartaone-livestream-2021-cfp-is-open\/","title":"","type":null},"content":[{"type":"text","text":"論文徵集"}]},{"type":"text","text":"將於2021年9月15日結束。會議定於2021年12月7日召開,今年的"},{"type":"link","attrs":{"href":"https:\/\/jakartaone.org\/2021\/program-committee\/","title":"","type":null},"content":[{"type":"text","text":"項目委員會"}]},{"type":"text","text":"成員包括:Eclipse的Jakarta EE項目經理"},{"type":"link","attrs":{"href":"https:\/\/ca.linkedin.com\/in\/tanja-obradovic-095604","title":"","type":null},"content":[{"type":"text","text":"Tanja Obradovic"}]},{"type":"text","text":"、Eclipse的Jakarta EE開發人員倡導者"},{"type":"link","attrs":{"href":"https:\/\/se.linkedin.com\/in\/ivargrimstad","title":"","type":null},"content":[{"type":"text","text":"Ivar Grimstad"}]},{"type":"text","text":"、xgeeks的顧問軟件工程師"},{"type":"link","attrs":{"href":"https:\/\/www.linkedin.com\/in\/otaviojava\/","title":"","type":null},"content":[{"type":"text","text":"Otavio Santana"}]},{"type":"text","text":"、VIDA Software的高級程序員"},{"type":"link","attrs":{"href":"https:\/\/bg.linkedin.com\/in\/ivan-ivanov-25ab324","title":"","type":null},"content":[{"type":"text","text":"Ivan St.Ivanov"}]},{"type":"text","text":"、JetBrains的Java開發人員倡導者"},{"type":"link","attrs":{"href":"https:\/\/www.linkedin.com\/in\/daliashea","title":"","type":null},"content":[{"type":"text","text":"Dalia Abo Sheasha"}]},{"type":"text","text":"、Sensor Aktor GmbH的董事總經理Jan Westerkamp、以及某石化研究公司的高級研究技術員"},{"type":"link","attrs":{"href":"https:\/\/www.linkedin.com\/in\/michael-redlich-13a966\/","title":"","type":null},"content":[{"type":"text","text":"Michael Redlich"}]},{"type":"text","text":"。"}]},{"type":"heading","attrs":{"align":null,"level":3},"content":[{"type":"text","text":"GraalVM"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"作爲1.0版本的一個重要里程碑,"},{"type":"link","attrs":{"href":"https:\/\/labs.oracle.com\/","title":"","type":null},"content":[{"type":"text","text":"Oracle實驗室"}]},{"type":"text","text":"發佈了Native Build Tools的"},{"type":"link","attrs":{"href":"https:\/\/github.com\/graalvm\/native-build-tools\/releases\/tag\/0.9.5","title":"","type":null},"content":[{"type":"text","text":"0.9.5版"}]},{"type":"text","text":",這是一個GraalVM項目,包含了用於與GraalVM "},{"type":"link","attrs":{"href":"https:\/\/www.graalvm.org\/reference-manual\/native-image\/","title":"","type":null},"content":[{"type":"text","text":"Native Image"}]},{"type":"text","text":"互操作的插件。 該版本棄用了 "},{"type":"codeinline","content":[{"type":"text","text":"nativeBuild"}]},{"type":"text","text":"和"},{"type":"codeinline","content":[{"type":"text","text":"nativeTest"}]},{"type":"text","text":"擴展,支持了"},{"type":"codeinline","content":[{"type":"text","text":"graalvmNative"}]},{"type":"text","text":" ,如下所示:"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"codeblock","attrs":{"lang":"java"},"content":[{"type":"text","text":"graalvmNative {\n binaries {\n main {\n verbose = true\n }\n }\n }\ngraalvmNative {\n binaries {\n test {\n buildArgs(\"...\")\n }\n }\n }\n"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"更多詳細信息請查看"},{"type":"link","attrs":{"href":"https:\/\/graalvm.github.io\/native-build-tools\/0.9.5\/index.html","title":"","type":null},"content":[{"type":"text","text":"文檔"}]},{"type":"text","text":"。"}]},{"type":"heading","attrs":{"align":null,"level":3},"content":[{"type":"text","text":"Groovy"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"Object Computing, Inc.的首席軟件工程師"},{"type":"link","attrs":{"href":"https:\/\/au.linkedin.com\/in\/paulwilliamking","title":"","type":null},"content":[{"type":"text","text":"Paul King"}]},{"type":"text","text":"宣佈了對"},{"type":"link","attrs":{"href":"https:\/\/groovy-lang.org\/","title":"","type":null},"content":[{"type":"text","text":"Groovy"}]},{"type":"text","text":" "},{"type":"link","attrs":{"href":"https:\/\/github.com\/apache\/groovy\/releases\/tag\/GROOVY_4_0_0_BETA_1","title":"","type":null},"content":[{"type":"text","text":"4.0.0-beta-1"}]},{"type":"text","text":"、"},{"type":"link","attrs":{"href":"https:\/\/github.com\/apache\/groovy\/releases\/tag\/GROOVY_3_0_9","title":"","type":null},"content":[{"type":"text","text":"3.0.9"}]},{"type":"text","text":"及"},{"type":"link","attrs":{"href":"https:\/\/github.com\/apache\/groovy\/releases\/tag\/GROOVY_2_5_15","title":"","type":null},"content":[{"type":"text","text":"2.5.15"}]},{"type":"text","text":"版本的更新,分別進行了138、80、42個bug修復及增強。 更多詳細信息請查看"},{"type":"link","attrs":{"href":"https:\/\/issues.apache.org\/jira\/secure\/ReleaseNote.jspa?projectId=12318123&version=12349466&utm_campaign=2GM%20Community%20Engagement&utm_medium=email&_hsmi=158100327&_hsenc=p2ANqtz--lbnqZRO3nVP_2i-ci-01MVgbNtDmN0t4jXILgWa7M1QJGmXX0B_qeFdB-Py4OQIe3fJ4TV5HBbN05_S-Lns8FmjoJ8g&utm_content=158100327&utm_source=hs_email","title":"","type":null},"content":[{"type":"text","text":"發行說明"}]},{"type":"text","text":"。"}]},{"type":"heading","attrs":{"align":null,"level":3},"content":[{"type":"text","text":"“與OpenJDK合作”活動"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"最後,爲了給Java社區帶來一些樂趣。與上週的Java近期新聞綜述中所描述的“"},{"type":"link","attrs":{"href":"https:\/\/foojay.io\/today\/works-with-openjdk\/","title":"","type":null},"content":[{"type":"text","text":"與OpenJDK合作”(Works with OpenJDK)"}]},{"type":"text","text":"活動相關,Azul開源項目的高級總監"},{"type":"link","attrs":{"href":"https:\/\/nl.linkedin.com\/in\/geertjanwielenga","title":"","type":null},"content":[{"type":"text","text":"Geertjan Wielenga"}]},{"type":"text","text":"爲Java開發人員提供了一個OpenJDK"},{"type":"link","attrs":{"href":"https:\/\/github.com\/foojayio\/badges\/blob\/main\/works_with_openjdk\/WorksWithOpenJDKLinkedInBanner.png","title":"","type":null},"content":[{"type":"text","text":"橫幅廣告位"}]},{"type":"text","text":",其可在LinkedIn賬戶上使用。相應的示例可以在Wielenga的"},{"type":"link","attrs":{"href":"https:\/\/nl.linkedin.com\/in\/geertjanwielenga","title":"","type":null},"content":[{"type":"text","text":"LinkedIn"}]},{"type":"text","text":"個人資料中找到。"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","marks":[{"type":"strong"}],"text":"原文鏈接:"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"link","attrs":{"href":"https:\/\/www.infoq.com\/news\/2021\/09\/java-news-roundup-sep06-2021\/","title":"","type":null},"content":[{"type":"text","text":"https:\/\/www.infoq.com\/news\/2021\/09\/java-news-roundup-sep06-2021\/"}]}]}]}
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章