r/JavaProgramming • • 8h ago

Something I'm slowly realizing while learning software development

11 Upvotes

When I started learning Java, I thought becoming a software engineer was mostly about learning programming languages, solving coding problems, and building projects.

But the more I learn, the more I realize that there's a lot beyond writing code.

Understanding how things work internally, debugging errors, designing systems, reading other people's code, and knowing why a particular solution works are equally important.

Sometimes I spend hours trying to understand something that looks simple to experienced developers. And honestly, that's part of the process.

I'm still learning, making mistakes, and trying to improve every day.

One thing I'm curious about:

What's something you wish you had understood earlier when you started your software engineering journey?

I'd love to hear experiences from both beginners and experienced developers.


r/JavaProgramming • • 20h ago

You don't need Spring AI to build AI-powered Java applications

6 Upvotes

With all the recent attention around Spring AI, I think it's worth highlighting LangChain4j as a framework-independent alternative.

LangChain4j provides many of the same capabilities: chat, structured output, tool calling, RAG, conversation memory, streaming and MCP. You can use it with virtually any Java framework or just plain Java.

I recently put together a small integration example using CoilBase and Jex. No dedicated integration module, DI container or Spring dependencies. Just ordinary Java services and constructor wiring.

The example verifies chat, structured output mapped to a Java record, automatic tool calling and HTTP application lifecycle. It uses a mock model, so no API keys or paid LLM calls are needed to reproduce the tests.

I also included a table mapping common Spring AI capabilities to LangChain4j.

Integration guide:
https://github.com/PVRLabs/coilbase/blob/main/docs/langchain4j.md

Working example and tests:
https://github.com/PVRLabs/experiments/tree/main/java/coilbase/langchain4j-recipe

The same approach can be adapted to other Java frameworks.

Anyone here using LangChain4j outside the Spring ecosystem? How has your experience been?


r/JavaProgramming • • 14h ago

Is "Java Concurrency in Practice" still Valid in the Era of Java 27?

Thumbnail
java67.com
5 Upvotes

r/JavaProgramming • • 19h ago

Interview library for Java Backend Dev with 5000+ questions and explanations

4 Upvotes

Hi all, I have created an interview library of 5,000+ questions, each with a detailed explanation. It includes Java, Spring Boot, System design, database, and DSA.

https://scrivio-interview-library.netlify.app/

* Each concept has its related questions and explanations.
* Learn step by step, with code and interactive diagrams.
* Revise the key ideas quickly.

I also added guided paths so you know where to start.


r/JavaProgramming • • 8h ago

update 2

2 Upvotes

I found out that using Minecraft's textures is copyright infringement, so I need to create my own textures on a texture atlas, and doing everything alone is gonna take very long, so i want someone to help. if anyone wants to help, let me know!


r/JavaProgramming • • 1h ago

Need ideas for a university project!!!

Thumbnail reddit.com
1 Upvotes

r/JavaProgramming • • 5h ago

QtJambi 6.12.1 released – Qt 6.12 for Java, now builds Android APKs without Gradle

1 Upvotes

I maintain [QtJambi](https://www.qtjambi.io/), which makes the Qt framework (widgets, QML/Quick, multimedia, networking, SQL, 3D and much more) available to Java. Version 6.12.1 is out, with binaries for Qt 6.12.1 on JDK 11+ for Windows, macOS, Linux and Android. Everything is on Maven Central (`io.qtjambi:qtjambi:6.12.1`), and all modules are proper Java modules.

What's new:

* **Performance:** simple Java-to-native calls are 3–4× faster, calls from Qt into Java overrides (events, event filters, item models) about a third faster, startup ~8% faster.

* **Android without Gradle:** the QtJambi deployer builds signed APKs and Google Play App Bundles directly from your jars. It packs only the Qt libraries, plugins and QML modules your app needs. You need the Android SDK, but neither Gradle nor Android Studio. The docs include complete Maven and Gradle builds.

* **Native interop without JNA:** `QFunctionPointer` calls C functions (including variadic ones like `printf`), and `QFunctionPointer.of(...)` turns a Java lambda into a native callback that can be called from any thread.

* **Leaner modules:** dependencies only needed by single classes are now `requires static`, and e.g. `qtjambi-sql` no longer requires QtGui/QtWidgets.

* **Fixes:** among others a native memory leak with posted events, the lifetime of layout items, and race conditions in `QFuture`/`QtConcurrent`.

Release notes: https://github.com/OmixVisualization/qtjambi/releases/tag/v6.12.1

What's new in detail: https://github.com/OmixVisualization/qtjambi/blob/v6.12.1/www/Whats-New.md

Happy to answer questions, and feedback is very welcome.


r/JavaProgramming • • 12h ago

Need advice choosing between Engineering Digest (Vipul Tyagi) and Genie Ashwani for Java Full Stack

Thumbnail reddit.com
1 Upvotes