To better align with the tech stack at my new job, I’ve been reacquainting myself over the last two weeks with an old friend: Java. Not too long ago, it kickstarted my software career with unmatched zeal and vigor. This journey lasted for roughly two-and-a-half years but soon diminished with the advent of containers and microservices. Fast-forward to today, and it’s been three years now since I last wrote any serious Java code. And in all honesty, I never expected it to see it again — especially in the microservices landscape.
So, what happened? The answer is simple: The pervasive wave of microservices engulfed us.
- Ease of scaling
- High availability
- Simpler code base from not having to worry about concurrency and multi-threading
- Portability benefits from containerization
All of these factors prompted us to question the efficacy of Java (more specifically, JVM), not to mention its most notorious framework, Spring.
At times, with hands immersed in tech like Kubernetes, it felt like Java’s time was almost over and that it didn’t hold up well in the ecosystem of containers and microservices (which was key to software scalability and high availability). But as a once-staunch supporter of Java — and despite having been swayed by the simplicity and elegance of languages like Python (which has now grown to become my go-to language) — I still continued to hold a reserve for some of Java’s undeniable merits.
网友评论