ksp
Jetty
Our great sponsors
ksp | Jetty | |
---|---|---|
13 | 15 | |
2,622 | 3,742 | |
2.3% | 0.4% | |
9.5 | 9.9 | |
8 days ago | about 18 hours ago | |
Kotlin | Java | |
Apache License 2.0 | GNU General Public License v3.0 or later |
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.
ksp
-
Why don't you write unit tests and integration tests to ksp project
google/ksp is one of the lightweight compiler plugin. We can easy to create compiler plugin with simple syntax. It's set as stable last year.
-
How configure compose compiler and ksp with Kotlin 1.8
google/ksp is one of the lightweight compiler plugin which is developed by google. Some jetpack libraries are supporting that configures with ksp (ex: room).
-
Is it possible to make the usage of KSP easier?
Some guys consider it as a bug.https://github.com/google/ksp/issues/969
-
Android KSP guide for dummies by a Dummy: Part 1
Links: GitHub Repo : https://github.com/aniketbhoite/ksp-my-event Google KSP Doc: https://github.com/google/ksp KotlinLang KSP Doc: https://kotlinlang.org/docs/ksp-overview.html
-
Kotliner CLI
If you ever come back to it, check out https://github.com/google/ksp, it's relatively new but I think it might be a great fit for the project.
-
Yet another DI for kotlin multiplatform
Fyi ksp handles tracking this for incremental builds, you may be able to see what they are doing?
-
Kotlin Coroutines and Swift, revisited
I'd like to further iterate on all these patterns in some form of codegen library in the future, as compiler plugins start to mature. I'm hopeful for a multiplatform version of Kotlin Symbol Processing to help with this, though this won't be possible before Kotlin 1.5.20 at the earliest due to missing extension points in the Kotlin compiler. Fingers crossed for something this summer I guess.
-
Kotlin Team AMA #3: Ask Us Anything
Well, KSP is developed by Google, so you should ask them for more documentation, I think :) For compiler plugins -- yes, JetBrains should at some point invest some time and create at least the basic documentation for compiler plugin authors. But first of all, we need to create the public compiler API itself. We are going to do that after releasing the JS IR back-end.
- The Kotlin Foundation – By Jetbrains and Google
- Kotlin Symbol Processing (KSP) now in alpha
Jetty
-
Example Java Application with Embedded Jetty and a htmx Website
As described on eclipse.dev/jetty: "Jetty provides a web server and servlet container, additionally providing support for HTTP/2, WebSocket, OSGi, JMX, JNDI, JAAS and many other integrations. These components are open source and are freely available for commercial use and distribution."
-
Spring Boot Monitoring with Open-Source Tools
Manual instrumentation allows you to define your Spans within the code itself rather than relying on automatic instrumentation finding the entry point for a trace. Manual instrumentation is especially helpful for applications that don’t use an application server such as Tomcat, JBoss, or Jetty.
-
Security of Eclipse Jetty dependencies
So, 9.4.48 fixes the first two CVEs, but the last one doesn't mention 9.4 at all, so I'm not sure if that's left out due to EOL status for 9.4.
-
Jetty adds Loom support
Fresh off the press: https://github.com/eclipse/jetty.project/issues/8007
-
Choose the right Java runtime for the job (2020, Quarkus vs Open Liberty vs traditional application server)
If you're doing something pretty simple and need something really lighweight, however, you could go with something like Javalin or even use Jetty directly (the HTTP server which powers Javalin and many other frameworks by default). It's not that hard to do that and that's what I actually would do myself for almost everything... the fewer moving parts you have in your application, the better chances you have of keeping everything up-to-date and the less chance to mess up (with a caveat: bigger frameworks may give you secure defaults that if you're not experienced enough you may not even know about, so it may be better to not go low level if you're new-ish to running web applications securely).
-
The 12-Factor App Building Methodology
Example: Little Johnny was developing a Java web app and thinking about how he would configure Tomcat to listen to requests and redirect the data into his app... until he remembered this would violate Factor 7! Instead, he decided to declare Jetty as a dependency, keeping the HTTP service inside the app instead of configuring an external web server and then injecting its functionalities. Now, whenever he wants to instantiate another server for this app, all he has to do is installing dependencies and running the app, isn't it convenient?
- Jetty WONTFIX on PEM support (2021)
-
Looking for maintainer for jvm-brotli
Hi /r/java! Jetty is considering implementing dynamic Brotli compression, but the current JVM wrapper for Google's Brotli (jvm-brotli) is somewhat ... abandoned.
-
Non Spring users what are you using ??
Multiple applications in the same JVM? Wildfly, Tomcat, Jetty.
-
Packaging and deploying Spring Boot applications as WAR files
Download Eclipse Jetty from the project website. Make sure to download the correct version, depending on the Java and Servlet API versions that your application uses. For example, in the case of Vaadin applications, download Eclipse Jetty 9.
What are some alternatives?
groovy - Apache Groovy: A powerful multi-faceted programming language for the JVM platform
nanohttpd - Tiny, easily embeddable HTTP server in Java.
jackson-module-kotlin - Module that adds support for serialization/deserialization of Kotlin (http://kotlinlang.org) classes and data classes.
WildFly - WildFly Application Server
kotlin-multiplatform-bignum - A Kotlin multiplatform library for arbitrary precision arithmetics
Apache Tomcat - Apache Tomcat
okio - A modern I/O library for Android, Java, and Kotlin Multiplatform.
Apache TomEE - Apache TomEE
kotlinx.html - Kotlin DSL for HTML
open-liberty - Open Liberty is a highly composable, fast to start, dynamic application server runtime environment
kotlinx-nodejs - Kotlin external declarations for using the Node.js API from Kotlin code targeting JavaScript
android-http-server - A complete zero-dependency implementation of a web server and a servlet container in Java with a sample Android application.