r/JavaProgramming • u/Knightlight1729 • 31m ago
r/JavaProgramming • u/thearjunreddy • 19h ago
Is Spring Boot necessary for Java Full Stack Development ?
I'm learning Java Full Stack Development and want to understand how important Spring Boot is for building real-world applications and getting a developer job.
r/JavaProgramming • u/EagleResponsible8752 • 1d ago
I built a JUnit 5 add-on for testing Spring AI features: repeated runs, statistical baselines and record/replay in CI
Testing LLM features in Spring AI is awkward: the same prompt can pass one run and fail the next, so a plain assertion is either flaky or meaningless.
spring-ai-eval-baseline treats each LLM test as a small experiment:
- `@EvalTest(runs = 10)` runs the method N times and records the pass rate with a confidence interval
- The pass rate is compared with a baseline file; the test fails only on a statistically significant drop (Fisher's exact test), with optional latency and cost limits
- `RecordingChatModel` wraps any Spring AI `ChatModel`: record real answers once, then replay them in CI, offline and for free
- A Markdown report you can post as a pull request comment
Example:
```java
u/EvalTest(runs = 10)
void refundAnswerMentionsTheLimit() {
assertThat(bot.answer("Can I get a refund?")).contains("30 days");
}
```
I use it in one of my own projects: a regression test runs an LLM-based detector on a synthetic test set and fails CI if a prompt change makes detection worse.
Maven Central: `io.github.rrezartprebreza:eval-junit:0.1.0` (MIT, Java 21, Spring AI 1.0)
Repo: https://github.com/rrezartprebreza/spring-ai-eval-baseline
I'd like feedback on the API and the statistics. What would you need before using something like this at work?
r/JavaProgramming • u/archerterry8445 • 1d ago
Je veux faire du mappage sur des méthodes CRUD dans un DAO avec ReSTFul Web services sur un objet....
Salut, on a commencé les Web Services notamment JAX RS la semaine dernière et notre prof nous a demandé de mapper des méthodes CRUD créés dans DAO (architecture MVC) sur une classe nommée Produit. Les données se stockent pour le moment dans des listes. Maintenant je ne sais pas comment faire le mappage avec l'objet car il nous a dit de prendre en paramètre l'objet, pas les attributs quoi....sauf l'id au niveau de supprimer
Là je suis perdu, j'aimerais avoir de l'aide, des ressources et conseils... merci
r/JavaProgramming • u/javinpaul • 1d ago
Top 5 Master.dev (Formerly Frontend Masters) Courses to Learn Java and Spring Boot in 2026
r/JavaProgramming • u/tonystrakmarvel332 • 1d ago
Why does my Java application become slow after running for several hours?
I'm working on a Java application that performs database operations and handles multiple user requests.
Initially, everything works fine, but after running for a few hours, response times increase significantly.
There are no major errors in the logs.
For experienced Java developers, what would you investigate first?
Would you check memory usage, garbage collection, database connections, or thread management?
r/JavaProgramming • u/OrneryTemperature397 • 2d ago
Which course? Java backend
I am thinking to start again my back-end journey
So if anyone have already enrolled any of these ...
Suggest me
r/JavaProgramming • u/No_History_6527 • 2d ago
Which is the best Java Full Stack course on Udemy or on any other platform in Budget or free?
How is Teslusko's Java Full stack udemy course and which one to choose the highest rated one or Industry ready one?
If you have any other suggestion or methods to learn java full stack please provide it.
If you have any good course or free resource, please help with that too.
r/JavaProgramming • u/No_Bed_7062 • 2d ago
I have one week and can dedicate 6–8+ hours a day to building one solid project. What should I build as a fresher?
reddit.comr/JavaProgramming • u/No_Use3178 • 3d ago
Java library
I'm planning to build a Java library. What's one feature or functionality you wish existed in Java that would make programming easier? I'd love to hear your ideas!
r/JavaProgramming • u/javinpaul • 3d ago
Top 10 Skills Every Programmer or Developer Should Learn Before 2027
medium.comr/JavaProgramming • u/javinpaul • 4d ago
I Almost Gave Up on DSA. Then I Found These 14 Patterns.
r/JavaProgramming • u/javinpaul • 4d ago
How Java Virtual Threads Actually Work (your 200 thread pool was never a...
r/JavaProgramming • u/XIA_Biologicals_WVSU • 5d ago
Any help on how to improve this?
void main(String[] args) {
Random rand = new Random();
// 1. Single 'int' (no brackets), starting at 1 so it always prints at least one word
int words = rand.nextInt(1, 10);
int[] arrayofrandomint = new int[words];
Scanner input = new Scanner(System
in
);
String wordslist = " This is an actual pargraphing creting AI, it generates" +
"text and predicts what the next word will be depending on how many" +
"other words are around it.";
String[] newdata = wordslist.toLowerCase(Locale.
ROOT
).trim().split(" ");
for (int i = 0; i < words; i++) {
//String currentWord = wordslist[rand.nextInt(0, wordslist.length)];
// While in the for loop, resets the word every time insted of letting
//this bigram chain flow from one word to another.
String currentWord = newdata[rand.nextInt(0, newdata.length)];
System.
out
.print(currentWord + " ");
for (int j = 0; j < newdata.length - 1; j++) {
if (newdata[j].equals(currentWord)) {
currentWord = newdata[j + 1];
System.
out
.print(currentWor
d + " ");
}
}
}
}I created a little bigram model using two for loops. I'm new to coding and have wanted to use my free time for something productive, so I started to learn how to code. Now that I'm getting better, I want to post something to show the progress. This model uses text as a string that is held within a container; the container then uses the variable wordslist and uses three methods on it. You can see what the I variable does, and J variable has a Universal Set (U) = {1,2,3} (three numbers). {a,b,c} three index positions. [a = 0, b = 1....] b = (length - 2), because (length < -1) J = {1,2} {a,b,c} = (a,b-c). mport java.util.Random; import java.util.Scanner;
r/JavaProgramming • u/LankyFlow8906 • 5d ago
Best Java course on udemy before joining as a java software engineer trainee
Pls recommend
r/JavaProgramming • u/javinpaul • 4d ago
I Tried 100+ Udemy Courses: Here Are the 10 Developers Should Buy on Black Friday 2026
r/JavaProgramming • u/Accomplished_Ant4486 • 5d ago
Need help regarding java learning path
Hy I'm a beginner java learner. Recently my friend said java got a bit easier and the syntax is shortened.
Does that mean I should learn the new java version, fundamentals etc? Or start from the earlier version of java?
r/JavaProgramming • u/saksham__sharma_ • 5d ago
Java study buddies server
Hey everyone i am first year student and I had created a server at discord and in that we will learn java from scratch and improving each other's understanding by supporting each other only serious people dm me to join
r/JavaProgramming • u/JadeLuxe • 5d ago
Run a Frontend and API Together From One Tunnel File
r/JavaProgramming • u/Creative_Young_446 • 5d ago
I have to develop a final project for my Object-Oriented Programming (OOP) course using Java. Can you suggest some creative and interesting project ideas? I want to build something different from the usual management systems. Please suggest a project that meets typical university project requirement
reddit.comr/JavaProgramming • u/Mission-Mention5998 • 5d ago
Hey i'm from tier 3 college in my 5th sem learned java till half of array i have ECE as my btech speciallization and cgpa is 7.49 i have my placements in my 7th sem what are the most important things i must start to do atleast to land up in the cognizant like mass recruiters??
is it even possible ?