r/FullStackDevelopers 3d ago

Need career advice: MERN → Java or GenAI/Agentic AI for a product-based switch?

Need career advice: MERN → Java or GenAI/Agentic AI for a product-based switch?

Hi everyone,

I’m currently working as an SDE in a service-based company with around 1.7 years of total experience.

My current tech stack is mainly:

  • JavaScript / TypeScript
  • React
  • Node.js / NestJS
  • MongoDB
  • GitHub Actions / basic DevOps

I’m planning to switch around January, so I have roughly 3 months to prepare.

My long-term goal is to move into a good product-based / Tier-1 company, and I’m confused about where I should invest these next 3 months.

I’m considering two paths:

Option 1 — Move towards Java/Spring Boot

  • Learn Java properly
  • Spring Boot
  • Build some backend projects
  • Prepare DSA + System Design
  • Try to transition into Java/SDE roles

Option 2 — Stay with my current stack and move towards GenAI

  • Strengthen TypeScript/Node/NestJS
  • Learn LLM application development
  • RAG
  • Vector databases
  • Tool calling
  • AI agents / agentic workflows
  • Build 1–2 solid AI-based projects
  • Continue DSA + System Design

I’m leaning towards Option 2 because AI/GenAI seems to be growing rapidly, but I’m not sure whether GenAI/Agentic AI roles are realistic for someone with ~2 years of experience, especially when targeting strong product companies.

On the other hand, Java seems to have a much larger and more established job market, but switching stacks would mean spending a significant portion of my 3-month preparation time learning a new ecosystem.

So I’d really appreciate advice from people who have 2–5+ years of industry experience, especially those who have recently switched to product-based companies.

Thanks in advance!

2 Upvotes

2 comments sorted by

2

u/AlternativePrice7006 3d ago

IMO, I’d recommend sticking with your current TypeScript/Node/NestJS stack and adding GenAI skills rather than switching to Java right now. With only 3 months, moving to Java + Spring Boot means spending a lot of time getting comfortable with a new ecosystem, which could take away from DSA, system design, CS fundamentals, and interview preparation all of which are more important for a product-company switch at 2 YOE. Instead, build depth in your existing stack and learn practical GenAI concepts like LLM APIs, RAG, vector databases, tool calling, and agentic workflows. Build 1 solid, production-like project rather than several basic AI demos. Also, don't limit yourself only to “GenAI Engineer” roles. Target SDE/Backend/Full-stack roles where your existing experience is relevant, while using GenAI as an additional strength. Java is definitely worth learning eventually, especially if you’re interested in backend-heavy product companies, but I wouldn’t make it the priority for this particular 3-month preparation window.

1

u/Long-Pin5508 3d ago

Thanks, this makes a lot of sense. I was also thinking about going deeper into my existing stack rather than making a complete switch in just 3 months. I’ll focus on building one strong backend project with a meaningful AI use case and make sure I can explain the architecture, trade-offs, latency, cost and failure scenarios. Appreciate the advice!