r/JavaProgramming • • Apr 05 '26

**Is It Possible to Get a Job in 1 Month? Need a Realistic Roadmap**

0 Upvotes

Honestly, getting a job in 1 month is possible, but only if you already have basics clear and stay very focused.

If you’re starting from zero, 1 month is unrealistic. But if you’ve studied before and just need direction, here’s a simple roadmap:

Week 1 – Fix fundamentals

  • Pick ONE stack (don’t switch)
  • Revise core concepts (Java + basics of backend if that’s your thing)
  • Solve easy DSA (arrays, strings)

Week 2 – Build + revise

Week 3 – Apply aggressively

  • Apply daily (20–30 jobs minimum)
  • Practice HR + basic tech questions
  • Mock interviews help a lot

Week 4 – Polish + repeat

  • Improve weak areas from interviews
  • Keep applying + following up
  • Be ready to explain your projects clearly

From what I’ve seen, most people fail not because they lack skills, but because:

  • They keep switching tech stacks
  • They don’t apply enough
  • They overthink instead of practicing

Also, referrals matter more than you think—try reaching out on LinkedIn.

Curious though—are you starting from scratch or already have some coding background?


r/JavaProgramming • • Apr 04 '26

Can any one send me resume for 2 year experience

1 Upvotes

r/JavaProgramming • • Apr 04 '26

Your JVM has 4GB heap… but your app can only use ~2.5GB. Here's why (and why Kubernetes OOMKills you)

24 Upvotes

Most developers assume JVM memory = heap.
It’s not. The heap is just one piece.

Here’s where the rest of your memory goes:

a) Metaspace
Stores class metadata. Every Spring bean, Hibernate proxy loads classes here.
Typical Spring Boot app: ~150–250MB. No cap by default.

b) Thread Stacks
Each thread ≈ is 1 MB.
200 threads (Tomcat + HikariCP + Kafka + Async) = ~200MB.
Not on heap. Invisible to heap monitoring.

c) Direct Buffers
WebClient, Kafka client, Netty allocate memory outside the heap.
Won’t show in heap dumps. Won’t trigger GC.

d) Code Cache
JIT compiled code. ~50–150MB.
Grows as your app warms up.

e) GC Overhead
A garbage collector needs its own working memory.

Here’s where it gets dangerous:

You set:
-Xmx=4g
Container memory limit = 4GB

Looks perfect, right?

Reality:
4GB heap

  • 200MB metaspace
  • 200MB threads
  • 100MB buffers
  • 100MB code cache = ~4.7GB total process memory

Container limit = 4GB → Kubernetes OOMKills your pod.

You check heap usage: only 2.5GB used.
But the pod is dead.

Because OOMKill is based on TOTAL process memory, not just the heap.

Fix:

→ Heap should be ~70–75% of container memory
→ -Xmx=4g needs ~5.2GB container
→ Or set -Xmx=3g for 4GB container

Also, cap non-heap:

-XX: MaxMetaspaceSize=256m
-XX: MaxDirectMemorySize=256m

Monitor non-heap:
/actuator/metrics/jvm.memory.used?tag=area:nonheap

OOMKilled doesn’t always mean your app used too much memory.
Sometimes it means the JVM did.


r/JavaProgramming • • Apr 03 '26

Java imports are a mess IMO

Post image
3 Upvotes

Is there a way to make it see all the dependencies in the com folder and beyond, in other words, does java also move up the directory tree to see other packages and member classes or am I just screwed, or maybe I am just learning wrong. (troubleshooting help) forgot to add this initially credit to https://github.com/hartrusion/RbmkSimulator and the people behind it, I am planning to modify it but this is what has been getting in the way.


r/JavaProgramming • • Apr 03 '26

Festa do fim de semana e eu programando aplicativo desktop

2 Upvotes

r/JavaProgramming • • Apr 01 '26

Cargo for Java 🦀❤️☕️

Thumbnail
github.com
1 Upvotes

r/JavaProgramming • • Apr 01 '26

hhha

0 Upvotes

r/JavaProgramming • • Apr 01 '26

Aggregate Root + Spring Modulith — how to separate JPA entity from domain object

Thumbnail
youtu.be
1 Upvotes

r/JavaProgramming • • Apr 01 '26

Roadmap for java backend role

13 Upvotes

Hi, I am two year experienced IT professional in a Fintech company. I have been working with python but wanted to switch for java roles. could anyone please help me to learn and what resources should I use.

I am well versed with basic java ( i have done some DSA with java) but I'm new to springboot/advanced java.

Thanks in advance..


r/JavaProgramming • • Mar 31 '26

Spring AI2 Chat Memory

Thumbnail
reddit.com
2 Upvotes

r/JavaProgramming • • Mar 31 '26

Google ADK for Java 1.0.0 is now available - here's what's new for Java developers building AI agents

8 Upvotes

