Apache Juneau 7.2.0 釋出,基於 REST 構建的遠端代理
Apache Juneau 7.2.0ofollow,noindex">釋出了 ,Apache Juneau 是 Apache Software Foundation (ASF) 開發的一個專案,由 Apache Incubator PMC 贊助。
簡介
-
使用通用框架將 POJO 編組到各種內容型別的工具包。
-
REST 伺服器API,通過使用 POJO 建立基於 Swagger 的 Self-documenting REST 介面。
-
通過使用 POJO 與 REST 介面進行互動的 REST 客戶端 API。
-
基於 REST 構建的遠端代理 API。
-
一個複雜的 INI 配置檔案 API。
-
REST 微服務 API —— 結合了上述所有功能,用於建立以毫秒為單位啟動的輕量級獨立 REST 介面。
更新內容
7.2.0 是一個主要版本,它引入了幾個重要的新功能:
-
OpenAPI 的部分序列化和解析現已完全支援 REST servlet 和客戶端 API 中輸入和輸出的 OpenAPI 驗證
-
自動生成 Swagger UI
-
新的 HTTP-Part 註解適用於 servlet 和客戶端 API
-
對自定義 UI 進行了簡化
-
新的 Marshall API 將序列化程式和解析器組合到單個類中
-
Serverless servlet 和客戶端單元測試
-
預定義的 REST 響應和異常
下載地址
Maven
<!--Use the following dependency... --> <dependency> <groupId>org.apache.juneau</groupId> <artifactId>juneau-XXX</artifactId> <version>7.2.0</version> </dependency> <!--...where the artifactId can be any of the following... --> <artifactId>juneau-all</artifactId> <artifactId>juneau-marshall</artifactId> <artifactId>juneau-marshall-rdf</artifactId> <artifactId>juneau-dto</artifactId> <artifactId>juneau-svl</artifactId> <artifactId>juneau-config</artifactId> <artifactId>juneau-rest-server</artifactId> <artifactId>juneau-rest-server-jaxrs</artifactId> <artifactId>juneau-rest-client</artifactId> <artifactId>juneau-microservice-server</artifactId>
詳細的更新說明請檢視http://juneau.apache.org/#whatsnew.html 、http://juneau.apache.org/site/apidocs/overview-summary.html#7.2.0