Spring
Ninja
Our great sponsors
Spring | Ninja | |
---|---|---|
78 | 2 | |
54,978 | 1,912 | |
0.8% | 0.1% | |
10.0 | 5.9 | |
7 days ago | 4 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.
Ninja
-
On the Future of Akka and Lightbend
It’s a shame that the Play framework is being abandoned. v1 had a lot of great ideas, but v2 kind of jumped off the cliff into Scala lala-land, where it got lost in the weeds. It never really recovered.
If you’re looking for a straightforward Java framework similar to Play v1 check out Ninja:
https://www.ninjaframework.org/
For me at least, it hits a sweet spot of enabling fast productive development and maintainable code.
-
best light framework or library for developing API without the magic (Spring)
take a look at https://www.ninjaframework.org/
What are some alternatives?
Jooby - The modular web framework for Java and Kotlin
Spring Boot - Spring Boot
Vaadin - Vaadin 6, 7, 8 is a Java framework for modern Java web applications.
Grails - The Grails Web Application Framework
Google Web Toolkit - GWT Open Source Project
Play - The Community Maintained High Velocity Web Framework For Java and Scala.
ZK - ZK is a highly productive Java framework for building amazing enterprise web and mobile applications
PrimeFaces - Ultimate Component Suite for JavaServer Faces
Pippo - Micro Java Web Framework