r/java • u/desrtfx • Oct 08 '20
[PSA]/r/java is not for programming help, learning questions, or installing Java questions
/r/java is not for programming help or learning Java
- Programming related questions do not belong here. They belong in /r/javahelp.
- Learning related questions belong in /r/learnjava
Such posts will be removed.
To the community willing to help:
Instead of immediately jumping in and helping, please direct the poster to the appropriate subreddit and report the post.
r/java • u/Particular_Tea2307 • 15h ago
Thymeleaf or jte
Hello do you recommend thymeleaf or jte ? And why ? Thnks
r/java • u/daviddel • 1d ago
James Gosling on Java - Historical Oddities & Persistent Itches #JVMLS
youtu.beMethanol 1.8.0 - distributed & multi-level [redis] caching, better object mapping & more
mizosoft.github.ioLooking for Azul JVM Profiler/Observability Recommendations
I've been using YourKit for observing / profiling Hotspot JVMs and have been very happy with it. However, it doesn't support Azul JVM (at least not the paid one). What tools do you recommend for profiling and monitoring Azul JVMs?
I've used VisualVM but it seemed much worse than YourKit - e.g. not working for things like memory retained size etc.
r/java • u/Active-Fuel-49 • 2d ago
Exploring Java's Units of Measurement API (JSR 385)
belief-driven-design.comr/java • u/nilslice • 1d ago
Run MCP Servers On Android with Gemini & Chicory
docs.mcp.runr/java • u/ReversedBit • 2d ago
Building in public Java API for Software Defines Radio
github.comHello all,
First off Merry Christmas 🎄 I am building in public jSDR to allow developers to build Software Defines Radios using Java. My project is partially functional but wanted to get your feedback the earliest on whatever comes to your mind like method signatures or anything else.
Thank you very much!
r/java • u/Ewig_luftenglanz • 3d ago
What should be the plans for specialized methods in stream and collections API once Valhalla comes out?
As you already know, java SE apis are and other third party libraries that are "supper sets" of the standard collections API are bloated with specialized methods to deal with primitives in order to gain the performance edge.
Classes such as IntStream, mapToInt, mapToDouble, boxed, etc. Are needed in order to work with raw primitives, allowing boxing and unboxing at demand.
The main drawback of this is it turn what should be simple and convenient APIs for dealing with data structures more complex, adding a mental overhead to students and people that come from other languages such as python, JavaScript, kotlin and so on.
Once Valhalla comes out the rip between primitives and wrapper classes will start to converge to the point where an Integer! Could be perfectly replaced by int and viceversa, making all of these specialized APIs redundant and even harmful (because they would make bigger and more complex for ni benefits
Do you think these should be ever deprecated (not necessarily for removal) or it's less harming for these methods to be there, even if, eventually, they will ad no real value?
r/java • u/huangsam • 5d ago
Photohaul: Effortlessly manage your photos!
Fellow photographers - and Java gurus - are you tired of manually organizing and migrating your massive photo library?
Introducing Photohaul, a powerful tool that helps you:
- Reorganize 10K+ photos (30 GB) in seconds!
- Migrate photos locally and to the cloud (Dropbox, Google Drive)
- Customize folder structures based on date, camera, and more
- Filter photos by file type, size, and other criteria
Say goodbye to photo clutter! 👋 + 🚀
Try it out on GitHub: https://github.com/huangsam/photohaul
I'd love to hear your feedback and suggestions!
r/java • u/Active-Fuel-49 • 5d ago
Creating a Custom ByteBuddy Weaving Plugin with Gradle: A Step-by-Step Guide
codecraftsphere.substack.comr/java • u/ljubarskij • 6d ago
LangChain4j 1.0.0-alpha1 released
The goal of LangChain4j is to simplify integrating LLMs into Java applications. Please find more info on LangChain4j here.
Some of the highlights of this release:
- Preparing to release the stable 1.0.0 version in Q1 2025
- New chat model API
- Support for MCP (Model Context Protocol) from Anthropic
- Ollama: Support for structured outputs and tools in streaming mode
- Azure OpenAI: Support for structured outputs
- And much more!
Please see all the details in the release notes.
r/java • u/arcone82 • 6d ago
Navigate Early Development | Simplify Data Storage
medium.comr/java • u/Affectionate-Hope733 • 7d ago
Are virtual threads making reactive programming obsolete?
scriptkiddy.pror/java • u/NWOriginal00 • 7d ago
And native code that needs a JNI wrapper?
I have some experience with JNI, currently am using it for a fairly complex adaptor at work. But I am looking for something fairly simple and could use some ideas.
My daughter is a CS student and would like to start creating things for her Github. She knows both Java and C++ so thought it might be a fun little project for us to do together. At least it would be something different. Maybe I should consider JEP also, I have never used it.
r/java • u/HumanBot47 • 7d ago
Just wrote a simple Cobol Mapper
I needed a simple way to convert Cobol positional strings to DTOs and I literally found nothing apart from an application from IBM, which is quite complex to setup and even harder to make it work. I also didn't want to provide the Copy Cobol or anything, I wanted to do it more like we map XML or JSON files nowadays.
So I decided to write one myself and it was so fun, expecially because it was the first time I was working with reflection and custom annotations, so I learned a lot too.
I hope some of you can find a use for it and if you want to sugget how to improve it, absolutely go ahead! I'm always eager to improve my coding skills! So here's the link to the GitHub repo.
EDIT: as per suggestion I added the withDelimiterSize() method.
EDIT2: as per suggestion I improved the annotation parameters for an easier configuration;
r/java • u/Electronic-Steak9307 • 9d ago
Is the JVM on the Path to Obsolescence? Will GraalVM Take Its Place?
So, the JVM was created to solve the platform-dependency problem, but over time, it introduced its own problems. Then came GraalVM as the potential savior. Does this mean the JVM has lost its purpose? Has the mantra of 'Write Once, Run Anywhere' (WORA) lost its relevance?