{"id":353617,"date":"2024-05-20T22:31:39","date_gmt":"2024-05-20T22:31:39","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=353617"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=353617","title":{"rendered":"<span>\u0413\u0435\u043d\u0435\u0440\u0438\u0440\u0443\u0435\u043c \u043f\u0440\u043e\u0441\u0442\u043e\u0439 web \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 \u0434\u043b\u044f \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u0430 \u0442\u0430\u0431\u043b\u0438\u0446 PostgreSQL<\/span>"},"content":{"rendered":"<div><!--[--><!--]--><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<p>\u0412 \u043f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u044f\u0445 \u043d\u0430 \u0445\u0430\u0431\u0440\u0435, \u0447\u0430\u0449\u0435 \u0432\u0441\u0435\u0433\u043e \u0441\u0430\u043c\u043e\u0435 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e\u0435 \u0432 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u044f\u0445. \u0412\u043e\u0442 \u0438 \u0432 \u043c\u043e\u0435\u043c \u043f\u0440\u043e\u0448\u043b\u043e\u043c \u043f\u043e\u0441\u0442\u0435 <a href=\"https:\/\/habr.com\/ru\/articles\/756544\/\" rel=\"noopener noreferrer nofollow\">&#171;\u0421\u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c web \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 \u0438\u0437 \u0411\u0414 \u0438\u043b\u0438 \u043e\u0431\u044a\u0435\u043a\u0442\u043d\u043e\u0439 \u043c\u043e\u0434\u0435\u043b\u0438 \u043d\u0435 \u0441\u0442\u0430\u043b\u043e \u043f\u0440\u043e\u0449\u0435 \u0434\u0430\u0436\u0435 10 \u043b\u0435\u0442 \u0441\u043f\u0443\u0441\u0442\u044f&#187;<\/a> \u044f \u0441\u043e\u0431\u0440\u0430\u043b \u0434\u0436\u0435\u043a\u043f\u043e\u0442 \u0438\u0437 SharePoint, Vaadin \u0438 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u0445 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a \u043b\u0438\u0431\u043e \u0443\u0441\u0442\u0430\u0440\u0435\u0432\u0448\u0438\u0445, \u043b\u0438\u0431\u043e \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u043c\u044b\u0445 &#171;\u043e\u0434\u043d\u0438\u043c \u0430\u0432\u0442\u043e\u0440\u043e\u043c&#187;.<\/p>\n<p>\u0427\u0442\u043e \u044f \u043f\u044b\u0442\u0430\u043b\u0441\u044f \u043e\u0431\u044a\u044f\u0441\u043d\u0438\u0442\u044c \u0447\u0438\u0442\u0430\u0442\u0435\u043b\u044f\u043c, \u0447\u0442\u043e \u043d\u0430 \u044d\u0442\u0430\u043f\u0435 \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438 \u0438\u0434\u0435\u0439 \u043d\u0435 \u043d\u0443\u0436\u043d\u0430 \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u0430\u044f \u0441\u043b\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0432 \u0432\u0438\u0434\u0435 \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u043e\u0432, \u0441\u0435\u0440\u0432\u0435\u0440\u043d\u043e\u0439 \u0438\u043d\u0444\u0440\u0430\u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u044b \u0442\u043e\u043b\u044c\u043a\u043e \u0440\u0430\u0434\u0438 \u044d\u0442\u043e\u0439 \u0441\u0430\u043c\u043e\u0439 \u0438\u043d\u0444\u0440\u0430\u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u044b \u0438 \u043d\u043e\u0432\u043e\u0433\u043e \u044f\u0437\u044b\u043a\u0430 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f\/\u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u044b. \u0418\u043c\u0435\u043d\u043d\u043e \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043c\u043d\u0435 \u043d\u0435 \u043d\u0443\u0436\u043d\u044b \u0441\u0435\u0439\u0447\u0430\u0441 Yii, Symfony \u0438 Laravel, \u043d\u0435 \u043f\u043e\u0434\u043e\u0439\u0434\u0435\u0442 ADF. \u041d\u0430 \u043b\u044e\u0431\u043e\u0435 \u043e\u0431\u0443\u0447\u0435\u043d\u0438\u0435 \u0442\u0440\u0430\u0442\u0438\u0442\u0441\u044f \u0434\u0440\u0430\u0433\u043e\u0446\u0435\u043d\u043d\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u0438 \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043d\u0430\u0434\u043e \u043f\u043e\u043d\u0438\u043c\u0430\u0442\u044c \u0437\u0430\u0447\u0435\u043c \u0442\u0440\u0430\u0442\u0438\u0442\u044c \u0432\u0440\u0435\u043c\u044f \u043d\u0430 \u0447\u0442\u043e-\u0442\u043e, \u0447\u0442\u043e \u043f\u043e\u0442\u043e\u043c \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u043d\u0430\u0432\u0441\u0435\u0433\u0434\u0430 \u043f\u0440\u0438\u0434\u0435\u0442\u0441\u044f \u0437\u0430\u0431\u044b\u0442\u044c \u0447\u0435\u0440\u0435\u0437 \u043d\u0435\u0434\u0435\u043b\u044e-\u0434\u0440\u0443\u0433\u0443\u044e \u0438\u0433\u0440\u044b \u0441 \u043f\u0440\u043e\u0442\u043e\u0442\u0438\u043f\u043e\u043c.<\/p>\n<p>\u0412 \u0441\u0432\u043e\u0438\u0445 \u044d\u043a\u0441\u043f\u0435\u0440\u0435\u043c\u0435\u043d\u0442\u0430\u0445 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043b\u0430\u043f\u0448\u0435\u043a\u043e\u0434\u0430 \u043d\u0430 JavaScript \u044f \u0431\u044b\u0441\u0442\u0440\u043e \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0430\u043b \u0432\u043f\u043e\u043b\u043d\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u044b\u0439 (\u0434\u043b\u044f \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438 \u0438\u0434\u0435\u0438) \u043d\u043e \u043f\u0440\u0438 \u044d\u0442\u043e\u043c \u043d\u0435 \u0434\u0440\u0443\u0436\u0435\u043b\u044e\u0431\u043d\u044b\u0439 \u043a \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044e \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441. \u041a\u0430\u043a \u043f\u0440\u0438\u043c\u0435\u0440, \u043e\u0434\u0438\u043d \u0438\u0437 \u043c\u043e\u0438\u0445 \u044d\u043a\u0440\u0430\u043d\u043e\u0432:<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/436\/437\/d2d\/436437d2d5feec97eb148f316037816b.png\" width=\"1560\" height=\"875\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/436\/437\/d2d\/436437d2d5feec97eb148f316037816b.png\"\/><\/figure>\n<p>\u041f\u0440\u0438 \u044d\u0442\u043e\u043c \u0432\u0441\u0435 \u044d\u0442\u043e \u0432\u0440\u0435\u043c\u044f \u044f \u043d\u0435 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043b backend \u0441\u043e\u0432\u0441\u0435\u043c. \u0412\u0441\u0435 \u0447\u0442\u043e \u0435\u0441\u0442\u044c \u0432 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0438 &#8212; \u044d\u0442\u043e \u043d\u0430\u0431\u043e\u0440 \u0441\u0442\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0445 \u0444\u0430\u0439\u043b\u043e\u0432 \u043d\u0430 http \u0441\u0435\u0440\u0432\u0435\u0440\u0435 jetty, \u0438 PostgREST \u0434\u043b\u044f \u043f\u0440\u0435\u0432\u0440\u0430\u0449\u0435\u043d\u0438\u044f \u0431\u0430\u0437\u044b \u0434\u0430\u043d\u043d\u044b\u0445 PostgreSQL \u0432 \u0441\u0435\u0440\u0432\u0438\u0441 Open API \u0438 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043d\u043e\u0432\u044b\u0445 \u0445\u0440\u0430\u043d\u0438\u043c\u044b\u0445 \u0444\u0443\u043d\u043a\u0446\u0438\u0439 \u0432 \u0431\u0430\u0437\u0435 \u0434\u0430\u043d\u043d\u044b\u0445 \u0434\u043b\u044f \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430. <\/p>\n<details class=\"spoiler\">\n<summary>\u0418 jetty \u043f\u043e \u0445\u043e\u0440\u043e\u0448\u0435\u043c\u0443 \u0437\u0434\u0435\u0441\u044c \u0431\u044b\u043b \u0431\u044b \u043b\u0438\u0448\u043d\u0438\u0439, \u0435\u0441\u043b\u0438 \u0431\u044b \u043d\u0435&#8230;<\/summary>\n<div class=\"spoiler__content\">\n<p>\u0415\u0441\u043b\u0438 \u0431\u044b PostgREST \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u043b \u043e\u0442\u0434\u0430\u0432\u0430\u0442\u044c \u0441\u0442\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0435 HTML \u0438 \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0438. \u0412\u0435\u0434\u044c \u043a\u043e\u0433\u0434\u0430 \u044f \u043f\u044b\u0442\u0430\u043b\u0441\u044f \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u0441\u0442\u0440\u0430\u043d\u0438\u0447\u043a\u0443 \u0438\u0437 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e\u0439 \u043f\u0430\u043f\u043a\u0438, \u0432\u0437\u0430\u0438\u043c\u043e\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435 \u0441 PostgREST \u043d\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u0442 \u0438\u0437-\u0437\u0430 \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u0439 \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u0438 \u0432 \u0441\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430\u0445. <\/p>\n<\/div>\n<\/details>\n<h2>\u0427\u0435\u043c \u044f \u043c\u043e\u0433\u0443 \u043f\u043e\u0434\u0435\u043b\u0438\u0442\u044c\u0441\u044f \u0438 \u0447\u0442\u043e \u0431\u0443\u0434\u0435\u0442 \u043f\u043e\u043b\u0435\u0437\u043d\u043e \u0432\u0430\u043c<\/h2>\n<p>\u0427\u0442\u043e \u0438\u0437 \u043c\u043e\u0435\u0433\u043e \u043e\u043f\u044b\u0442\u0430 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438 &#171;\u043d\u0430 \u043a\u043e\u043b\u0435\u043d\u043a\u0435&#187; \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u043f\u043e\u043b\u0435\u0437\u043d\u043e \u0431\u044d\u043a\u044d\u043d\u0434\u0435\u0440\u0430\u043c, \u043a\u0442\u043e \u0445\u043e\u0447\u0435\u0442 \u0431\u044b\u0442\u0440\u043e \u043f\u043e\u043a\u0430\u0437\u0430\u0442\u044c \u0442\u0430\u0431\u043b\u0438\u0447\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 \u0438\u0437 PostgreSQL? <\/p>\n<p>\u041f\u0435\u0440\u0435\u0441\u043c\u043e\u0442\u0440\u0435\u0432 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a \u043d\u0430 GitHub \u0434\u043b\u044f \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u0442\u0430\u0431\u043b\u0438\u0446 \u044f \u043e\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043b\u0441\u044f \u0434\u043b\u044f \u0441\u0435\u0431\u044f \u043d\u0430 <a href=\"https:\/\/github.com\/olifolkerd\/tabulator\" rel=\"noopener noreferrer nofollow\">Tabulator<\/a> \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0438\u0437 \u043a\u043e\u0440\u043e\u0431\u043a\u0438 \u0443\u043c\u0435\u0435\u0442 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u0442\u044c \u0442\u0430\u0431\u043b\u0438\u0446\u044b \u0441 \u0441\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u043a\u043e\u0439, \u0444\u0438\u043b\u044c\u0442\u0440\u0430\u0446\u0438\u0435\u0439 \u0438 \u0440\u0430\u0437\u0431\u0438\u0432\u043a\u043e\u0439 \u043d\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b, \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0440\u0430\u0441\u043f\u043e\u0437\u043d\u0430\u0435\u0442 \u0442\u0438\u043f\u044b \u043a\u043e\u043b\u043e\u043d\u043e\u043a, <a href=\"https:\/\/tabulator.info\/docs\/5.5\" rel=\"noopener noreferrer nofollow\">\u0441 \u043e\u0442\u043b\u0438\u0447\u043d\u043e\u0439 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0435\u0439<\/a>, \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u043e\u0439 \u0434\u043b\u044f \u043f\u043e\u043d\u0438\u043c\u0430\u043d\u0438\u044f \u043d\u0435 \u0444\u0440\u043e\u043d\u0442\u044d\u043d\u0434\u0435\u0440\u043e\u043c. \u0410 \u0442\u0430\u043a\u0436\u0435 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0431\u044b\u0441\u0442\u0440\u043e \u0434\u0435\u043b\u0430\u0442\u044c \u043f\u0440\u043e\u0442\u043e\u0442\u0438\u043f, \u0440\u0430\u0437\u0440\u0435\u0448\u0430\u044f \u043d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0442\u044c \u0442\u0438\u043f\u044b \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u043f\u043e\u043b\u044f \u0434\u0430\u0436\u0435 \u0432 \u0440\u0435\u0436\u0438\u043c\u0435  \u0430\u0432\u0442\u043e\u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u044f.<\/p>\n<h2>\u041f\u043e\u043f\u044b\u0442\u043a\u0430 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043d\u0430 Java 21<\/h2>\n<p>\u0417\u0430 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043c\u0438\u043d\u0443\u0442( \u043d\u0435 \u0443\u0447\u0438\u0442\u044b\u0432\u0430\u044f \u0432\u0440\u0435\u043c\u044f \u0447\u0442\u0435\u043d\u0438\u044f \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438) \u044f \u043d\u0430\u0431\u0440\u043e\u0441\u0430\u043b \u043f\u0440\u043e\u0442\u043e\u0442\u0438\u043f \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0432\u0441\u0435 \u0442\u0430\u0431\u043b\u0438\u0446\u044b \u0432 \u0431\u0430\u0437\u0435 \u0434\u0430\u043d\u043d\u044b\u0445. \u0418 \u0441\u0434\u0435\u043b\u0430\u043b \u044d\u0442\u043e \u044f \u043d\u0430 Java \u0435\u0449\u0435 \u043d\u0435 \u0432\u044b\u043f\u0443\u0449\u0435\u043d\u043d\u043e\u0439 \u0432\u0435\u0440\u0441\u0438\u0438 21 \u0438 \u043f\u043e\u0442\u043e\u043c \u0435\u0449\u0435 \u043c\u0438\u043d\u0443\u0442 \u0434\u0435\u0441\u044f\u0442\u044c \u043f\u044b\u0442\u0430\u043b\u0441\u044f \u0435\u0433\u043e \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c, \u0440\u0430\u0437\u044b\u0441\u043a\u0438\u0432\u0430\u044f \u0433\u0434\u0435 \u0432 \u043d\u043e\u0432\u043e\u0439 \u0434\u043b\u044f \u043c\u0435\u043d\u044f \u0432\u0435\u0440\u0441\u0438\u0438 IntelliJ Idea CE \u0438 \u0432 \u0441\u0442\u0430\u0440\u043e\u0439 \u0432\u0435\u0440\u0441\u0438\u0438 maven \u043c\u0435\u0441\u0442\u043e \u043a\u0443\u0434\u0430 \u0436\u0435 \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u044d\u043a\u0441\u043f\u0435\u0440\u0435\u043c\u0435\u043d\u0442\u0430\u043b\u044c\u043d\u044b\u0439 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 JDK <strong>enablePreview<\/strong>. <\/p>\n<p>\u0427\u0435\u0441\u0442\u043d\u043e\u0435 \u0441\u043b\u043e\u0432\u043e, \u044d\u0442\u043e \u043f\u0440\u0438\u0432\u044b\u0447\u043a\u0430 \u043d\u0430 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0437\u043c\u0435 \u0440\u0430\u0437\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0442\u044c \u0441 \u0437\u0430\u0434\u0435\u043b\u043e\u043c \u043d\u0430 \u0431\u0443\u0434\u0443\u0449\u0435\u0435, \u0447\u0442\u043e\u0431\u044b \u043a\u043e\u0433\u0434\u0430-\u043d\u0438\u0431\u0443\u0434\u044c \u0440\u0430\u0437\u0431\u0438\u0440\u0430\u0442\u044c \u043c\u0435\u0442\u0430\u0434\u0430\u043d\u043d\u044b\u0435 PostgreSQL \u0438 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0438 \u043a \u043e\u0431\u044a\u0435\u043a\u0442\u0430\u043c \u0411\u0414, \u0432\u0441\u0435 \u0442\u043e \u0447\u0442\u043e \u043d\u0435 \u044d\u043a\u0441\u043f\u043e\u0440\u0442\u0438\u0440\u0443\u0435\u0442 PostgREST. \u041f\u043e\u0448\u0435\u043b \u0437\u0430\u0432\u0430\u0440\u0438\u0442\u044c \u0447\u0430\u0439 \u0438 \u043f\u043e\u0434\u0443\u043c\u0430\u043b \u0434\u043e\u0431\u0435\u0440\u0443\u0441\u044c \u043b\u0438 \u044f \u0434\u043e \u044d\u0442\u0438\u0445 \u043c\u0435\u0442\u0430\u0434\u0430\u043d\u043d\u044b\u0445 \u043f\u043e\u0441\u0442\u0433\u0440\u0435\u0441\u0430 \u0438 \u043a\u043e\u0433\u0434\u0430, \u0447\u0442\u043e \u0432\u0441\u0435 \u044d\u0442\u043e \u0442\u043e\u0436\u0435 \u043b\u0438\u0448\u043d\u0435\u0435, \u043d\u0435 \u043d\u0443\u0436\u0435\u043d \u0442\u0443\u0442 overengineering \u0438 \u043d\u0430\u0434\u043e \u043f\u0435\u0440\u0435\u043f\u0438\u0441\u0430\u0442\u044c  \u043d\u0430 HTML+JavaScript.<\/p>\n<p>\u041e\u0449\u0443\u0449\u0435\u043d\u0438\u044f \u0447\u0442\u043e \u0441 Servlet API 5.0 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0430 \u0441\u0442\u0430\u043b\u0430 \u043f\u0440\u043e\u0449\u0435 \u0438 \u0431\u0435\u0437 web.xml, \u0430 String Templates \u0438\u0437 JDK 21 \u0441\u0434\u0435\u043b\u0430\u044e\u0442 \u043a\u043e\u0434 \u0431\u043e\u043b\u0435\u0435 \u0447\u0438\u0442\u0430\u0435\u043c\u044b\u043c \u0438 \u0432 \u043f\u0440\u043e\u0441\u0442\u044b\u0445 \u0441\u043b\u0443\u0447\u0430\u044f\u0445 \u0438\u0437\u0431\u0430\u0432\u043b\u044f\u044e\u0442 \u043e\u0442 \u043d\u0430\u0434\u043e\u0431\u043d\u043e\u0441\u0442\u0438 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u0432\u043d\u0435\u0448\u043d\u0435\u0433\u043e \u0434\u0432\u0438\u0436\u043a\u0430 \u0448\u0430\u0431\u043b\u043e\u043d\u0438\u0437\u0430\u0446\u0438\u0438 Apache Velocity:<\/p>\n<details class=\"spoiler\">\n<summary>\u0414\u043b\u044f \u043b\u044e\u0431\u043e\u043f\u044b\u0442\u043d\u044b\u0445 \u043f\u043e\u0434 \u0441\u043f\u043e\u0439\u043b\u0435\u0440\u043e\u043c \u043d\u043e\u0432\u044b\u0439 Java \u0441\u0435\u0440\u0432\u043b\u0435\u0442 \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0431\u043e\u043b\u044c\u0448\u0435 \u043d\u0435 \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u0438\u0442\u0441\u044f:<\/summary>\n<div class=\"spoiler__content\">\n<pre><code class=\"java\">package com.github.com.github.isuhorukov.postgrest.crud;  import jakarta.servlet.annotation.WebServlet; import jakarta.servlet.http.HttpServlet; import jakarta.servlet.http.HttpServletRequest; import jakarta.servlet.http.HttpServletResponse;  import java.io.IOException; import java.net.URI; import java.net.http.HttpClient; import java.net.http.HttpRequest; import java.net.http.HttpResponse; import java.util.ArrayList; import java.util.Collections; import java.util.Iterator; import java.util.List;  import com.fasterxml.jackson.databind.JsonNode; import com.fasterxml.jackson.databind.ObjectMapper;   import static java.lang.StringTemplate.STR;  @WebServlet(\"\/table\") public class TableServlet extends HttpServlet {      @Override     protected void doGet(HttpServletRequest request, HttpServletResponse response) throws IOException {         String endpoint = request.getParameter(\"endpoint\");         if(endpoint==null || endpoint.isBlank()){             List&lt;String> postgRestAvailablePaths = getPostgRestAvailablePaths();             String options = postgRestAvailablePaths.stream().map(path ->                     STR. \"\"\"                                     &lt;option value=\"\\{path}\">\\{path}&lt;\/option>                                 \"\"\").collect(Collectors.joining(\"\\n\"));             response.getWriter().append(STR.\"\"\"                     &lt;!DOCTYPE html>                     &lt;html xmlns=\"http:\/\/www.w3.org\/1999\/html\">                         &lt;head>                         &lt;\/head>                         &lt;body>                             &lt;form method=\"GET\" action=\"\/table\">                                 &lt;select name=\"endpoint\">\\{options}&lt;\/select>                                 &lt;input type=\"submit\" value=\"Show\">                             &lt;\/form>                         &lt;\/body>                     &lt;\/html>                     \"\"\");             response.setStatus(HttpServletResponse.SC_BAD_REQUEST);             return;         }         response.getWriter().append(STR.\"\"\"             &lt;!DOCTYPE html>             &lt;html xmlns=\"http:\/\/www.w3.org\/1999\/html\">                 &lt;head>                     &lt;link href=\"https:\/\/unpkg.com\/tabulator-tables@5.5.2\/dist\/css\/tabulator.min.css\" rel=\"stylesheet\">                     &lt;script type=\"text\/javascript\" src=\"https:\/\/unpkg.com\/tabulator-tables@5.5.2\/dist\/js\/tabulator.min.js\">&lt;\/script>                 &lt;\/head>                 &lt;body>                     &lt;div id=\"table-result\">&lt;\/div>                     &lt;script>                         var table = new Tabulator(\"#table-result\", {                             ajaxURL: '\\{endpoint}',                             pagination:true,                             paginationMode:\"remote\",                             dataSendParams:{                                 \"size\" : \"limit\" \/\/rename page request parameter to \"limit\"                              } ,                              ajaxURLGenerator:function(url, config, params){                                 let sortParam = '';                                 if (params.sort &amp;&amp; params.sort.length > 0) {                                   sortParam = '&amp;order='+params.sort.map(sorter => `${sorter.field}.${sorter.dir}`).join(',');                                 }                                 return url + (url.includes(\"?\")?\"&amp;\":\"?\") + \"limit=\" + params.limit+\"&amp;offset=\" + params.limit*(params.page-1) + sortParam;                              },                              ajaxResponse: function (url, params, response) {                                 document.querySelector(\".tabulator-footer .tabulator-page[data-page='last']\").style.display = \"none\";                                 return {                                   last_page: 10000000000,                                   data: response                                 };                               },                               autoColumns:true,                               paginationSize: 35,                               sortMode: 'remote',                               filterMode:'remote',                               ajaxSorting: true,                               ajaxFiltering: true                         });                     &lt;\/script>                 &lt;\/body>             &lt;\/html>\"\"\");     }      List&lt;String> getPostgRestAvailablePaths() {         String postgRestUrl = System.getenv(\"postgrest_url\");         if(postgRestUrl==null || postgRestUrl.isBlank()){             throw new IllegalArgumentException(\"Please provide PostgREST \/ endpoint in environment variable: postgrest_url\");         }         List&lt;String> paths = new ArrayList&lt;>();         try (HttpClient httpClient = HttpClient.newHttpClient()){             HttpRequest request = HttpRequest.newBuilder().uri(URI.create(postgRestUrl)).build();              HttpResponse&lt;String> postgRestResponse = httpClient.send(request, HttpResponse.BodyHandlers.ofString());              if (postgRestResponse.statusCode() == 200) {                 try {                     HttpResponse&lt;String> response = httpClient.send(request, HttpResponse.BodyHandlers.ofString());                      ObjectMapper objectMapper = new ObjectMapper();                      if (response.statusCode() == 200) {                         String responseBody = response.body();                         JsonNode openApiSpec = objectMapper.readTree(responseBody);                          JsonNode pathsNode = openApiSpec.get(\"paths\");                          if (pathsNode != null &amp;&amp; pathsNode.isObject()) {                             for (Iterator&lt;String> it = pathsNode.fieldNames(); it.hasNext(); ) {                                 String path = it.next();                                if (!\"\/\".equals(path) &amp;&amp; !path.startsWith(\"\/rpc\")) {                                     paths.add(postgRestUrl + path);                                 }                              }                         } else {                             throw new RuntimeException(\"No table paths found.\");                         }                     } else {                         throw new RuntimeException(\"PostgREST failed with status code: \" + response.statusCode());                     }                 } catch (IOException | InterruptedException e) {                     throw new RuntimeException(e);                 }             } else {                 throw new RuntimeException(\"PostgREST request failed with status code: \" + postgRestResponse.statusCode());             }         } catch (IOException | InterruptedException e) {             throw new RuntimeException(e);         }         Collections.sort(paths);         return paths;     } } <\/code><\/pre>\n<pre><code class=\"xml\">&lt;?xml version=\"1.0\" encoding=\"UTF-8\"?> &lt;project xmlns=\"http:\/\/maven.apache.org\/POM\/4.0.0\"          xmlns:xsi=\"http:\/\/www.w3.org\/2001\/XMLSchema-instance\"          xsi:schemaLocation=\"http:\/\/maven.apache.org\/POM\/4.0.0 http:\/\/maven.apache.org\/xsd\/maven-4.0.0.xsd\">     &lt;modelVersion>4.0.0&lt;\/modelVersion>      &lt;groupId>com.github.igor-suhorukov&lt;\/groupId>     &lt;artifactId>postgrest-crud&lt;\/artifactId>     &lt;version>1.0-SNAPSHOT&lt;\/version>     &lt;packaging>war&lt;\/packaging>      &lt;properties>         &lt;maven.compiler.source>21&lt;\/maven.compiler.source>         &lt;maven.compiler.target>21&lt;\/maven.compiler.target>         &lt;project.build.sourceEncoding>UTF-8&lt;\/project.build.sourceEncoding>     &lt;\/properties>     &lt;dependencies>         &lt;dependency>             &lt;groupId>org.eclipse.jetty.toolchain&lt;\/groupId>             &lt;artifactId>jetty-jakarta-servlet-api&lt;\/artifactId>             &lt;version>5.0.2&lt;\/version>         &lt;\/dependency>         &lt;dependency>             &lt;groupId>com.fasterxml.jackson.core&lt;\/groupId>             &lt;artifactId>jackson-databind&lt;\/artifactId>             &lt;version>2.15.2&lt;\/version>         &lt;\/dependency>     &lt;\/dependencies>      &lt;build>         &lt;plugins>             &lt;plugin>                 &lt;groupId>org.apache.maven.plugins&lt;\/groupId>                 &lt;artifactId>maven-compiler-plugin&lt;\/artifactId>                 &lt;configuration>                     &lt;enablePreview>true&lt;\/enablePreview>                 &lt;\/configuration>             &lt;\/plugin>             &lt;plugin>                 &lt;groupId>org.eclipse.jetty&lt;\/groupId>                 &lt;artifactId>jetty-maven-plugin&lt;\/artifactId>                 &lt;version>11.0.15&lt;\/version>                 &lt;configuration>                     &lt;scanIntervalSeconds>10&lt;\/scanIntervalSeconds>                     &lt;connectors>                         &lt;connector implementation=\"org.mortbay.jetty.nio.SelectChannelConnector\">                             &lt;port>8080&lt;\/port>                             &lt;maxIdleTime>60000&lt;\/maxIdleTime>                         &lt;\/connector>                     &lt;\/connectors>                 &lt;\/configuration>             &lt;\/plugin>         &lt;\/plugins>     &lt;\/build> &lt;\/project><\/code><\/pre>\n<\/p>\n<\/div>\n<\/details>\n<p>\u0418\u0442\u0430\u043a, \u044f \u0441\u0434\u0435\u043b\u0430\u043b \u0432\u0441\u0435 \u0442\u043e \u0447\u0442\u043e \u043d\u0435 \u0445\u043e\u0442\u0435\u043b, \u0434\u043e\u0431\u0430\u0432\u0438\u043b \u043b\u0438\u0448\u043d\u0438\u0439 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442 \u043c\u0435\u0436\u0434\u0443 PostgREST \u0438 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u043e\u043c. \u0421\u043c\u0435\u043b\u043e \u0432\u044b\u0431\u0440\u0430\u0441\u044b\u0432\u0430\u0435\u043c \u044d\u0442\u043e\u0442 \u043a\u043e\u0434\/\u043f\u043e\u0434\u0445\u043e\u0434 \u0438 \u0434\u0432\u0438\u0436\u0438\u043c\u0441\u044f \u0434\u0430\u043b\u044c\u0448\u0435!<\/p>\n<h2>\u0414\u0435\u043b\u0430\u0435\u043c \u0432\u0441\u0435 \u0442\u043e \u0436\u0435, \u043d\u043e \u0431\u0435\u0437 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u0438 \u0442\u043e\u043b\u044c\u043a\u043e \u0432 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0435<\/h2>\n<p>Tabulator \u0441\u0434\u0435\u043b\u0430\u0435\u0442 \u0432\u0441\u044e \u043c\u0430\u0433\u0438\u044e \u0437\u0430 \u043d\u0430\u0441. \u041e\u043d \u043e\u0442\u043b\u0438\u0447\u043d\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043d\u0430 \u043d\u043e\u0443\u0442\u0431\u0443\u043a\u0435 \u0438 \u0432 \u043c\u043e\u0431\u0438\u043b\u044c\u043d\u043e\u043c \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0435, \u0438 \u0435\u0433\u043e \u043d\u0443\u0436\u043d\u043e \u043b\u0438\u0448\u044c \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e \u0441\u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0441 PostgREST API. <\/p>\n<p>\u041f\u0435\u0440\u0432\u043e\u0439 \u043f\u043e\u043f\u044b\u0442\u043a\u043e\u0439 \u0431\u044b\u043b\u043e \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u0437\u0430\u0434\u0430\u0447\u0438 \u043d\u0430 \u0430\u0434\u0430\u043f\u0442\u0430\u0446\u0438\u044e \u0435\u0433\u043e \u0434\u043b\u044f PostgREST \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043a\u043e\u043c\u044c\u044e\u043d\u0438\u0442\u0438 \u043f\u0440\u043e\u0435\u043a\u0442\u0430, \u043d\u043e <a href=\"https:\/\/github.com\/olifolkerd\/tabulator\/issues\/4284\" rel=\"noopener noreferrer nofollow\">\u0431\u0435\u0437\u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u043d\u043e<\/a>.<\/p>\n<p>\u041d\u0443 \u0447\u0442\u043e \u0436, \u0441\u0434\u0435\u043b\u0430\u0435\u043c \u0441\u0430\u043c\u0438. \u0415\u0433\u043e \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 ajaxURL, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u043e\u0434\u0433\u0440\u0443\u0436\u0430\u0435\u0442 \u0434\u0430\u043d\u043d\u044b\u0435 \u0441 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u043d\u0435 \u0441\u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0441 PostgREST \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u0432 \u043e\u0442\u0432\u0435\u0442\u0435 \u043e\u043d \u043e\u0436\u0438\u0434\u0430\u0435\u0442 JSON \u043e\u0431\u044a\u0435\u043a\u0442 c last_page &#8212; \u043d\u043e\u043c\u0435\u0440\u043e\u043c \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0439 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b \u0438 \u043c\u0430\u0441\u0441\u0438\u0432\u043e\u043c data, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u0441\u0430\u043c\u0438 \u0434\u0430\u043d\u043d\u044b\u0435.<\/p>\n<p>\u041d\u0430\u0448 \u0436\u0435 API \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442 \u0434\u0430\u043d\u043d\u044b\u0435 \u0432 \u0432\u0438\u0434\u0435 \u043c\u0430\u0441\u0441\u0438\u0432\u0430 \u0441\u0440\u0430\u0437\u0443 \u0438 \u043d\u0435 \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442 \u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u0442\u0440\u0430\u043d\u0438\u0446. \u041d\u043e \u043d\u0430\u043c \u044d\u0442\u043e \u0438 \u043d\u0435 \u043d\u0443\u0436\u043d\u043e, \u0432 \u043f\u0435\u0440\u0432\u043e\u043c \u043f\u0440\u0438\u0431\u043b\u0438\u0436\u0435\u043d\u0438\u0438, \u0442\u0430\u043a \u043a\u0430\u043a \u044d\u0442\u0430 \u0442\u0430 &#171;\u043a\u0440\u043e\u043b\u0438\u0447\u044c\u044f \u043d\u043e\u0440\u0430&#187; \u043f\u0440\u043e\u0432\u0430\u043b\u0438\u0432\u0448\u0438\u0441\u044c \u043a\u0443\u0434\u0430 \u043d\u0438\u043a\u043e\u0433\u0434\u0430 \u043d\u0435 \u0432\u0435\u0440\u043d\u0443\u0441\u044c \u043a \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u0437\u0430\u0434\u0430\u0447\u0435.<\/p>\n<p>\u041a \u0441\u043b\u043e\u0432\u0443, API \u0443\u043c\u0435\u0435\u0442 \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0442\u044c \u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u0442\u0440\u043e\u043a \u0432 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0435 \u043f\u043e \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u043c \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c\u0430\u043c. \u041d\u0443\u0436\u043d\u043e \u043b\u0438\u0448\u044c \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c HTTP Header:<\/p>\n<ul>\n<li>\n<p>Prefer: count=exact<\/p>\n<\/li>\n<li>\n<p>Prefer: count=planned<\/p>\n<\/li>\n<li>\n<p>Prefer: count=estimated<\/p>\n<\/li>\n<\/ul>\n<p>\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u043c\u043e\u0436\u043d\u043e \u0438\u0437\u0432\u043b\u0435\u0447\u044c \u0438\u0437 Content-Range \u0432 Response \u043f\u043e\u0441\u043b\u0435 &#171;\/&#187;. \u042f \u0436\u0435 \u043f\u043e\u0441\u0442\u0443\u043f\u0438\u043b \u0433\u043e\u0440\u0430\u0437\u0434\u043e \u043f\u0440\u043e\u0449\u0435 &#8212; \u0443\u0431\u0440\u0430\u043b \u043a\u043d\u043e\u043f\u043a\u0443 \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0430 \u043d\u0430 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u044e\u044e \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443.<\/p>\n<p>\u041f\u0440\u043e\u0434\u043e\u043b\u0436\u0430\u044e \u0440\u0430\u0437\u0431\u0438\u0440\u0430\u0442\u044c \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b: Tabulator \u043f\u0435\u0440\u0435\u0434\u0430\u0435\u0442 \u0432 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u043d\u043e\u043c\u0435\u0440 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b, \u0430 \u043c\u043d\u0435 \u044d\u0442\u043e \u043d\u0443\u0436\u043d\u043e \u043f\u0435\u0440\u0435\u0432\u0435\u0441\u0442\u0438 \u0438\u0445 \u0432 limit\/offset \u0434\u043b\u044f API. \u0414\u0435\u043b\u0430\u044e \u044d\u0442\u043e \u0432 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 ajaxURLGenerator \u0438 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 dataSendParams.<\/p>\n<p>\u041f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u0432 \u043d\u0443\u0436\u043d\u044b\u0439 \u0434\u043b\u044f \u0432\u0438\u0434\u0436\u0435\u0442\u0430 \u0444\u043e\u0440\u043c\u0430\u0442 \u0434\u0430\u043d\u043d\u044b\u0445 \u0441 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u0434\u0435\u043b\u0430\u044e \u043d\u0430 \u043a\u043b\u0438\u0435\u043d\u0442\u0435 \u0432 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u0434\u043b\u044f ajaxResponse.<\/p>\n<p>\u0418\u0442\u043e\u0433\u043e, \u0443 \u043c\u043e\u0435\u0439 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b \u0435\u0441\u0442\u044c \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b:<\/p>\n<ul>\n<li>\n<p><strong>postgrest_url<\/strong> \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u043d\u0430 PostgREST API. \u0415\u0441\u043b\u0438 \u043d\u0435 \u0443\u043a\u0430\u0437\u0430\u0442\u044c, \u0442\u043e \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u0431\u0443\u0434\u0435\u0442 &#171;\u0441\u0442\u0443\u0447\u0430\u0442\u044c\u0441\u044f&#187; \u043d\u0430 localhost:3000<\/p>\n<\/li>\n<li>\n<p><strong>endpoint<\/strong> &#8212; \u0442\u0430\u0431\u043b\u0438\u0446\u0430 \u0438\u043b\u0438 \u0432\u044c\u044e\u0448\u043a\u0430 \u0432 \u043f\u043e\u0441\u0442\u0433\u0440\u0435\u0441\u0435. \u0415\u0441\u043b\u0438 \u0435\u0435 \u043d\u0435 \u0443\u043a\u0430\u0437\u0430\u0442\u044c, \u0442\u043e \u043a\u043e\u0434 \u0437\u0430\u043f\u0440\u043e\u0441\u0438\u0442 \u0432\u0441\u0435 \u043f\u0443\u0442\u0438 endpoint \u0438\u0437 PostgREST, \u043e\u0442\u0444\u0438\u043b\u044c\u0442\u0440\u0443\u0435\u0442 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u0438 \u043c\u0435\u0442\u0430\u0434\u0430\u043d\u043d\u044b\u0435, \u0438 \u0432\u044b\u0434\u0430\u0441\u0442 \u0432\u0430\u043c \u0444\u043e\u0440\u043c\u0443 \u0441 \u0432\u044b\u0431\u043e\u0440\u043e\u043c endpoint. \u0423\u043a\u0430\u0436\u0438\u0442\u0435 \u0432 \u043f\u043e\u043b\u0435 select \u043a\u0430\u043a\u0443\u044e \u0442\u0430\u0431\u043b\u0438\u0446\u0443 \u0445\u043e\u0442\u0438\u0442\u0435 \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c, \u043f\u043e\u0441\u043b\u0435 &#171;\u041d\u0430\u0436\u043c\u0438 \u043d\u0430 \u043a\u043d\u043e\u043f\u043a\u0443 \u0438 \u043f\u043e\u043b\u0443\u0447\u0438\u0448\u044c \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442&#187;. <\/p>\n<\/li>\n<\/ul>\n<p> \u0414\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u043d\u0443\u0436\u0435\u043d\u0430 \u0432\u0430\u0448\u0430 \u0431\u0430\u0437\u0430 \u0434\u0430\u043d\u043d\u044b\u0445, \u0441\u0435\u0440\u0432\u0435\u0440 \u0434\u043b\u044f API PostgREST \u043a\u043e\u0442\u043e\u0440\u044b\u0439 &#171;\u0441\u043c\u043e\u0442\u0440\u0438\u0442&#187; \u043d\u0430 \u044d\u0442\u0443 \u0431\u0430\u0437\u0443, \u043b\u044e\u0431\u043e\u0439 \u0432\u0435\u0431 \u0441\u0435\u0440\u0432\u0435\u0440 \u043a\u0443\u0434\u0430 \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u043f\u043e\u043b\u043e\u0436\u0438\u0442\u044c \u044d\u0442\u0443 \u0441\u0442\u0440\u0430\u043d\u0438\u0447\u043a\u0443 ( \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u044e \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e<code>mvn jetty:run<\/code>). \u0415\u0441\u043b\u0438 \u0431\u044b \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u044b \u043d\u0435 \u0431\u043e\u0440\u043e\u043b\u0438\u0441\u044c \u0441 cross site scripting \u0438 \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u044c\u044e \u0432\u0430\u0448\u0438\u0445 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445, \u043a\u0430\u043a \u044d\u0442\u043e \u0431\u044b\u043b\u043e \u0440\u0430\u043d\u044c\u0448\u0435, \u0442\u043e \u0438 \u0432\u0435\u0431 \u0441\u0435\u0440\u0432\u0435\u0440 \u043d\u0435 \u0431\u044b\u043b \u0431\u044b \u043d\u0443\u0436\u0435\u043d \u0434\u043b\u044f \u0440\u0430\u0437\u0434\u0430\u0447\u0438 \u0441\u0442\u0430\u0442\u0438\u043a\u0438.<\/p>\n<h2>\u041a\u043e\u0434 PostgREST-Tabulator  <\/h2>\n<pre><code class=\"xml\">&lt;!DOCTYPE html> &lt;html xmlns=\"http:\/\/www.w3.org\/1999\/html\"> &lt;head>     &lt;link href=\"https:\/\/unpkg.com\/tabulator-tables@5.5.2\/dist\/css\/tabulator.min.css\" rel=\"stylesheet\">     &lt;script type=\"text\/javascript\" src=\"https:\/\/unpkg.com\/tabulator-tables@5.5.2\/dist\/js\/tabulator.min.js\">&lt;\/script> &lt;\/head> &lt;body> &lt;form id=\"endpoint_selector\" method=\"GET\" action=\"tables.html\" style=\"display:none\">     &lt;select id=\"endpoint\" name=\"endpoint\">&lt;\/select>     &lt;input id=\"postgrest_url\" name=\"postgrest_url\" type=\"hidden\" value=\"\">     &lt;input type=\"submit\" value=\"Show\"> &lt;\/form> &lt;div id=\"table-result\">&lt;\/div> &lt;script>      const params = new URLSearchParams(window.location.search);              const postgRestUrl = params.has('postgrest_url')?params.get('postgrest_url') :'http:\/\/localhost:3000';          async function fetchAndExtractPaths(postgRestUrl) {         try {             const response = await fetch(postgRestUrl);             if (!response.ok) {                 throw new Error(`Failed to fetch data from ${postgRestUrl}`);             }             const data = await response.json();             const paths = [];             if (data &amp;&amp; typeof data.paths==='object') {                     paths.push(...Object.keys(data.paths).filter(key => !key.startsWith('\/rpc') &amp;&amp; key!='\/' ));             }             return paths;         } catch (error) {             alert('Error:', error);             return [];         }     }           if (params.has('endpoint')) {         const endpoint = params.get('endpoint');         var table = new Tabulator(\"#table-result\", {             ajaxURL: postgRestUrl+endpoint,             pagination:true,             paginationMode:\"remote\",             dataSendParams:{                 \"size\" : \"limit\"              } ,              ajaxURLGenerator:function(url, config, params){                 let sortParam = '';                 if (params.sort &amp;&amp; params.sort.length > 0) {                   sortParam = '&amp;order='+params.sort.map(sorter => `${sorter.field}.${sorter.dir}`).join(',');                 }                 return url + (url.includes(\"?\")?\"&amp;\":\"?\") + \"limit=\" + params.limit+\"&amp;offset=\" + params.limit*(params.page-1) + sortParam;              },              ajaxResponse: function (url, params, response) {                 document.querySelector(\".tabulator-footer .tabulator-page[data-page='last']\").style.display = \"none\";                 return {                   last_page: 10000000000,                   data: response                 };               },               autoColumns:true,               paginationSize: 35,               sortMode: 'remote',               filterMode:'remote',               ajaxSorting: true,               ajaxFiltering: true         });     } else {         fetchAndExtractPaths(postgRestUrl)         .then(paths => {                 const container = document.getElementById('endpoint');                 paths.forEach(path => {                     const optionElement = document.createElement('option');                     optionElement.setAttribute('option',path);                     optionElement.textContent = path;                     container.appendChild(optionElement);                 });                 document.getElementById(\"endpoint_selector\").style.display = 'block';                 document.getElementById(\"postgrest_url\").value = postgRestUrl;         });     } &lt;\/script> &lt;\/body> &lt;\/html><\/code><\/pre>\n<p>PostgREST \u044f \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u044e \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e \u0432 Docker:<\/p>\n<pre><code class=\"bash\">docker run --name postgrest --net=host -e PGRST_DB_URI=\"postgres:\/\/USER:PASSWORD@127.0.0.1:5432\/DATABASE\" -e PGRST_DB_ANON_ROLE=\"YOUR_ROLE\" postgrest\/postgrest:v11.2.0<\/code><\/pre>\n<p>PostgreSQL \u0441 \u0434\u0430\u043d\u043d\u044b\u043c\u0438 \u0443 \u043c\u0435\u043d\u044f \u0442\u043e\u0436\u0435 \u0437\u0430\u043f\u0443\u0449\u0435\u043d \u0432 Docker \u043e\u0431\u0440\u0430\u0437\u0435, \u043a\u0430\u043a \u044f \u0443\u0436\u0435 \u0440\u0430\u0441\u0441\u043a\u0430\u0437\u044b\u0432\u0430\u043b <a href=\"https:\/\/habr.com\/ru\/articles\/714326\/\" rel=\"noopener noreferrer nofollow\">\u043d\u0430 \u0445\u0430\u0431\u0440\u0435.<\/a><\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/28c\/b7f\/53a\/28cb7f53aef45e601e7eadf9002a5b31.png\" alt=\"\u0412\u044b\u0431\u043e\u0440 endpoint (\u0442\u0430\u0431\u043b\u0438\u0446\u044b)\" title=\"\u0412\u044b\u0431\u043e\u0440 endpoint (\u0442\u0430\u0431\u043b\u0438\u0446\u044b)\" width=\"684\" height=\"327\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/28c\/b7f\/53a\/28cb7f53aef45e601e7eadf9002a5b31.png\"\/><\/p>\n<div><figcaption>\u0412\u044b\u0431\u043e\u0440 endpoint (\u0442\u0430\u0431\u043b\u0438\u0446\u044b)<\/figcaption><\/div>\n<\/figure>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/875\/904\/651\/875904651c9d0bebc5ed48a6f98a9bc1.png\" alt=\"\u0418 \u0434\u0430\u043d\u043d\u044b\u0435 \u0434\u043b\u044f \u044d\u0442\u043e\u0439 \u0442\u0430\u0431\u043b\u0438\u0446\u044b\" title=\"\u0418 \u0434\u0430\u043d\u043d\u044b\u0435 \u0434\u043b\u044f \u044d\u0442\u043e\u0439 \u0442\u0430\u0431\u043b\u0438\u0446\u044b\" width=\"962\" height=\"1035\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/875\/904\/651\/875904651c9d0bebc5ed48a6f98a9bc1.png\"\/><\/p>\n<div><figcaption>\u0418 \u0434\u0430\u043d\u043d\u044b\u0435 \u0434\u043b\u044f \u044d\u0442\u043e\u0439 \u0442\u0430\u0431\u043b\u0438\u0446\u044b<\/figcaption><\/div>\n<\/figure>\n<p>\u0427\u0442\u043e \u0435\u0449\u0435 \u043c\u043e\u0436\u043d\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c, \u043f\u043e\u043a\u0430 \u043d\u0435 \u0432\u044b\u0448\u043b\u043e \u0443\u043d\u0438\u0432\u0435\u0440\u0441\u0430\u043b\u044c\u043d\u043e &#8212; \u0432 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438 \u043e\u0442 \u0442\u0438\u043f\u043e\u0432 \u0434\u0430\u043d\u043d\u044b\u0445 \u043c\u0435\u043d\u044f\u0442\u044c \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435 \u0432 \u043a\u043e\u043b\u043e\u043d\u043a\u0430\u0445. <\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/d27\/e92\/807\/d27e928072473b027d89d705c0c12856.png\" alt=\"\u0425\u0430\u0440\u0434\u043a\u043e\u0434, \u0442\u0430\u043a\u043e\u0439 \u0445\u0430\u0440\u0434\u043a\u043e\u0434 \u0434\u043b\u044f \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u0440\u0435\u0439\u0442\u0438\u043d\u0433\u0430 \u0438 \u0441\u0441\u044b\u043b\u043e\u043a \u0432 \u0442\u0430\u0431\u043b\u0438\u0446\u0435! \u041f\u043e\u0442\u043e\u043c\u0443 \u043a\u043e\u0434\u0430 \u043d\u0435 \u0431\u0443\u0434\u0435\u0442 \u0432 \u043f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u0438\" title=\"\u0425\u0430\u0440\u0434\u043a\u043e\u0434, \u0442\u0430\u043a\u043e\u0439 \u0445\u0430\u0440\u0434\u043a\u043e\u0434 \u0434\u043b\u044f \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u0440\u0435\u0439\u0442\u0438\u043d\u0433\u0430 \u0438 \u0441\u0441\u044b\u043b\u043e\u043a \u0432 \u0442\u0430\u0431\u043b\u0438\u0446\u0435! \u041f\u043e\u0442\u043e\u043c\u0443 \u043a\u043e\u0434\u0430 \u043d\u0435 \u0431\u0443\u0434\u0435\u0442 \u0432 \u043f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u0438\" width=\"869\" height=\"909\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/d27\/e92\/807\/d27e928072473b027d89d705c0c12856.png\"\/><\/p>\n<div><figcaption>\u0425\u0430\u0440\u0434\u043a\u043e\u0434, \u0442\u0430\u043a\u043e\u0439 \u0445\u0430\u0440\u0434\u043a\u043e\u0434 \u0434\u043b\u044f \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u0440\u0435\u0439\u0442\u0438\u043d\u0433\u0430 \u0438 \u0441\u0441\u044b\u043b\u043e\u043a \u0432 \u0442\u0430\u0431\u043b\u0438\u0446\u0435! \u041f\u043e\u0442\u043e\u043c\u0443 \u043a\u043e\u0434\u0430 \u043d\u0435 \u0431\u0443\u0434\u0435\u0442 \u0432 \u043f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u0438<\/figcaption><\/div>\n<\/figure>\n<h2>\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442<\/h2>\n<p>\u041f\u043e\u043b\u0443\u0447\u0430\u0435\u0442\u0441\u044f \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0435 \u0442\u0430\u0431\u043b\u0438\u0446 \u043d\u0430 \u0441\u043e\u0442\u043d\u0438 \u0433\u0438\u0433\u0430\u0431\u0430\u0439\u0442 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043f\u043e\u0441\u0442\u0440\u0430\u043d\u0438\u0447\u043d\u043e\u0439 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u0441 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c\u044e \u0441\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u043a\u0438 \u0432 \u0431\u0430\u0437\u0435 \u0434\u0430\u043d\u043d\u044b\u0445. <\/p>\n<p>\u0418 \u0441\u0430\u043c\u043e\u0435 \u0433\u043b\u0430\u0432\u043d\u043e\u0435, \u0447\u0442\u043e \u0432 \u043e\u0431\u0441\u0443\u0436\u0434\u0435\u043d\u0438\u0438 \u043e \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438 \u043c\u044b \u0444\u043e\u043a\u0443\u0441\u0438\u0440\u0443\u0435\u043c\u0441\u044f \u043d\u0430 \u0441\u0430\u043c\u0438\u0445 \u0431\u0438\u0437\u043d\u0435\u0441 \u0434\u0430\u043d\u043d\u044b\u0445 \u0438 \u043c\u0435\u0442\u043e\u0434\u0430\u0445 \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u0431\u0430\u0437\u044b \u043a \u043d\u0438\u043c, \u0430 \u043d\u0435 \u043d\u0430 \u0442\u044e\u043d\u0438\u043d\u0433\u0435 GC, \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0430\u0446\u0438\u0438 \u0441\u0435\u0440\u0438\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u0432 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0438, \u043d\u0435 \u043e \u043a\u043b\u0430\u0441\u0442\u0435\u0440\u0438\u0437\u0430\u0446\u0438\u0438 \u0441\u0435\u0440\u0432\u0435\u0440\u043e\u0432 \u0438 \u0434\u0430\u0436\u0435 \u043d\u0435 \u043e \u043c\u043e\u043d\u0438\u0442\u043e\u0440\u0438\u043d\u0433\u0435 \u043a\u0435\u0448\u0435\u0439 Hazelcast, Ingnite, Coherence, \u043e\u0440\u043a\u0435\u0441\u0442\u0440\u0430\u0446\u0438\u0438 \u043c\u0438\u043a\u0440\u043e\u0441\u0435\u0440\u0432\u0438\u0441\u043e\u0432 \u0438 \u043c\u043d\u043e\u0433\u043e \u0435\u0449\u0435 \u0447\u0435\u0433\u043e. \u0422\u043e \u0435\u0441\u0442\u044c \u043c\u044b \u0431\u043b\u0438\u0436\u0435 \u043a \u0440\u0435\u0448\u0435\u043d\u0438\u044e \u0437\u0430\u0434\u0430\u0447\u0438, \u0447\u0435\u043c \u043a \u0437\u043e\u043e\u043f\u0430\u0440\u043a\u0443 \u0442\u0435\u0445\u043d\u043e\u043b\u043e\u0433\u0438\u0439 \u0432 MVP. \u041d\u0430 \u043d\u0430\u0447\u0430\u043b\u044c\u043d\u043e\u043c \u044d\u0442\u0430\u043f\u0435 \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0433\u0440\u0430\u043c\u043e\u0442\u043d\u043e\u0439 \u0440\u0430\u0431\u043e\u0442\u044b \u0441 \u0431\u0430\u0437\u043e\u0439 \u0434\u0430\u043d\u043d\u044b\u0445. \u0418 \u043e\u0442\u043a\u043b\u0430\u0434\u044b\u0432\u0430\u0435\u043c \u0441\u0430\u043c\u044b\u0435 \u0432\u0430\u0436\u043d\u044b\u0435 \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u043d\u044b\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u044f \u0438 \u0442\u0440\u0443\u0434\u043e\u0437\u0430\u0442\u0440\u0430\u0442\u044b \u043d\u0430 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0443 \u043d\u0430 \u043f\u043e\u0442\u043e\u043c, \u043a\u043e\u0433\u0434\u0430 \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u043c \u0447\u0442\u043e \u0432 \u0440\u0435\u0448\u0435\u043d\u0438\u0438 \u0437\u0430\u0434\u0430\u0447\u0438 \u0435\u0441\u0442\u044c \u0446\u0435\u043d\u043d\u043e\u0441\u0442\u044c.<\/p>\n<p>\u0423 \u043c\u0435\u043d\u044f \u043d\u0435\u0442 \u043f\u043b\u0430\u043d\u043e\u0432 \u043d\u0430 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u0438\u043b\u0438 \u043d\u0430 \u0440\u0430\u0437\u0432\u0438\u0442\u0438\u0435 \u044d\u0442\u043e\u0433\u043e \u043a\u0430\u043a low code\/no code \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u044b. \u0421\u0432\u043e\u044e \u0437\u0430\u0434\u0430\u0447\u0443 \u044f \u0440\u0435\u0448\u0430\u044e \u0431\u044b\u0441\u0442\u0440\u043e. \u0412\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u043a\u043e\u043c\u0443-\u043d\u0438\u0431\u0443\u0434\u044c \u0435\u0449\u0435, \u043a\u0442\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 PostgreSQL \u0438 \u043d\u0435 \u0444\u0440\u043e\u043d\u0442\u044d\u043d\u0434 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a, \u044d\u0442\u043e\u0442 \u043e\u043f\u044b\u0442 \u043f\u043e\u043c\u043e\u0436\u0435\u0442 \u0434\u043b\u044f \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438 \u0438\u0434\u0435\u0438 \u0438\u043b\u0438 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f &#171;\u0430\u0434\u043c\u0438\u043d\u043a\u0438&#187; \u043a \u0431\u0430\u0437\u0435 \u0434\u043b\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439 \u0432\u043d\u0443\u0442\u0440\u0438 \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u0438. <\/p>\n<\/p>\n<\/div>\n<\/div>\n<\/div>\n<p><!----><!----><\/div>\n<p><!----><!----><br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/articles\/757990\/\"> https:\/\/habr.com\/ru\/articles\/757990\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div><!--[--><!--]--><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<p>\u0412 \u043f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u044f\u0445 \u043d\u0430 \u0445\u0430\u0431\u0440\u0435, \u0447\u0430\u0449\u0435 \u0432\u0441\u0435\u0433\u043e \u0441\u0430\u043c\u043e\u0435 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e\u0435 \u0432 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u044f\u0445. \u0412\u043e\u0442 \u0438 \u0432 \u043c\u043e\u0435\u043c \u043f\u0440\u043e\u0448\u043b\u043e\u043c \u043f\u043e\u0441\u0442\u0435 <a href=\"https:\/\/habr.com\/ru\/articles\/756544\/\" rel=\"noopener noreferrer nofollow\">&#171;\u0421\u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c web \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 \u0438\u0437 \u0411\u0414 \u0438\u043b\u0438 \u043e\u0431\u044a\u0435\u043a\u0442\u043d\u043e\u0439 \u043c\u043e\u0434\u0435\u043b\u0438 \u043d\u0435 \u0441\u0442\u0430\u043b\u043e \u043f\u0440\u043e\u0449\u0435 \u0434\u0430\u0436\u0435 10 \u043b\u0435\u0442 \u0441\u043f\u0443\u0441\u0442\u044f&#187;<\/a> \u044f \u0441\u043e\u0431\u0440\u0430\u043b \u0434\u0436\u0435\u043a\u043f\u043e\u0442 \u0438\u0437 SharePoint, Vaadin \u0438 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u0445 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a \u043b\u0438\u0431\u043e \u0443\u0441\u0442\u0430\u0440\u0435\u0432\u0448\u0438\u0445, \u043b\u0438\u0431\u043e \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u043c\u044b\u0445 &#171;\u043e\u0434\u043d\u0438\u043c \u0430\u0432\u0442\u043e\u0440\u043e\u043c&#187;.<\/p>\n<p>\u0427\u0442\u043e \u044f \u043f\u044b\u0442\u0430\u043b\u0441\u044f \u043e\u0431\u044a\u044f\u0441\u043d\u0438\u0442\u044c \u0447\u0438\u0442\u0430\u0442\u0435\u043b\u044f\u043c, \u0447\u0442\u043e \u043d\u0430 \u044d\u0442\u0430\u043f\u0435 \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438 \u0438\u0434\u0435\u0439 \u043d\u0435 \u043d\u0443\u0436\u043d\u0430 \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u0430\u044f \u0441\u043b\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0432 \u0432\u0438\u0434\u0435 \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u043e\u0432, \u0441\u0435\u0440\u0432\u0435\u0440\u043d\u043e\u0439 \u0438\u043d\u0444\u0440\u0430\u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u044b \u0442\u043e\u043b\u044c\u043a\u043e \u0440\u0430\u0434\u0438 \u044d\u0442\u043e\u0439 \u0441\u0430\u043c\u043e\u0439 \u0438\u043d\u0444\u0440\u0430\u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u044b \u0438 \u043d\u043e\u0432\u043e\u0433\u043e \u044f\u0437\u044b\u043a\u0430 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f\/\u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u044b. \u0418\u043c\u0435\u043d\u043d\u043e \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043c\u043d\u0435 \u043d\u0435 \u043d\u0443\u0436\u043d\u044b \u0441\u0435\u0439\u0447\u0430\u0441 Yii, Symfony \u0438 Laravel, \u043d\u0435 \u043f\u043e\u0434\u043e\u0439\u0434\u0435\u0442 ADF. \u041d\u0430 \u043b\u044e\u0431\u043e\u0435 \u043e\u0431\u0443\u0447\u0435\u043d\u0438\u0435 \u0442\u0440\u0430\u0442\u0438\u0442\u0441\u044f \u0434\u0440\u0430\u0433\u043e\u0446\u0435\u043d\u043d\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u0438 \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043d\u0430\u0434\u043e \u043f\u043e\u043d\u0438\u043c\u0430\u0442\u044c \u0437\u0430\u0447\u0435\u043c \u0442\u0440\u0430\u0442\u0438\u0442\u044c \u0432\u0440\u0435\u043c\u044f \u043d\u0430 \u0447\u0442\u043e-\u0442\u043e, \u0447\u0442\u043e \u043f\u043e\u0442\u043e\u043c \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u043d\u0430\u0432\u0441\u0435\u0433\u0434\u0430 \u043f\u0440\u0438\u0434\u0435\u0442\u0441\u044f \u0437\u0430\u0431\u044b\u0442\u044c \u0447\u0435\u0440\u0435\u0437 \u043d\u0435\u0434\u0435\u043b\u044e-\u0434\u0440\u0443\u0433\u0443\u044e \u0438\u0433\u0440\u044b \u0441 \u043f\u0440\u043e\u0442\u043e\u0442\u0438\u043f\u043e\u043c.<\/p>\n<p>\u0412 \u0441\u0432\u043e\u0438\u0445 \u044d\u043a\u0441\u043f\u0435\u0440\u0435\u043c\u0435\u043d\u0442\u0430\u0445 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043b\u0430\u043f\u0448\u0435\u043a\u043e\u0434\u0430 \u043d\u0430 JavaScript \u044f \u0431\u044b\u0441\u0442\u0440\u043e \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0430\u043b \u0432\u043f\u043e\u043b\u043d\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u044b\u0439 (\u0434\u043b\u044f \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438 \u0438\u0434\u0435\u0438) \u043d\u043e \u043f\u0440\u0438 \u044d\u0442\u043e\u043c \u043d\u0435 \u0434\u0440\u0443\u0436\u0435\u043b\u044e\u0431\u043d\u044b\u0439 \u043a \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044e \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441. \u041a\u0430\u043a \u043f\u0440\u0438\u043c\u0435\u0440, \u043e\u0434\u0438\u043d \u0438\u0437 \u043c\u043e\u0438\u0445 \u044d\u043a\u0440\u0430\u043d\u043e\u0432:<\/p>\n<figure class=\"full-width\"><\/figure>\n<p>\u041f\u0440\u0438 \u044d\u0442\u043e\u043c \u0432\u0441\u0435 \u044d\u0442\u043e \u0432\u0440\u0435\u043c\u044f \u044f \u043d\u0435 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043b backend \u0441\u043e\u0432\u0441\u0435\u043c. \u0412\u0441\u0435 \u0447\u0442\u043e \u0435\u0441\u0442\u044c \u0432 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0438 &#8212; \u044d\u0442\u043e \u043d\u0430\u0431\u043e\u0440 \u0441\u0442\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0445 \u0444\u0430\u0439\u043b\u043e\u0432 \u043d\u0430 http \u0441\u0435\u0440\u0432\u0435\u0440\u0435 jetty, \u0438 PostgREST \u0434\u043b\u044f \u043f\u0440\u0435\u0432\u0440\u0430\u0449\u0435\u043d\u0438\u044f \u0431\u0430\u0437\u044b \u0434\u0430\u043d\u043d\u044b\u0445 PostgreSQL \u0432 \u0441\u0435\u0440\u0432\u0438\u0441 Open API \u0438 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043d\u043e\u0432\u044b\u0445 \u0445\u0440\u0430\u043d\u0438\u043c\u044b\u0445 \u0444\u0443\u043d\u043a\u0446\u0438\u0439 \u0432 \u0431\u0430\u0437\u0435 \u0434\u0430\u043d\u043d\u044b\u0445 \u0434\u043b\u044f \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430. <\/p>\n<details class=\"spoiler\">\n<summary>\u0418 jetty \u043f\u043e \u0445\u043e\u0440\u043e\u0448\u0435\u043c\u0443 \u0437\u0434\u0435\u0441\u044c \u0431\u044b\u043b \u0431\u044b \u043b\u0438\u0448\u043d\u0438\u0439, \u0435\u0441\u043b\u0438 \u0431\u044b \u043d\u0435&#8230;<\/summary>\n<div class=\"spoiler__content\">\n<p>\u0415\u0441\u043b\u0438 \u0431\u044b PostgREST \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u043b \u043e\u0442\u0434\u0430\u0432\u0430\u0442\u044c \u0441\u0442\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0435 HTML \u0438 \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0438. \u0412\u0435\u0434\u044c \u043a\u043e\u0433\u0434\u0430 \u044f \u043f\u044b\u0442\u0430\u043b\u0441\u044f \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u0441\u0442\u0440\u0430\u043d\u0438\u0447\u043a\u0443 \u0438\u0437 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e\u0439 \u043f\u0430\u043f\u043a\u0438, \u0432\u0437\u0430\u0438\u043c\u043e\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435 \u0441 PostgREST \u043d\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u0442 \u0438\u0437-\u0437\u0430 \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u0439 \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u0438 \u0432 \u0441\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430\u0445. <\/p>\n<\/div>\n<\/details>\n<h2>\u0427\u0435\u043c \u044f \u043c\u043e\u0433\u0443 \u043f\u043e\u0434\u0435\u043b\u0438\u0442\u044c\u0441\u044f \u0438 \u0447\u0442\u043e \u0431\u0443\u0434\u0435\u0442 \u043f\u043e\u043b\u0435\u0437\u043d\u043e \u0432\u0430\u043c<\/h2>\n<p>\u0427\u0442\u043e \u0438\u0437 \u043c\u043e\u0435\u0433\u043e \u043e\u043f\u044b\u0442\u0430 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438 &#171;\u043d\u0430 \u043a\u043e\u043b\u0435\u043d\u043a\u0435&#187; \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u043f\u043e\u043b\u0435\u0437\u043d\u043e \u0431\u044d\u043a\u044d\u043d\u0434\u0435\u0440\u0430\u043c, \u043a\u0442\u043e \u0445\u043e\u0447\u0435\u0442 \u0431\u044b\u0442\u0440\u043e \u043f\u043e\u043a\u0430\u0437\u0430\u0442\u044c \u0442\u0430\u0431\u043b\u0438\u0447\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 \u0438\u0437 PostgreSQL? <\/p>\n<p>\u041f\u0435\u0440\u0435\u0441\u043c\u043e\u0442\u0440\u0435\u0432 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a \u043d\u0430 GitHub \u0434\u043b\u044f \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u0442\u0430\u0431\u043b\u0438\u0446 \u044f \u043e\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043b\u0441\u044f \u0434\u043b\u044f \u0441\u0435\u0431\u044f \u043d\u0430 <a href=\"https:\/\/github.com\/olifolkerd\/tabulator\" rel=\"noopener noreferrer nofollow\">Tabulator<\/a> \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0438\u0437 \u043a\u043e\u0440\u043e\u0431\u043a\u0438 \u0443\u043c\u0435\u0435\u0442 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u0442\u044c \u0442\u0430\u0431\u043b\u0438\u0446\u044b \u0441 \u0441\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u043a\u043e\u0439, \u0444\u0438\u043b\u044c\u0442\u0440\u0430\u0446\u0438\u0435\u0439 \u0438 \u0440\u0430\u0437\u0431\u0438\u0432\u043a\u043e\u0439 \u043d\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b, \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0440\u0430\u0441\u043f\u043e\u0437\u043d\u0430\u0435\u0442 \u0442\u0438\u043f\u044b \u043a\u043e\u043b\u043e\u043d\u043e\u043a, <a href=\"https:\/\/tabulator.info\/docs\/5.5\" rel=\"noopener noreferrer nofollow\">\u0441 \u043e\u0442\u043b\u0438\u0447\u043d\u043e\u0439 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0435\u0439<\/a>, \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u043e\u0439 \u0434\u043b\u044f \u043f\u043e\u043d\u0438\u043c\u0430\u043d\u0438\u044f \u043d\u0435 \u0444\u0440\u043e\u043d\u0442\u044d\u043d\u0434\u0435\u0440\u043e\u043c. \u0410 \u0442\u0430\u043a\u0436\u0435 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0431\u044b\u0441\u0442\u0440\u043e \u0434\u0435\u043b\u0430\u0442\u044c \u043f\u0440\u043e\u0442\u043e\u0442\u0438\u043f, \u0440\u0430\u0437\u0440\u0435\u0448\u0430\u044f \u043d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0442\u044c \u0442\u0438\u043f\u044b \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u043f\u043e\u043b\u044f \u0434\u0430\u0436\u0435 \u0432 \u0440\u0435\u0436\u0438\u043c\u0435  \u0430\u0432\u0442\u043e\u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u044f.<\/p>\n<h2>\u041f\u043e\u043f\u044b\u0442\u043a\u0430 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043d\u0430 Java 21<\/h2>\n<p>\u0417\u0430 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043c\u0438\u043d\u0443\u0442( \u043d\u0435 \u0443\u0447\u0438\u0442\u044b\u0432\u0430\u044f \u0432\u0440\u0435\u043c\u044f \u0447\u0442\u0435\u043d\u0438\u044f \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438) \u044f \u043d\u0430\u0431\u0440\u043e\u0441\u0430\u043b \u043f\u0440\u043e\u0442\u043e\u0442\u0438\u043f \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0432\u0441\u0435 \u0442\u0430\u0431\u043b\u0438\u0446\u044b \u0432 \u0431\u0430\u0437\u0435 \u0434\u0430\u043d\u043d\u044b\u0445. \u0418 \u0441\u0434\u0435\u043b\u0430\u043b \u044d\u0442\u043e \u044f \u043d\u0430 Java \u0435\u0449\u0435 \u043d\u0435 \u0432\u044b\u043f\u0443\u0449\u0435\u043d\u043d\u043e\u0439 \u0432\u0435\u0440\u0441\u0438\u0438 21 \u0438 \u043f\u043e\u0442\u043e\u043c \u0435\u0449\u0435 \u043c\u0438\u043d\u0443\u0442 \u0434\u0435\u0441\u044f\u0442\u044c \u043f\u044b\u0442\u0430\u043b\u0441\u044f \u0435\u0433\u043e \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c, \u0440\u0430\u0437\u044b\u0441\u043a\u0438\u0432\u0430\u044f \u0433\u0434\u0435 \u0432 \u043d\u043e\u0432\u043e\u0439 \u0434\u043b\u044f \u043c\u0435\u043d\u044f \u0432\u0435\u0440\u0441\u0438\u0438 IntelliJ Idea CE \u0438 \u0432 \u0441\u0442\u0430\u0440\u043e\u0439 \u0432\u0435\u0440\u0441\u0438\u0438 maven \u043c\u0435\u0441\u0442\u043e \u043a\u0443\u0434\u0430 \u0436\u0435 \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u044d\u043a\u0441\u043f\u0435\u0440\u0435\u043c\u0435\u043d\u0442\u0430\u043b\u044c\u043d\u044b\u0439 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 JDK <strong>enablePreview<\/strong>. <\/p>\n<p>\u0427\u0435\u0441\u0442\u043d\u043e\u0435 \u0441\u043b\u043e\u0432\u043e, \u044d\u0442\u043e \u043f\u0440\u0438\u0432\u044b\u0447\u043a\u0430 \u043d\u0430 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0437\u043c\u0435 \u0440\u0430\u0437\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0442\u044c \u0441 \u0437\u0430\u0434\u0435\u043b\u043e\u043c \u043d\u0430 \u0431\u0443\u0434\u0443\u0449\u0435\u0435, \u0447\u0442\u043e\u0431\u044b \u043a\u043e\u0433\u0434\u0430-\u043d\u0438\u0431\u0443\u0434\u044c \u0440\u0430\u0437\u0431\u0438\u0440\u0430\u0442\u044c \u043c\u0435\u0442\u0430\u0434\u0430\u043d\u043d\u044b\u0435 PostgreSQL \u0438 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0438 \u043a \u043e\u0431\u044a\u0435\u043a\u0442\u0430\u043c \u0411\u0414, \u0432\u0441\u0435 \u0442\u043e \u0447\u0442\u043e \u043d\u0435 \u044d\u043a\u0441\u043f\u043e\u0440\u0442\u0438\u0440\u0443\u0435\u0442 PostgREST. \u041f\u043e\u0448\u0435\u043b \u0437\u0430\u0432\u0430\u0440\u0438\u0442\u044c \u0447\u0430\u0439 \u0438 \u043f\u043e\u0434\u0443\u043c\u0430\u043b \u0434\u043e\u0431\u0435\u0440\u0443\u0441\u044c \u043b\u0438 \u044f \u0434\u043e \u044d\u0442\u0438\u0445 \u043c\u0435\u0442\u0430\u0434\u0430\u043d\u043d\u044b\u0445 \u043f\u043e\u0441\u0442\u0433\u0440\u0435\u0441\u0430 \u0438 \u043a\u043e\u0433\u0434\u0430, \u0447\u0442\u043e \u0432\u0441\u0435 \u044d\u0442\u043e \u0442\u043e\u0436\u0435 \u043b\u0438\u0448\u043d\u0435\u0435, \u043d\u0435 \u043d\u0443\u0436\u0435\u043d \u0442\u0443\u0442 overengineering \u0438 \u043d\u0430\u0434\u043e \u043f\u0435\u0440\u0435\u043f\u0438\u0441\u0430\u0442\u044c  \u043d\u0430 HTML+JavaScript.<\/p>\n<p>\u041e\u0449\u0443\u0449\u0435\u043d\u0438\u044f \u0447\u0442\u043e \u0441 Servlet API 5.0 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0430 \u0441\u0442\u0430\u043b\u0430 \u043f\u0440\u043e\u0449\u0435 \u0438 \u0431\u0435\u0437 web.xml, \u0430 String Templates \u0438\u0437 JDK 21 \u0441\u0434\u0435\u043b\u0430\u044e\u0442 \u043a\u043e\u0434 \u0431\u043e\u043b\u0435\u0435 \u0447\u0438\u0442\u0430\u0435\u043c\u044b\u043c \u0438 \u0432 \u043f\u0440\u043e\u0441\u0442\u044b\u0445 \u0441\u043b\u0443\u0447\u0430\u044f\u0445 \u0438\u0437\u0431\u0430\u0432\u043b\u044f\u044e\u0442 \u043e\u0442 \u043d\u0430\u0434\u043e\u0431\u043d\u043e\u0441\u0442\u0438 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u0432\u043d\u0435\u0448\u043d\u0435\u0433\u043e \u0434\u0432\u0438\u0436\u043a\u0430 \u0448\u0430\u0431\u043b\u043e\u043d\u0438\u0437\u0430\u0446\u0438\u0438 Apache Velocity:<\/p>\n<details class=\"spoiler\">\n<summary>\u0414\u043b\u044f \u043b\u044e\u0431\u043e\u043f\u044b\u0442\u043d\u044b\u0445 \u043f\u043e\u0434 \u0441\u043f\u043e\u0439\u043b\u0435\u0440\u043e\u043c \u043d\u043e\u0432\u044b\u0439 Java \u0441\u0435\u0440\u0432\u043b\u0435\u0442 \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0431\u043e\u043b\u044c\u0448\u0435 \u043d\u0435 \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u0438\u0442\u0441\u044f:<\/summary>\n<div class=\"spoiler__content\">\n<pre><code class=\"java\">package com.github.com.github.isuhorukov.postgrest.crud;  import jakarta.servlet.annotation.WebServlet; import jakarta.servlet.http.HttpServlet; import jakarta.servlet.http.HttpServletRequest; import jakarta.servlet.http.HttpServletResponse;  import java.io.IOException; import java.net.URI; import java.net.http.HttpClient; import java.net.http.HttpRequest; import java.net.http.HttpResponse; import java.util.ArrayList; import java.util.Collections; import java.util.Iterator; import java.util.List;  import com.fasterxml.jackson.databind.JsonNode; import com.fasterxml.jackson.databind.ObjectMapper;   import static java.lang.StringTemplate.STR;  @WebServlet(\"\/table\") public class TableServlet extends HttpServlet {      @Override     protected void doGet(HttpServletRequest request, HttpServletResponse response) throws IOException {         String endpoint = request.getParameter(\"endpoint\");         if(endpoint==null || endpoint.isBlank()){             List&lt;String> postgRestAvailablePaths = getPostgRestAvailablePaths();             String options = postgRestAvailablePaths.stream().map(path ->                     STR. \"\"\"                                     &lt;option value=\"\\{path}\">\\{path}&lt;\/option>                                 \"\"\").collect(Collectors.joining(\"\\n\"));             response.getWriter().append(STR.\"\"\"                     &lt;!DOCTYPE html>                     &lt;html xmlns=\"http:\/\/www.w3.org\/1999\/html\">                         &lt;head>                         &lt;\/head>                         &lt;body>                             &lt;form method=\"GET\" action=\"\/table\">                                 &lt;select name=\"endpoint\">\\{options}&lt;\/select>                                 &lt;input type=\"submit\" value=\"Show\">                             &lt;\/form>                         &lt;\/body>                     &lt;\/html>                     \"\"\");             response.setStatus(HttpServletResponse.SC_BAD_REQUEST);             return;         }         response.getWriter().append(STR.\"\"\"             &lt;!DOCTYPE html>             &lt;html xmlns=\"http:\/\/www.w3.org\/1999\/html\">                 &lt;head>                     &lt;link href=\"https:\/\/unpkg.com\/tabulator-tables@5.5.2\/dist\/css\/tabulator.min.css\" rel=\"stylesheet\">                     &lt;script type=\"text\/javascript\" src=\"https:\/\/unpkg.com\/tabulator-tables@5.5.2\/dist\/js\/tabulator.min.js\">&lt;\/script>                 &lt;\/head>                 &lt;body>                     &lt;div id=\"table-result\">&lt;\/div>                     &lt;script>                         var table = new Tabulator(\"#table-result\", {                             ajaxURL: '\\{endpoint}',                             pagination:true,                             paginationMode:\"remote\",                             dataSendParams:{                                 \"size\" : \"limit\" \/\/rename page request parameter to \"limit\"                              } ,                              ajaxURLGenerator:function(url, config, params){                                 let sortParam = '';                                 if (params.sort &amp;&amp; params.sort.length > 0) {                                   sortParam = '&amp;order='+params.sort.map(sorter => `${sorter.field}.${sorter.dir}`).join(',');                                 }                                 return url + (url.includes(\"?\")?\"&amp;\":\"?\") + \"limit=\" + params.limit+\"&amp;offset=\" + params.limit*(params.page-1) + sortParam;                              },                              ajaxResponse: function (url, params, response) {                                 document.querySelector(\".tabulator-footer .tabulator-page[data-page='last']\").style.display = \"none\";                                 return {                                   last_page: 10000000000,                                   data: response                                 };                               },                               autoColumns:true,                               paginationSize: 35,                               sortMode: 'remote',                               filterMode:'remote',                               ajaxSorting: true,                               ajaxFiltering: true                         });                     &lt;\/script>                 &lt;\/body>             &lt;\/html>\"\"\");     }      List&lt;String> getPostgRestAvailablePaths() {         String postgRestUrl = System.getenv(\"postgrest_url\");         if(postgRestUrl==null || postgRestUrl.isBlank()){             throw new IllegalArgumentException(\"Please provide PostgREST \/ endpoint in environment variable: postgrest_url\");         }         List&lt;String> paths = new ArrayList&lt;>();         try (HttpClient httpClient = HttpClient.newHttpClient()){             HttpRequest request = HttpRequest.newBuilder().uri(URI.create(postgRestUrl)).build();              HttpResponse&lt;String> postgRestResponse = httpClient.send(request, HttpResponse.BodyHandlers.ofString());              if (postgRestResponse.statusCode() == 200) {                 try {                     HttpResponse&lt;String> response = httpClient.send(request, HttpResponse.BodyHandlers.ofString());                      ObjectMapper objectMapper = new ObjectMapper();                      if (response.statusCode() == 200) {                         String responseBody = response.body();                         JsonNode openApiSpec = objectMapper.readTree(responseBody);                          JsonNode pathsNode = openApiSpec.get(\"paths\");                          if (pathsNode != null &amp;&amp; pathsNode.isObject()) {                             for (Iterator&lt;String> it = pathsNode.fieldNames(); it.hasNext(); ) {                                 String path = it.next();                                if (!\"\/\".equals(path) &amp;&amp; !path.startsWith(\"\/rpc\")) {                                     paths.add(postgRestUrl + path);                                 }                              }                         } else {                             throw new RuntimeException(\"No table paths found.\");                         }                     } else {                         throw new RuntimeException(\"PostgREST failed with status code: \" + response.statusCode());                     }                 } catch (IOException | InterruptedException e) {                     throw new RuntimeException(e);                 }             } else {                 throw new RuntimeException(\"PostgREST request failed with status code: \" + postgRestResponse.statusCode());             }         } catch (IOException | InterruptedException e) {             throw new RuntimeException(e);         }         Collections.sort(paths);         return paths;     } } <\/code><\/pre>\n<pre><code class=\"xml\">&lt;?xml version=\"1.0\" encoding=\"UTF-8\"?> &lt;project xmlns=\"http:\/\/maven.apache.org\/POM\/4.0.0\"<\/code><\/pre>\n<\/div>\n<\/details>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-353617","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/353617","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=353617"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/353617\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=353617"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=353617"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=353617"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}