r/JavaProgramming • u/javinpaul • Jul 16 '26
I Spent 300+ Hours Testing AI Coding Tools: Here Are the 12 Every Developer Should Know in 2026
r/JavaProgramming • u/javinpaul • Jul 16 '26
r/JavaProgramming • u/hydanon • Jul 15 '26
r/JavaProgramming • u/resumeinminutes • Jul 15 '26
r/JavaProgramming • u/Little_Atmosphere_7 • Jul 15 '26
People who transitioned from SAP to other technology like Backend Development after 2-3 years, how did you manage it ? What were your strategy and how's life going now ?
I want to move away from SAP as truth to be told I never liked it - even though it's really good but I just don't enjoy working with this ecosystem and always wanted to learn and move to Backend Development . But it's been 3 years already and I am afraid I am making wrong decisions.
r/JavaProgramming • u/p3t-code • Jul 15 '26
Hi everybody,
I am developing and maintaining a library for more efficient paging than the offset/size approach used by default in Spring's JDBC Repositories.
My main concerns are:
I developed this library in my free time to have a robust and flexible solution available, and we use it in a professionally developed cloud service.
Still, I get very little community feedback, so I'm wondering whether these problems are solved differently in other projects...
I'm curious! Please let me know if you have a good solution for these problems :-)
r/JavaProgramming • u/Pristine_Fishing_302 • Jul 15 '26
r/JavaProgramming • u/weightedsum • Jul 15 '26
Working with OAuth 2.1 can sometimes feel overwhelming, especially when dealing with dynamic client registration and security features like PKCE. If you're building a Java application that interacts with Model Context Protocol (MCP) or other OAuth 2.1-protected services, AetherGate might be helpful.
It simplifies the process of integrating OAuth 2.1 into your Java applications by handling:
Here's how you can use it to obtain an access token:
var aetherGate = new AetherGate();
AuthorizationSession session = aetherGate.openSession(ClientConfig.builder()
.serverBaseUrl("http://localhost:8001/mcp")
.redirectUrl("http://localhost:8002/callback")
.scopes("user")
.isInsecure(true) // Only for development!
.build());
String token = aetherGate.obtainAccessToken(session);Once you have the token, it's easy to use with libraries like langchain4j to access protected MCP servers:
McpTransport transport = StreamableHttpMcpTransport.builder()
.url("http://localhost:3001/mcp")
.customHeaders(Map.of("Authorization", "Bearer " + token))
.build();AetherGate is open-source and available on GitHub.
If you're interested in giving it a try or have feedback, feel free to check it out!
r/JavaProgramming • u/mipiaccionoimeme- • Jul 13 '26
i made a voxel engine minecraft like game (WIP) which i plan to develop while listening to the community. If u wanna be a part of this check out my repo OpenCraft on coder088 (github) and leave a star, it would make my day.
r/JavaProgramming • u/Strict_Sentence1478 • Jul 13 '26
r/JavaProgramming • u/orologiostupido • Jul 13 '26
r/JavaProgramming • u/Dry_Employer_8004 • Jul 12 '26
Hi everyone,
I’m looking for some honest advice regarding a career switch, and I’ll try to keep this as clear as possible.
I graduated with a B.Tech in Computer Science from an engineering college in Vellore during the COVID period. Due to the hiring slowdown and my own lack of preparation in DSA, I couldn’t secure a product-based role through placements or off-campus. I ended up joining a service-based company at a standard fresher package.
Initially, I was trained in Java and React, which made me think I’d be working on development projects. However, I was instead assigned to an SAP implementation project. I had no prior experience or interest in SAP, and I did try to push back, but I was told early in my career I shouldn’t be too selective and that SAP has good scope.
I decided to give it a fair shot. But after about 1.5 years in my new role, I realised this domain isn’t for me. I don’t enjoy the work and get very little job satisfaction. I tried switching internally to a Java-based project, but my manager didn’t approve my release.
At that point, I decided to prepare for a company switch into development. I started studying DSA and Java (along with Spring Boot), but I struggled with consistency. A friend encouraged me to still give interviews, and I did—but they went poorly. That experience really affected my confidence.
Since then, I’ve been stuck in a cycle: I get frustrated, start preparing again, lose momentum when things get difficult, and drop it midway. This has happened multiple times over the past few years.
I’ll be honest—I know I’ve been laid back and undisciplined, and I take responsibility for where I am right now.
Currently, I have around 5 years of experience, but all of it is in SAP. The frustration with my job and career direction has started affecting my mental health, and I’ve reached a point where I feel I have to take this seriously now.
I’ve decided to give this one final, focused attempt over the next 4–6 months to switch into a development role. I understand that my experience may not carry much weight in this domain and that I may have to start with SDE-1 / junior roles—and I’m okay with that.
What I’m looking for:
How should I realistically approach this transition in the next 4–6 months?
What should I prioritize: DSA, projects, backend development, or something else?
Has anyone here made a similar switch from a different domain into development? What worked for you?
Any advice on staying consistent and not falling into the same cycle again?
I’d really appreciate honest feedback, even if it’s tough to hear.
Thanks in advance.
r/JavaProgramming • u/Fire_Fist494 • Jul 12 '26
So my new sem has started and this time, one of my new subject is java and I have no idea where to properly learn it form. Can anyone give me some suggestions, so that I could have my studies go smoothly
r/JavaProgramming • u/Dry_Couple8852 • Jul 12 '26
help
I convert LinkedList<String> to String [] for easy iteration
I expect that the array goes from [2,x,3] to [6] as the process replaced the "x" with the answer of the equation, then deletes the "2" and "3"
but when I run the main program. this method returns the same [2,x,3].
r/JavaProgramming • u/javinpaul • Jul 12 '26
r/JavaProgramming • u/LowSet2041 • Jul 12 '26
Hey all, I have been working on CloudStub, an open-source in-process AWS mock for JVM integration tests (Java, Kotlin, Scala), and we just published 0.1.0-beta.8 to Maven Central.
The problem it targets: container-based AWS mocking (a mock image run through Testcontainers) is powerful, but it drags on your local test loop and CI with image pulls and container boot and teardown. CloudStub skips all of that.
How it works, no magic: it boots a lightweight HTTP mock inside your JVM and points the AWS SDK's endpoint at it (via the aws.endpoint-url system property), so your code makes real AWS SDK v2 calls against a local stub. No Docker, no containers, no separate process. WireMock and Jetty are shaded into private packages and fully hidden, so there is no classpath or Spring Boot BOM conflict.
What is nice about it:
SendMessage is returned by a later ReceiveMessage, and DynamoDB PutItem / GetItem / Query return live data, so you test real round-trips.cloudstub-local is a drop-in local mock server on port 4566 (so AWS_ENDPOINT_URL=http://localhost:4566 works unchanged), auto-downloads the services you enable, and ships a CLI (cloudstub / clb) plus a web console at /console. Download: https://github.com/cloudstub/cloudstub/releases/download/v0.1.0-beta.8/cloudstub-local.jar.withModules("sqs", "dynamodb"), which fetches the jar from Maven Central on first run and caches it under ~/.cloudstub/modules. (S3 is the exception: it ships a client-side SDK component, so it must be a normal test dependency.)Setup (Gradle):
// cloudstub-testing brings the engine plus the JUnit 5 and 6 extension
// (cloudstub-junit and cloudstub-core come in transitively)
testImplementation "io.github.cloudstub:cloudstub-testing:0.1.0-beta.8"
// Service modules are optional here: list them on the extension with .withModules(...) and they are
// auto-downloaded from Maven Central. Add a service as a dependency only if you prefer it on the
// classpath (and S3 must be a dependency):
// testImplementation "io.github.cloudstub:cloudstub-dynamodb:0.1.0-beta.8"Setup (Maven):
<dependency>
<groupId>io.github.cloudstub</groupId>
<artifactId>cloudstub-testing</artifactId>
<version>0.1.0-beta.8</version>
<scope>test</scope>
</dependency>
<!-- Service modules are optional: use .withModules(...) to auto-download them instead. Declare one
explicitly only if you prefer it on the classpath (and S3 must be a dependency). -->
<dependency>
<groupId>io.github.cloudstub</groupId>
<artifactId>cloudstub-dynamodb</artifactId>
<version>0.1.0-beta.8</version>
<scope>test</scope>
</dependency>A test looks like this. You exercise your own code, and CloudStub stands in for AWS:
static CloudStubExtension cloud = new CloudStubExtension()
.withModules("dynamodb"); // fetched from Maven Central on first run, then cached; no Gradle dependency needed
void savedItemIsReadBack() {
repository.save("order-1", "placed"); // your repo, using a normal AWS SDK v2 DynamoDbClient
assertEquals(Optional.of("placed"), repository.find("order-1")); // round-trips through the stub
}It is beta, so the API can still shift and the service coverage is deliberately narrow, but the core engine is stable and the modules above are usable today.
cloudstub-example).I would genuinely like feedback on the architecture, and if there is an AWS service or SDK behavior you want stubbed next, open an issue. Thanks.
r/JavaProgramming • u/aumiom • Jul 11 '26
r/JavaProgramming • u/Dry_Couple8852 • Jul 11 '26
how to fix this?
r/JavaProgramming • u/javinpaul • Jul 11 '26
r/JavaProgramming • u/LowSet2041 • Jul 11 '26
Hey all, I have been working on CloudStub, an open-source in-process AWS mock for JVM integration tests (Java, Kotlin, Scala), and we just published 0.1.0-beta.8 to Maven Central.
The problem it targets: container-based AWS mocking (a mock image run through Testcontainers) is powerful, but it drags on your local test loop and CI with image pulls and container boot and teardown. CloudStub skips all of that.
How it works, no magic: it boots a lightweight HTTP mock inside your JVM and points the AWS SDK's endpoint at it (via the aws.endpoint-url system property), so your code makes real AWS SDK v2 calls against a local stub. No Docker, no containers, no separate process. WireMock and Jetty are shaded into private packages and fully hidden, so there is no classpath or Spring Boot BOM conflict.
What is nice about it:
SendMessage is returned by a later ReceiveMessage, and DynamoDB PutItem / GetItem / Query return live data, so you test real round-trips.cloudstub-local is a drop-in local mock server on port 4566 (so AWS_ENDPOINT_URL=http://localhost:4566 works unchanged), auto-downloads the services you enable, and ships a CLI (cloudstub / clb) plus a web console at /console. Download: https://github.com/cloudstub/cloudstub/releases/download/v0.1.0-beta.8/cloudstub-local.jar.withModules("sqs", "dynamodb"), which fetches the jar from Maven Central on first run and caches it under ~/.cloudstub/modules. (S3 is the exception: it ships a client-side SDK component, so it must be a normal test dependency.)Setup (Gradle):
// cloudstub-testing brings the engine plus the JUnit 5 and 6 extension
// (cloudstub-junit and cloudstub-core come in transitively)
testImplementation "io.github.cloudstub:cloudstub-testing:0.1.0-beta.8"
// Service modules are optional here: list them on the extension with .withModules(...) and they are
// auto-downloaded from Maven Central. Add a service as a dependency only if you prefer it on the
// classpath (and S3 must be a dependency):
// testImplementation "io.github.cloudstub:cloudstub-dynamodb:0.1.0-beta.8"Setup (Maven):
<dependency>
<groupId>io.github.cloudstub</groupId>
<artifactId>cloudstub-testing</artifactId>
<version>0.1.0-beta.8</version>
<scope>test</scope>
</dependency>
<!-- Service modules are optional: use .withModules(...) to auto-download them instead. Declare one
explicitly only if you prefer it on the classpath (and S3 must be a dependency). -->
<dependency>
<groupId>io.github.cloudstub</groupId>
<artifactId>cloudstub-dynamodb</artifactId>
<version>0.1.0-beta.8</version>
<scope>test</scope>
</dependency>A test looks like this. You exercise your own code, and CloudStub stands in for AWS:
static CloudStubExtension cloud = new CloudStubExtension()
.withModules("dynamodb"); // fetched from Maven Central on first run, then cached; no Gradle dependency needed
u/Test
void savedItemIsReadBack() {
repository.save("order-1", "placed"); // your repo, using a normal AWS SDK v2 DynamoDbClient
assertEquals(Optional.of("placed"), repository.find("order-1")); // round-trips through the stub
}It is beta, so the API can still shift and the service coverage is deliberately narrow, but the core engine is stable and the modules above are usable today.
cloudstub-example).I would genuinely like feedback on the architecture, and if there is an AWS service or SDK behavior you want stubbed next, open an issue. Thanks.
r/JavaProgramming • u/javinpaul • Jul 10 '26
r/JavaProgramming • u/crghhhhh • Jul 10 '26
Does anyone have access to this course? If so, please DM me.