I would say, yes, it is a good idea. In your situation, the only thing changing is that the back-end framework you're using is moving from using Node.js to using Java. You're still a web developer. Do you think you're gonna be using Node.js for the rest of your career? Probably not, and I would even argue, using Java environments will enhance your knowledge of Node.js environments. Also I think if the goal is continued growth as a software developer, it is pretty important to have substantial knowledge across different programming languages and environments, such as C, C++, Java, Python, and JavaScript. In this way, you're not just a code monkey implementing things in the one tool you are most familiar with, but able to think at an architect level and make higher-level decisions. If the worry is getting interviews later, I hate to say it but having impressive names on your resume can help. Or deploy an impressive project that gets many, many users. There are plenty of good developers but marketing yourself is one of the hardest things.

