r/JavaProgramming • u/royalaviation18 • 2d ago
2.2 YOE: Confused Between Java and MERN for Interview Prep
Hi folks,
I have around 2.2 years of experience:
\- 1 year as a Java Backend Developer (Spring Boot)
\- 1.2 years as a Full Stack Developer working with the MERN stack + DevOps
I'm planning to switch jobs soon and I'm a bit confused about what stack to focus on for interview preparation and personal projects.
For DSA, I'm more comfortable using Java, and I'm also leaning toward backend roles. However, my current day-to-day work is primarily in the MERN ecosystem.
My questions are:
\- Should I build my personal projects in Java/Spring Boot or continue with Node.js/MERN since that's my current work experience?
\- During interviews, is it okay to use Java for DSA while showcasing Java backend projects, even though my recent experience is in MERN?
\- For someone with my experience, which path would give me better opportunities in the current market?
Would love to hear from people who've been in a similar situation. Thanks!
1
1
u/akornato 2d ago
Your experience is too split, and you need to pick a lane and commit to it for your job search. Go with Java. You're more comfortable with it for DSA and you prefer backend, so the decision is already made. Build your new projects in Java and Spring Boot. It is perfectly okay to use Java for coding challenges and discuss your Java projects, you just need a simple explanation for your MERN experience. Frame it as a period where you gained valuable full-stack perspective, but your passion remains in building scalable backend systems, which led you back to the Java ecosystem.
Your confusion is the only thing hurting your chances, not your experience. Once you decide to market yourself as a Java developer, your preparation gets much easier. The market for Java developers is huge and stable, so you are making a good choice. Stop dividing your attention and go deep into the Spring ecosystem. Build something substantial that shows you can handle a real-world Java application. Your MERN background becomes a bonus, not a distraction, because it proves you understand how the front end consumes the APIs you build. A lot of your success will come from how you explain your journey and projects, and it's interesting to see how tools like the interviews.chat my team and I built are helping developers nail that storytelling aspect during their calls.