Live data from Hacker News

Show HN: I finished v5 of a JVM framework I've spent spent half a decade making

javalin.io

71–80 of 139 posts

Re: Show HN: I finished v5 of a JVM framework I've spent spent half a decade making

#71
post #68

Earlier quoted context omitted.

Hard disagree on needing a DI library, manual DI is great.

Disagree on using a lib? cause I guess doing manual DI is still DI.

Yes, disagree on needing a library. The way your comment was worded made it seem to me like you were saying all serious Java applications need a DI library, I'm sorry if I misunderstood you. I prefer doing my ID manually, so no recommendation :)

Re: Show HN: I finished v5 of a JVM framework I've spent spent half a decade making

#73
post #72

How does the dev tooling work? Rebuild & restart the app each time? I find working on any sizable codebase this can take minutes even on the latest spring-boot. Quakrus has an interesting live reloading classloader.

Rebuild and restart. Javalin itself starts in milliseconds (the test suite starts and stops servers across 600+ tests in less than 10 seconds). If you run in debug mode in IDEA, or use some hot-swapping tool like dcevm or jrebel, you won't always need to restart. I don't think there will ever be a dedicated tool provided by Javalin for this.

Re: Show HN: I finished v5 of a JVM framework I've spent spent half a decade making

#74

Earlier quoted context omitted.

just wondering, what did you use SQLite for on a wedding website?

It's been SOP for some time (at least 20 years) to use an RDBMS to store your site's content and write a stateless application server to pull data from it and compose a response. Call it the "CMS pattern". 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,…

I truly mean this with love, but this is the most Java comment I've seen in a long time :-D

And (in the Java/enterprise world) is completely correct.

Re: Show HN: I finished v5 of a JVM framework I've spent spent half a decade making

#75
This looks great! I did Java professionally for years but when all the jobs moved to EE I bailed for Ruby/Rails and similar. Java the language I've always really enjoyed. It's the frameworks and hundreds of design patterns that repelled me. I felt like they were all needlessly complex. If frameworks like this one were more common in Java world, I may never have left.

This looks really nice! I wish more Java devs approached things with KISS and simple in mind, rather than looking at every problem as a way to apply some obscure design pattern that involves 15 levels of abstraction and indirection for a relatively simple microservice.

Re: Show HN: I finished v5 of a JVM framework I've spent spent half a decade making

#77
post #72

How does the dev tooling work? Rebuild & restart the app each time? I find working on any sizable codebase this can take minutes even on the latest spring-boot. Quakrus has an interesting live reloading classloader.

If you use IDEA you can right-click modified .java file and click 'Compile and Reload File' https://www.jetbrains.com/help/idea/altering-the-program-s-e...

Re: Show HN: I finished v5 of a JVM framework I've spent spent half a decade making

#78
Congrats on the release! I reviewed Javalin lately and it was high on my list. We use quite a bit of Kotlin and look for a framework. I really dislike the magic that annotations bring to most popular Java frameworks (and Hibernate). I prefer most is just code". Kotlin helped us a lot in making our code more type safe, especially the KProperty way of referring to methods made a difference.

Though I ended up leaning towards KTor, with Javalin as a close second.

How would anyone with more knowledge compare the two (Javalin and KTor)?

Re: Show HN: I finished v5 of a JVM framework I've spent spent half a decade making

#79

Earlier 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…

Yeah that was what I meant but everyone else seems to be commenting except the person I was replying to lol. I am not attacking databases I am just wondering what they used it for on a wedding website.

Re: Show HN: I finished v5 of a JVM framework I've spent spent half a decade making

#80

Congratulations! This is great! Java deserves its comeback among the wave of nu-programming we are going through.

> Java deserves its comeback among the wave of nu-programming we are going through.

What is nu-programming? And why would Java deserve a comeback?

Post reply on HN