r/java • u/brunocborges • Mar 01 '18
r/java • u/rieckpil • Mar 24 '23
Happy 19th Birthday Spring π₯³
Spring Framework 1.0 was released on the 24th of March 2004 https://spring.io/blog/2004/03/24/spring-framework-1-0-final-released
r/java • u/javinpaul • Feb 06 '13
3,000 sign petition to remove Ask Toolbar from Java
r/java • u/c00liu5 • Jan 25 '24
CodeBrew: Java IDE for iPad (Update)
Hey folks, you might remember my post from two weeks ago about my app CodeBrew, a Java IDE for iPad. I took your feedback to heart and removed the subscription in favor of a single purchase full version. I have always seen subscription based models as a cash grab kind of thing and I am very happy with my decision (although Apple as always gave me a hard time in their review process).
r/java • u/BitBird- • Jan 12 '26
Java's `var` keyword is actually really nice for cleaning up verbose declarations
I avoided var for years because I thought it made code less readable. Tried it last week and I'm a convert.
Instead of:
Map<String, List<CustomerRecord>> customersByRegion = new HashMap<>();
Just:
var customersByRegion = new HashMap<String, List<CustomerRecord>>();
The type is right there in the initialization. Your IDE still knows what it is. It's not like JavaScript where var means something totally different.
Really shines with streams and complex generics where you'd normally write the type twice for no reason. Also makes refactoring easier since you're not updating the type in two places.
Still feels weird after typing out full declarations for 10+ years but I get it now.
r/java • u/Active-Fuel-49 • Oct 12 '24
Event-driven architecture on the modern stack of Java technologies
r/java • u/Legitimate-Front7370 • Sep 11 '24
Java21 impressed memory usage!
Recently, our team updated our Spring Boot service to Java 21 for a project. Since we had already updated to Java 17 with Spring Boot 3.x version, the update to Java 21 was completed very easily, except for some issues with test cases.
However, a very significant change was observed in the memory usage of the service deployed on EKS. The heap memory usage decreased by nearly 50%, and native memory usage reduced by about 30%. We conservatively maintained the existing G1GC for garbage collection, yet the usage still decreased. After monitoring, we plan to halve the requested memory capacity within Docker.
Apart from this, CPU usage remained within the margin of error (we weren't using CPU close to the limit anyway). However, the minor GC count increased significantly.
We believe these effects are due to the preventive G1GC garbage collection patch introduced in Java 20.
We're curious if others have experienced similar changes when updating to Java 21 compared to previous versions.ββββββββββββββββ
r/java • u/marbehl • Apr 06 '20
Spring Security: Authentication and Authorization In-Depth
r/java • u/lbkulinski • Jul 18 '17
IntelliJ IDEA 2017.2 is Here: Smart, Sleek, and Snappy
r/java • u/iamjessew • Aug 14 '20
Tonight we're transforming a monolithic COBOL app to a serverless java app (Live on Twitch)
r/java • u/Korges • Jun 26 '24
Books for Senior Java Dev should read
Hello,
Top 5-10 books picks for senior Java Developer should read? Algorithms, system design, architecture, mindset, financial area. Everthing that is related.
I read:
Clean Code
Clean Architecture
Effective Java (Bloch)
Designing Data-Intensive Applications
r/java • u/kingroka • Sep 03 '21
Brain Soup - Cellular Automata Brain Evolution - Made with Java
r/java • u/pron98 • Oct 30 '19
Microsoftβs Ready to Contribute to OpenJDK
mail.openjdk.java.netr/java • u/vladmihalceacom • Sep 30 '22
Nine years of blogging about Java