Spring
jabel
Our great sponsors
Spring | jabel | |
---|---|---|
78 | 9 | |
54,978 | 790 | |
0.8% | - | |
10.0 | 3.5 | |
7 days ago | 2 months ago | |
Java | Java | |
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.
Spring
-
Restrictive Abstractions
This interface is a simplified version of real caching abstractions from Java technologies such as the ones from Spring or JCache (JSR-107). Both are part of quite complex solutions, having more generic types and different capabilities. Also, annotations would be preferred to using Cache directly in most Java applications.
-
They said to use the Default Dispatchers but I found out it was Unconfined
Cross-post: Controller code using Unconfined Dispatcher #32032
- Spring 6.1 now compatible with virtual threads and JDK 21 overall
- What's New in Spring Framework 6.1
-
CWE Top Most Dangerous Software Weaknesses
Mitre really lost a lot of respect with CVE-2016-1000027. Every few weeks a warning that any SpringBoot 2.x project has a CVSS 9.8, which causes all sorts of heartache for those of us bound to CVE remediation. Every blasted security tool reports this one. Spring reviewed and rejected, as did our very, very large organization. Comically, this has become the CVE we use to see how our tools allow us to white/black list entries.
Thank god Spring dropped this interface in the Framework 6.x / Boot 3.x release, and the end for non-commercial support is this year for the old stuff.
https://github.com/spring-projects/spring-framework/issues/2...
-
Help with GetMapping annotation
Referring to https://github.com/spring-projects/spring-framework/blob/main/spring-web/src/main/java/org/springframework/web/bind/annotation/GetMapping.java, the value could have got assigned to any of the other members like name, path, params, etc. Is there any logic involved that enables the single value passed to the GetMapping annotation to be assigned to the value member?
-
What's your most painful experience of debugging an issue that only reproduced in production?
This one. In short, JMS listeners stopped working randomly (of course only on Saturdays, and only under load), but at first we didn't know that and suspected the message broker at fault. We had quite extensive logging, but no observability on the broker. Can't remember all the details, but eventually we figured out it was the listener container, and I could reproduce it after debugging deeply into Spring code during a load test.
-
10+ Open-Source Projects For Web Developers In 2023
GitHub Stars: 51 K GitHub Link: https://github.com/spring-projects/spring-framework
-
Dropwizard 3.0.0 and 4.0.0 have been released
It still has, but it is more of "imaginary" one (https://github.com/spring-projects/spring-framework/issues/24434).
-
how does spring webflux interact with the java servlet api?
Simple: Spring WebFlux does not require Servlet, but can adapt to it. We essentially built our own reactive HTTP abstraction, without any Servlet dependencies. Then we made adapters that use said abstraction for (Reactor) Netty and Servlet. Note that we have specific adapters for Tomcat, Jetty, and Undertow, relying on non-blocking native APIs.
jabel
-
What Are Senders Good For, Anyway?
Java has things like Jabel that let you use modern Java syntax and compile down to Java 8 for compatibility reasons.
https://github.com/bsideup/jabel
This is useful commercially, but also nice when building Minecraft mods for older versions of Minecraft.
-
How to use different Java versions for src/main/java and src/test/java in Maven
As for Java bytecode, you assume the differences are significant while in reality, they are not, as explained by the Jabel project:
-
What can I do with Java 1.4?
(Before realizing it'd already been done)
-
What's new in Java 18 for us, developers ?
If you want to use new language features (pattern matching, string templates, records etc.) then I highly recommend to take a look at https://github.com/bsideup/jabel
- Minecraft 1.18 Pre-Release 2: Minecraft 1.18 will require Java 17
-
What version should new Java libraries be written in?
I've never heard of somebody sticking to 9 or 10 as their primary JDK. AFAIK most people who could update waited for the 11 LTS. The rest of us are just stuck on 8. But we have some nice tricks.
-
Is it possible to any jre under 16 to recognise class ver 60 ?
https://github.com/bsideup/jabel - lets you use new Java syntax, because things like pattern matching are just syntatic sugar and dont change the class file specification
-
Eclipse Compiler supports -source 16 -target 8
I've found about the Jabel that tried to enable this feature in the Javac compiler.
- Are there byte code differences between different Java releases?
What are some alternatives?
Jooby - The modular web framework for Java and Kotlin
Mixin - Mixin is a trait/mixin and bytecode weaving framework for Java using ASM
Vaadin - Vaadin 6, 7, 8 is a Java framework for modern Java web applications.
JGroups - The JGroups project
Ninja - Ninja is a full stack web framework for Java. Rock solid, fast and super productive.
guava - modular guava
Spring Boot - Spring Boot
lwjgl - [LEGACY] LWJGL 2.X - The Lightweight Java Game Library.
Google Web Toolkit - GWT Open Source Project
UniJ - Universal facade of JDK 9+ API, focused on Collection factory methods
Play - The Community Maintained High Velocity Web Framework For Java and Scala.
jfx - JavaFX mainline development