Тёмный

Example Java Application with Embedded Jetty and a htmx Website 

Frank Delporte
Подписаться 1,1 тыс.
Просмотров 768
50% 1

I was experimenting with a Java application that can act as a web server and includes the user interface HTML-files that get modified with htmx, to replace certain parts of the HTML with other ones created in Java. I found it pretty hard to understand how to configure the Jetty, but as always with Java libraries, it's pretty easy once you understand how to do it ;-) I decided to share my example, so you don't need to go through the same search if you want to use the same approach...
Read the full description here:
webtechie.be/post/2024-03-28-...
Source code on GitHub:
github.com/FDelporte/java-jet...
Libraries used in this project:
eclipse.dev/jetty/
htmx.org/
htmx.org/extensions/web-sockets/
www.datafaker.net/documentati...

Развлечения

Опубликовано:

 

1 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 2   
@avalagum7957
@avalagum7957 2 месяца назад
How to tell that embedded jetty to use virtual threads to process requests?
@FrankDelporte
@FrankDelporte 2 месяца назад
Good question! I found this info: * webtide.com/jetty-12-virtual-threads-support/ * eclipse.dev/jetty/documentation/jetty-12/programming-guide/index.html#pg-arch-threads-thread-pool-virtual-threads
Далее
HTMX & Go with ThePrimeagen | Preview
15:58
Просмотров 147 тыс.
HTMX For React Developers in 10 Minutes
9:26
Просмотров 40 тыс.
😍😂❤️ #shorts
00:12
Просмотров 314 тыс.
ШАР СКВОЗЬ БУТЫЛКУ (СКЕРЕТ)
00:46
How to Do 90% of What Plugins Do (With Just Vim)
1:14:03
Просмотров 870 тыс.
HTMX - What they don't want you to know!
13:28
Просмотров 80 тыс.
The Truth about Rust/WebAssembly Performance
29:47
Просмотров 173 тыс.
Web Server Concepts and Examples
19:40
Просмотров 231 тыс.
Building Full Stack Golang + HTMX + Templ APP
34:54
Просмотров 11 тыс.
Respect 🤯💯 || Look This 👰🏻#shorts
0:29
Просмотров 22 млн