javalin
http4k
Our great sponsors
javalin | http4k | |
---|---|---|
23 | 5 | |
5,583 | 2,491 | |
- | 0.8% | |
9.1 | 9.8 | |
almost 2 years ago | 6 days ago | |
Kotlin | Kotlin | |
Apache License 2.0 | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
javalin
-
Looking for maintainer for jvm-brotli
If you've read this far, you might be interested to know that Javalin has been offering Brotli compression through jvm-brotli for three years already, and that there have been no (reported) issues. In other words, the effort required to release and maintain this is probably not huge.
- Using "equivalents" in other languages to help learn
-
Question about Kotlin from an ex-Java developer
I'm a big fan of Ktor (ktor.io) but another reasonable lightweight alternative is Javelin (https://javalin.io/). Heck even Spring Boot isn't that bad. HikariCP + JooQ (has both java and kotlin codegen) for DB access if you need and you're good to go.
-
Turbo: The speed of a SPA without writing JavaScript
A similar alternative that does not rely on web sockets is https://htmx.org. I have greatly enjoyed using it with some simpler web frameworks like https://javalin.io to do some prototyping and smaller projects. I'm sure if someone made a plug and play UI library like material UI for Angular on top of htmx you could absolutely fly through MVPs.
- Does Java has an equivalent to Django/Laravel/Node
-
Java Equivalent of Express.js for REST
Javalin
-
Java Servlets
If you're already familiar with most of the concepts around HTTP and web services, I'd recommend using something like https://javalin.io/ which is light weight frame work that makes getting something up and running quickly a very easy task.
-
Why people don't love Java?
I've been looking at https://javalin.io/ Seems close enough to express and some big names are using it, so I wouldn't say it's fizzling out
-
Is there Expressjs like framework for java
Javalin (https://javalin.io) is strongly inspired by Express and Koa, so you should feel right at home:
-
There is no magic in Spring, I wrote my own (very simplified) framework from scratch to show it
If you want to do a proper comparison between the two, I would be happy to help with code examples from Javalin's side. I could even host it on https://javalin.io as a "Comparison to Jooby" blog post.
http4k
-
What's the state of server-side frameworks with Kotlin support today for small teams?
You named Express as an example for a good framework - I'd say both http4k and ktor come close to it. Spring Boot would really be on the other end and I met lots of JS/TS devs that didn't even want to touch it. I did have the same impression than you though: Documentation for ktor is not great at all.
-
Which backend Frameworks for Web App is easy to learn?
http4k has excellent documentation and very simple concepts.
- Jackson, moshi or kotlinx.serialization?
-
Application-as-a-Function Thinking
I couple of years ago I was lucky to use http4k, a server as a function web library for Kotlin. It was such a wonderful change compared to every other technologies available in both Java and Kotlin. It's simple.
Testing becomes so much easier too, as one can instantiate a the whole web routing aspect, without having to bind it to a port and having to send real http requests.
If strongly suggest people to take a look at it. It's not perfect, but it's a lot simpler than other frameworks and libraries. And it's a shift in some of the current mentality of using heavy frameworks (such as spring boot) which blow up anyone's cognitive load.
https://github.com/http4k/http4k
-
How is the market for Kotlin developers where you live?
http4k with the contract, format-jackson, and server-undertow modules
What are some alternatives?
ktor - Framework for quickly creating connected applications in Kotlin with minimal effort
Spring Boot - Spring Boot
voyager-server-spring-boot-starter - Easily create REST endpoints with permissions (access control level) and hooks includeded
Vert.x - Vert.x is a tool-kit for building reactive applications on the JVM
vertx-lang-kotlin - Vert.x for Kotlin
Quarkus - Quarkus: Supersonic Subatomic Java.
kotlinx.html - Kotlin DSL for HTML
Jooby - The modular web framework for Java and Kotlin
kraph - GraphQL request string builder written in Kotlin