jitterted, to Java
@jitterted@sfba.social avatar

🚨 Alert 🚨

Working solo on some final Ensemble Timer features using and a bit of .

Join me now on Twitch at https://jitterted.stream

jitterted, to random
@jitterted@sfba.social avatar

One (of MANY) lesson learned is to NOT name your Thymeleaf template "index.html". You will get confused. You will be surprised.

Spring Boot will serve it up as a static page to your "/" path GET request, even if the "index.html" is in the src/main/resources/templates directory.

(See WelcomePageHandlerMapping and WelcomePage for details.)

jeffsheets, to Kotlin
@jeffsheets@hachyderm.io avatar

Demystifying GenAI and ChatGPT
-- harness the practical and pragmatic parts of AI
-- you don't have to run your own models and LLMs
-- call out to OpenAI straight from your Kotlin/Java SpringBoot codebase
-- the real magic is finding a good use-case
-- most of what you hear and see out there today isn't a good use for LLMs in the first place

https://sheetsj.com/blog/calling-openai-gpt-4-from-kotlin-with-spring-ai/

preslavrachev, to Java
@preslavrachev@mastodon.social avatar

I don't know if anyone on the @quarkusio core team will read this, but here is the thing. Your framework is way too good to hide it under the "cloud-native" umbrella. The way to increasing adoption in the broader Java community is to make it more visible that Quarkus is just as capable of building good old fully-featured monoliths, as is of blazing-fast microservices.

Read the rest of my reasoning here: https://preslav.me/2024/04/08/an-open-plea-to-the-quarkus-team/


jeffsheets, to Kotlin
@jeffsheets@hachyderm.io avatar

GenAI is all the hype -- so here's a quick primer on using Kotlin with Spring-AI to call OpenAI GPT 4 via a REST API -- really showcasing how simple it can be. https://sheetsj.com/blog/calling-openai-gpt-4-from-kotlin-with-spring-ai/

preslavrachev, to Java
@preslavrachev@mastodon.social avatar

Below are two identical barebones starting projects in and , respectively. Notice, how Spring follows the (to my understanding) more common 3-level nested approach (domain, organization, project), while Quarkus omits the project level entirely.

I am trying to address those differences to a Spring developer, thus I'd like to know, was that an intentional decision, or some sort of internal RedHat convention that the @quarkusio team just stuck with?


preslavrachev, to Java
@preslavrachev@mastodon.social avatar

Things have come full circle:

2010 - my first encounter with Spring. Did that professionally until 2019.
2019-2023 - Discovered Go and it became my daily driver.
2022-2023 - Picked up Java again, via Quarkus. Enjoyed it a lot, but still kept pushing for Go.
2024 - Reunited with Spring Boo. Had to admit that Go is a dead-end for the things im working on.

Go is fantastic, but not great for the good old monolithic line-of-business apps on our agenda.


frankel, to random
@frankel@mastodon.top avatar
alexbraga, to Java
@alexbraga@fosstodon.org avatar

What service are you guys using to deploy Spring Boot apps since Heroku free tier ended?

jitterted, to Java
@jitterted@sfba.social avatar

On today's Solo stream, I'll be working on the and WebSocket portion of my Ensemble Rotation Timer.

Join me in about 25 minutes (11:30am PST | 7:30pm UTC) on Twitch: https://jitterted.stream

jitterted,
@jitterted@sfba.social avatar

Once again, and meant that when I hooked up the "real" timer broadcaster (using WebSockets), everything just worked.

Only took 35 lines of WebSocket code and 10 lines of configuration code and a few attributes on the HTML page. (Not counting the separate transformer code that generated the HTML.)

ilopmar, to random

My talk about and is already available.
In one day it has more than 2K views 🤯

Thank you everyone for the great feedback. I'm glad you like it.
https://www.youtube.com/watch?v=TAI4ZiKMcfY

frankel, to random
@frankel@mastodon.top avatar
delawen, to Java Spanish
@delawen@floss.social avatar

Did you miss my Chaos Incarnated from yesterday at the ?

Don't worry, you can watch it here and see how I get so dirty with code I barely get out at the end: https://www.youtube.com/watch?v=QIv8P1VbVTk

brianverm, to Cybersecurity

🔒 Are you a Java developer using Spring Boot? Keep your applications secure by managing dependencies effectively. Learn how to handle security vulnerabilities with our guide 👉 https://buff.ly/3sUMQfc