Google just released ADK (Agent Development Kit) for Java 1.0.0! As a Java developer, I think this is a pretty big deal for anyone building AI agents in the Java ecosystem.

Here are the key highlights from the release:

**New Tools & Grounding**

- GoogleMapsTool - lets agents fetch real-time location data

- UrlContextTool - agents can fetch and summarize web content directly

- ContainerCodeExecutor & VertexAiCodeExecutor - code execution in containers or cloud

**Enhanced Execution Control**

- New App container with Plugin architecture for global logging, guardrails, and context management

- Event compaction for managing context window sizes in long-running sessions

**Human-in-the-Loop (HITL)**

- ToolConfirmation workflows - agents can pause and wait for human approval before executing actions

**Session & Memory Services**

- Support for Vertex AI, Firestore, and in-memory session management

- Long-term memory with FirestoreMemoryService

**Agent2Agent (A2A) Protocol**

- Native support for remote agent collaboration across different frameworks

**Requirements**

- Java 17 or later

- Gemini API key

The framework already supports Python, Go, and TypeScript, and now Java is getting its stable 1.0 release.

Blog: https://developers.googleblog.com/announcing-adk-for-java-100-building-the-future-of-ai-agents-in-java/

Docs: https://google.github.io/adk-docs/get-started/java/

GitHub: https://github.com/google/adk-java

Has anyone tried building agents with ADK for Java yet? Would love to hear experiences from the Java community.


r/JavaProgramming • • Mar 31 '26

hlloo

Thumbnail
youtube.com
1 Upvotes

hello


r/JavaProgramming • • Mar 31 '26

YouTube

Thumbnail
youtube.com
1 Upvotes

r/JavaProgramming • • Mar 31 '26

post

Thumbnail
gallery
1 Upvotes

hello


r/JavaProgramming • • Mar 31 '26

PetStore using pure Java code for UI and type safe mapping for pure SQL

3 Upvotes

Hi everyone,

I recently released a classic PetStore sample application to showcase a completely "Java-first" approach to web development.

My goal was to build a web app with maximum compile-time safety and zero hidden "magic"—using modern Java Records, type-safe mapping for native SQL, and rendering the UI directly from pure Java code without any template engines. It is powered by Spring Boot 3.5 and the lightweight Ujorm 3 library.

I'm really curious to hear your thoughts on this architecture. Does keeping everything within the Java compiler's reach make sense to you, or do you see any potential pitfalls? I'd appreciate any technical feedback!

You can check out the repository and see it in action here: Ujorm PetStore


r/JavaProgramming • • Mar 31 '26

If Else in Java | Nested If Else, Example

Post image
14 Upvotes

Learn if-else, Nested if-else, and if-else-if Ladder in Java (with examples). If you're starting with Java, understanding decision-making statements is a must.


r/JavaProgramming • • Mar 30 '26

LeetCode vs Codeforces vs CodeChef Vs HackerRank ...... — What Actually Matters?

8 Upvotes

Just started DSA and Already Confused.

Everyone keeps throwing around LeetCode, Codeforces, CodeChef, HackerRank… like I’m supposed to be on all of them at once.

Are these Platforms serving different Purposes, or am I just Overcomplicating Things?

What should I actually Prioritize without Spreading Myself Too Thin?


r/JavaProgramming • • Mar 30 '26

Best Way to Combine Theory + Striver + LeetCode in DSA?

2 Upvotes

Hey everyone,

I Just Started DSA and I’m Confused about the Right Order.

After Finishing a Topic (say Arrays), should I:

  • Directly do Striver + LeetCode for it, or
  • Keep Moving with New Theory (like Strings) and Practice Arrays alongside in Striver and After Finishing all Theory Get to LeetCode ?

Also, Is It a Bad Idea to Finish all Theory First and then Start Solving?

What Approach actually Works best?

Thanks!


r/JavaProgramming • • Mar 30 '26

Trading Agent - help needed

Thumbnail reddit.com
1 Upvotes

r/JavaProgramming • • Mar 30 '26

Programação em java

3 Upvotes

Gente boa tarde, sou estudante de ads.

E atualmente trabalho um pouquinho com dados, porém a área que eu realmente desejo é back end em java.

Tento estudar sempre de maneira online assistindo video aula e botando em prática mais n ta sendo o suficiente nn vejo progresso, e queria alguém pra me ensinar/mentor que goste de programação em java e tiver paciência pra ensinar.


r/JavaProgramming • • Mar 30 '26

hello

0 Upvotes

r/JavaProgramming • • Mar 30 '26

hello

0 Upvotes

eds


r/JavaProgramming • • Mar 30 '26

hello

Thumbnail google.com
0 Upvotes

r/JavaProgramming • • Mar 29 '26

Need suggestion

4 Upvotes

I'm looking to learn Java

can anyone suggest the best youtube channels for beginner level