java-tutorials
spring-chat-api
| java-tutorials | spring-chat-api | |
|---|---|---|
| 4 | 1 | |
| 51 | 6 | |
| - | - | |
| 6.0 | 0.0 | |
| 3 months ago | over 5 years ago | |
| Java | Java | |
| 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.
java-tutorials
- JVM Rainbow – Mixing Java Kotlin Scala Clojure and Groovy
- JVM Rainbow – Mixing Java, Scala, Kotlin and Groovy
-
Hot reload SSL configuration for a server and http client
Hi, I have been working on a small library to make hot reloading of a ssl configuration for a server and http client possible. I was just curious why we needed to restart the server or recreate a http client with new ssl configuration when the keystores needed to be updated. I wanted to learn how the ssl configuration is handled in java and was just curious if I could be able to bypass this limitation and reload the ssl configuration instantly. An alternative would be to use nginx as a proxy with ssl configuration for a server setup, but I was a bit bored and wanted to achieve this just in java. In the above demo I demonstrate a spring boot with embedded jetty server, however similar behaviour is possible with akka or other servers which use SSLContext, SSLSocketFactory, SSLEngine, TrustManager or KeyManager. The server has an initial ssl configuration and it will get updated by an admin application from the terminal through an https request, but it can also use a file listener to update it. If the keystores on the filesystem get replaced or updated it can also pick that up or fetch it from a database based on a trigger or something else. The demo can be found here https://github.com/Hakky54/java-tutorials/tree/main/instant-server-ssl-reloading I use my own library to have this setup working, which is available here: https://github.com/Hakky54/sslcontext-kickstart
-
Updating server certificates during runtime without the need of restarting it
The example project is here: GitHub - Instant server ssl reloading
spring-chat-api
-
Chat with Go, React and k8s converted to Java Spring
I got many folks asking for a Java version of the backend. I finally found some time to work on it and here's the Java github repo
What are some alternatives?
mutual-tls-ssl - 🔐 Tutorial of setting up Security for your API with one way authentication with TLS/SSL and mutual authentication for a java based web server and a client with both Spring Boot. Different clients are provided such as Apache HttpClient, OkHttp, Spring RestTemplate, Spring WebFlux WebClient Jetty and Netty, the old and the new JDK HttpClient, the old and the new Jersey Client, Google HttpClient, Unirest, Retrofit, Feign, Methanol, vertx, Scala client Finagle, Featherbed, Dispatch Reboot, AsyncHttpClient, Sttp, Akka, Requests Scala, Http4s Blaze, Kotlin client Fuel, http4k, Kohttp and ktor. Also other server examples are available such as jersey with grizzly. Also gRPC, WebSocket and ElasticSearch examples are included
spring-data-redis - Provides support to increase developer productivity in Java when using Redis, a key-value store. Uses familiar Spring concepts such as a template classes for core API usage and lightweight repository style data access.
es-kafka-pagination - Let’s say you have an ElasticSearch Index of 1,000,000 documents and you need to run some operation on those documents.
Rqueue - Rqueue: Job Queue and Scheduler for Spring and Spring Boot (Redis & NATS)
MoreShortcuts - Adds more shortcuts to Intellij Idea
zfoo - 💡Extremely fast enterprise server framework, can be used in RPC, game server, web server.