DiazCarrete, to haskell
@DiazCarrete@hachyderm.io avatar

"Nesting APIs and ReaderT environments with Servant"
https://nicolashery.com/nesting-reader-environments-servant/

DiazCarrete,
@DiazCarrete@hachyderm.io avatar

"Spring Boot - The Missing Guide : 6 - How Spring handles Transactions & Security using AOP/Proxies"
https://www.youtube.com/watch?v=jviq49ukATo

The whole playlist: https://www.youtube.com/playlist?list=PLuNxlOYbv61jZL1IiciTgWezZoqEp4WXh

tweet collecting interesting Spring videos: https://twitter.com/jyotirmaya_das/status/1781887932812698058

Demystifying Spring Internals
https://www.youtube.com/watch?v=LeoCh7VK9cg

wiverson, to Java
@wiverson@mas.to avatar

Check it out - Wim has a book on on with out!

https://www.wimdeblauwe.com/books/modern-frontends-with-htmx/

This is a great option for a long-time Java dev that doesn't want to spring (ahem) into JS. Great option esp for adding some interactivity to legacy JSP/Struts or similar. Lots of folks are using htmx as well.

wimdeblauwe, to random

🎉 Thrilled to announce the official release of my new book 'Modern frontends with htmx'! Discover how to master with and for rich, interactive web applications. Say goodbye to JavaScript complexity!

📚 Explore more: https://www.wimdeblauwe.com/books/modern-frontends-with-htmx/

To celebrate the launch of 'Modern frontends with htmx', you can get the book now at a 10% discount via https://leanpub.com/modern-frontends-with-htmx/c/launch10

mhalbritter, to random

Spring I/O 2024 announced: https://2024.springio.net/

Any topics you'd like us to cover on ?

frankel, to random
@frankel@mastodon.top avatar
thomasvitale, to Java

Spring Boot 3.2 is officially here 🍃 Support for Virtual Threads, RestClient, JdbcClient, and improvements to certificate management, OCI image builds, and observability!

Say goodbye to Java 8 and Java 11. They served us well, but it's time to move on! Java 21 rocks! 🚀

nevada, to Java
@nevada@mstdn.social avatar

I think of doing a web app for managing your personal comic-book collection. It should let you add titles with essential data (writer(s), artist(s), editor, cover art, ratings (with stars), reviews...), read, edit, and delete those data.

It would be made with +, server-side rendered with a templating engine (), and use a DBMS. This way you could run it locally, self host privately and/or share everywhere. FOSS licensed of course.

Opinions? :)

kerfuffle,
@kerfuffle@mastodon.online avatar

@nevada Why would you use Spring Boot?

kenkousen, to Java

Tales from the jar side: Translations to Hindi, Spring and AI without Spring AI, Java 21 features, Today's students are SO young, and the usual silly tweets and toots, by @kenkousen https://open.substack.com/pub/kenkousen/p/tales-from-the-jar-side-translations

kerfuffle, to Java
@kerfuffle@mastodon.online avatar

A few years back, I wrote a Magazine article with an accompanying Github repo to explore using modules to express & enforce

https://github.com/jasperbogers/hexagonal-architecture-gradle-java

Today I attended a talk by Damir Murat where he explained a demo project, Klokwrk, where he explores a code folder structure to express . He calls it Strategic Structure, referring to Strategic DDD with domains and bounded contexts. It's quite detailed, and I like this approach.

https://github.com/croz-ltd/klokwrk-project/blob/master/support/documentation/article/modules-and-packages/modulesAndPackages.md

jitterted, (edited )
@jitterted@sfba.social avatar

@kerfuffle Thanks for this!

Looks like I need to update and publish my and project that uses Maven modules (I have a strong aversion to Gradle).

(I also adopt Application & Domain layers for the inside of the hexagon, as well as not having ports as Java interfaces on the inbound/driving/primary side.)

  • All
  • Subscribed
  • Moderated
  • Favorites
  • provamag3
  • kavyap
  • DreamBathrooms
  • Durango
  • magazineikmin
  • InstantRegret
  • ngwrru68w68
  • Youngstown
  • everett
  • slotface
  • tacticalgear
  • cisconetworking
  • khanakhh
  • rosin
  • megavids
  • thenastyranch
  • vwfavf
  • osvaldo12
  • mdbf
  • modclub
  • GTA5RPClips
  • Leos
  • normalnudes
  • cubers
  • ethstaker
  • tester
  • anitta
  • JUstTest
  • All magazines