Request 2 Response 2 Response 2 Response 2 Response CGI CGI CGI CGI Servlet Servlet Servlet Servlet etc. etc. etc. etc. URL URL URL URLで期待する処理を指定 処理結果(HTML HTML HTML HTMLなど)
View Model Model Model Model 1 Request 1 Request 1 Request 1 Request 2 Response 2 Response 2 Response 2 Response Requst Mapping Requst Mapping Requst Mapping Requst Mapping HTTP Parameter HTTP Parameter HTTP Parameter HTTP Parameter etc. etc. etc. etc. Business Logic Business Logic Business Logic Business Logic Business Data Business Data Business Data Business Data etc. etc. etc. etc. HTML Template HTML Template HTML Template HTML Template etc. etc. etc. etc.
/item GET アイテムの一覧の取得 /item/1001 GET 指定されたID(1001)のアイテム の詳細を取得 /item/1001 POST 指定されたアイテムの新規作成 /item/1001 PUT 指定されたアイテムの更新 /item/1001 DELETE 指定されたアイテムの削除
to fullysupport Java 8 features • lambda expressions • java.time (JSR-310) • @Repeatable • debug information – remove many deprecated classes and methods • All deprecated packages, and many deprecated classes and methods have been removed with version 4.0.
– Improved Getting Started Experience – Removed Deprecated Packages and Methods – Java 8 (as well as 6 and 7) – Java EE 6 and 7 – Groovy Bean Definition DSL – Core Container Improvements – General Web Improvements – WebSocket, SockJS, and STOMP Messaging – Testing Improvements