had no problems at all. i really like it. thanks!
Show HN: I finished v5 of a JVM framework I've spent spent half a decade making
61–70 of 139 posts
Re: Show HN: I finished v5 of a JVM framework I've spent spent half a decade making
#62I just wanted to say thank you for your work. The straightforward docs are some the best in my opinion when you want to go from "How do I do ..." to answer. I ended up using Javalin with Kotlin and SQLite to build my wedding website. Most of my projects are lucky to see the light of day, but with a very persistent project manager and a simple lightweight framework, I was able to ship a fantastic product with very lit…
just wondering, what did you use SQLite for on a wedding website?
Static site generation, and a few other ideas, challenges this basic pattern, but most of the worlds applications use it. Javelin is trying to make the pattern better on several axes, simplicity first-and-foremost, and not replace it.
Re: Show HN: I finished v5 of a JVM framework I've spent spent half a decade making
#63I just wanted to say thank you for your work. The straightforward docs are some the best in my opinion when you want to go from "How do I do ..." to answer. I ended up using Javalin with Kotlin and SQLite to build my wedding website. Most of my projects are lucky to see the light of day, but with a very persistent project manager and a simple lightweight framework, I was able to ship a fantastic product with very lit…
Hey, thank you for using it. Single-page docs are also my favorite, and Javalin/jdbi/SQLite is my goto for quick stuff! > but with a very persistent project manager Your partner? :D
Re: Show HN: I finished v5 of a JVM framework I've spent spent half a decade making
#64Earlier quoted context omitted.
just wondering, what did you use SQLite for on a wedding website?
For a website, the question should be why not use SQLite. Given the various compelling and (by now, here, I hope) well-understood advantages, it should be the default choice. Certainly for a site expecting hits in the mid-hundreds, total. Maybe ten simultaneous connections the day of?
FWIW, I'm not in the web app world, so my wedding website was a single page HTML; not a single page app, let alone a content management system - I googled something like "Wedding page HTML template", then grabbed a HTML template from w3schools, opened it in notepad, and put my own words and IMG tags. It looked pretty, was "responsive" by default, took very little time to create, and worked solidly.
I'm sufficiently old school / ignorant / pragmatic / lazy / focused / something, to wonder why complicate a wedding page with anything else :-)
(I mean, I'm old and ignorant and simple enough that I keep misinterpreting what "static site generator" is :P )
Re: Show HN: I finished v5 of a JVM framework I've spent spent half a decade making
#65Re: Show HN: I finished v5 of a JVM framework I've spent spent half a decade making
#66I just started using this! Spring Boot seemed so convoluted, having to go to a website to even begin. And then to have the Tomcat dependency seemed like a heavy lift just to get a "hello world" working. Virtual threads seems to be the way to go. Virtual threads in Java 19: https://www.infoq.com/articles/java-virtual-threads/
I have to see I’m pleased to see Java moving fast those days.
I’m still digesting 17 and 18, but that give me a reason to look at 19.
I honestly project loom was far from reaching that level of “standardness” … so I haven’t looked into it in years
Re: Show HN: I finished v5 of a JVM framework I've spent spent half a decade making
#67Earlier quoted context omitted.
For a website, the question should be why not use SQLite. Given the various compelling and (by now, here, I hope) well-understood advantages, it should be the default choice. Certainly for a site expecting hits in the mid-hundreds, total. Maybe ten simultaneous connections the day of?
Interesting, I interpreted the question completely differently, i.e. why use database at all? FWIW, I'm not in the web app world, so my wedding website was a single page HTML; not a single page app, let alone a content management system - I googled something like "Wedding page HTML template", then grabbed a HTML template from w3schools, opened it in notepad, and put my own words and IMG tags. It looked pretty, was "r…
Maybe the wedding page has forms, needs to store data and author is most familiar with Java or maybe they are getting creative and are calling third party services for convenience, lots of reasons. A simpler solution could be nginx/cgi and a local file for the DB, or cloudfare workers(you can render HTML from them) and their key/value storage.
Re: Show HN: I finished v5 of a JVM framework I've spent spent half a decade making
#68Earlier quoted context omitted.
Hey, thank you for using it. Single-page docs are also my favorite, and Javalin/jdbi/SQLite is my goto for quick stuff! > but with a very persistent project manager Your partner? :D
I can see how DI will be overkill for a wedding website and Javalin/jdbi/sqlite is more than enough but for most business applications written in Java you really wish you had started with DI. Any DI libs you recommend for working with Javalin?
Re: Show HN: I finished v5 of a JVM framework I've spent spent half a decade making
#69Earlier quoted context omitted.
I can see how DI will be overkill for a wedding website and Javalin/jdbi/sqlite is more than enough but for most business applications written in Java you really wish you had started with DI. Any DI libs you recommend for working with Javalin?
Hard disagree on needing a DI library, manual DI is great.
Re: Show HN: I finished v5 of a JVM framework I've spent spent half a decade making
#70Earlier quoted context omitted.
Hey, thank you for using it. Single-page docs are also my favorite, and Javalin/jdbi/SQLite is my goto for quick stuff! > but with a very persistent project manager Your partner? :D
I can see how DI will be overkill for a wedding website and Javalin/jdbi/sqlite is more than enough but for most business applications written in Java you really wish you had started with DI. Any DI libs you recommend for working with Javalin?
I'm personally a fan of Weld since its the reference implementation of the CDI spec.
A friend of mine built an MVC library around Javalin that uses Dagger as the DI container: https://github.com/jehugaleahsa/javalin-mvc