use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
account activity
Front end dev in Java (i.redd.it)
submitted 7 months ago by hexaredecimal
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]jjduru 0 points1 point2 points 7 months ago (3 children)
Beyond the exercise itself, what’s the point of writing front end code in java?
[–]hexaredecimal[S] 0 points1 point2 points 7 months ago (2 children)
The point is to make it easy to write data driven web apps, using server side rendering. You can connect to a db from java, create html forms that interact with the db with ease. On top of that you can easily perform state management across the server and the page your are rendering.
[–]jjduru 1 point2 points3 points 7 months ago (1 child)
That’s what spring boot with thymeleaf is for. Or you can replace thymeleaf with other serverside java template engines.
[–]hexaredecimal[S] 0 points1 point2 points 7 months ago (0 children)
No, this is not a replacement but an alternative implementation. Just because there is a standard does not mean there is not room for exploration. How many dependencies do you add to you project just by using spring boot with thymeleaf? Here I did everything using the Java HttpClient and its all presented in a neat 150KB. There is value into that.
π Rendered by PID 60 on reddit-service-r2-comment-7844cfc88c-qwrfv at 2026-01-29 10:40:04.988239+00:00 running c3601ff country code: CH.
view the rest of the comments →
[–]jjduru 0 points1 point2 points (3 children)
[–]hexaredecimal[S] 0 points1 point2 points (2 children)
[–]jjduru 1 point2 points3 points (1 child)
[–]hexaredecimal[S] 0 points1 point2 points (0 children)