How to switch from PHP to Java and why it’s worth it?

Picture of Agnieszka Szyguła, Senior IT Talent Acquisition Specialist

Agnieszka Szyguła

Senior IT Talent Acquisition Specialist

10 minutes read

Despite being created over 25 years ago, Java continues to be one of the most popular enterprise coding languages. According to The PYPL Popularity of Programming Language Index in December 2022, Java is the second most popular programming language in the world. So, it’s no surprise that Java programming is one of the most sought-after skills in the IT market. And that’s why many software developers consider this direction for the next stage of their development. 

We spoke to Paweł Tatar, a Software Engineer who, after many years of working in PHP language, decided to switch his technological area and join VirtusLab as a Java Developer.

Why did you decide to change your career path?

The reason for this change was twofold. I have been working with Java devs for a long time. We got on very well, and I didn’t find Java that distinct from what I had done so far. There are a lot of similarities between Java and PHP. The second reason is, of course, financial issues since Java offers much better opportunities.

Why did you choose Java?

It was pretty obvious as Java seemed to be reasonably available to me. The methodology in PHP and Java is almost identical, and learning the syntax was not as difficult as one might think. Apart from that, many tools/frameworks work similarly:

php-java-table

PHP is generally considered to be simpler than Java. Do you agree with this?

Contrary to the stereotypes that PHP is a language of poorer quality, the differences between those two languages are not that significant. PHP has considerably improved in recent years and now allows for strong variable types, along with PHP frameworks that also have developed.

While thinking about the change, did you already know in which organization you want to work?

It is worth finding a flexible and understanding organization as a technology-changing programmer in the first months of work. A developer like this cannot do as much as a regular programmer. The key factor here is also the team that can significantly accelerate the whole implementation process. What broadened my knowledge greatly were regular feedback and my colleagues’ opinions. This is what I found in VirtusLab.

php-java-decor

How exactly did your career change look like? What did you start with? What materials did you use?

I am a self-thought type, so I used various sources and searched for a lot of information from both the Internet and books. I think this is the most effective path, as you can come across a wide variety of materials. I almost instantly deployed the acquired information and started writing simple scripts.

I also participated in a boot camp for students, but I didn’t find this form of learning suitable. The whole camp consisted of 6-8 meetings, 1.5 hours each, during which we were instructed on how to create Java applications. Those meetings took the form of lectures rather than practical classes. Later at home, we were supposed to do our own work, with the possibility of asking organizers specific questions.

In the process of exploration, it is worth trying various forms of learning and choosing the one that is best for you. I encourage you to search for interesting materials. Meanwhile, I can recommend:

  • Walls, Craig. Spring in Action. Publishing house: Helion, 2005.
  • Schildt, Herbert. Herb Schildt’s Java Programming Cookbook. New York: McGraw-Hill, 2008.

I consider a solid foundation enough to start regular work. That’s how I got my position in VirtusLab. Working on a commercial project here turned out to be a great success that accelerated my growth. 

How long do you think the whole cycle of switching from PHP to Java may take?

It seems to me that the full cycle takes about a year of work. After a few months as a Java Developer, I can provide about 60-70% of what more experienced people can do. Yet, on a daily basis, I still have to use documentation.

Liked the article?

Share it with others!

explore more on

Take the first step to a sustained competitive edge for your business

Let's connect

VirtusLab's work has met the mark several times over, and their latest project is no exception. The team is efficient, hard-working, and trustworthy. Customers can expect a proactive team that drives results.

Stephen Rooke
Stephen RookeDirector of Software Development @ Extreme Reach

VirtusLab's engineers are truly Strapi extensions experts. Their knowledge and expertise in the area of Strapi plugins gave us the opportunity to lift our multi-brand CMS implementation to a different level.

facile logo
Leonardo PoddaEngineering Manager @ Facile.it

VirtusLab has been an incredible partner since the early development of Scala 3, essential to a mature and stable Scala 3 ecosystem.

Martin_Odersky
Martin OderskyHead of Programming Research Group @ EPFL

VirtusLab's strength is its knowledge of the latest trends and technologies for creating UIs and its ability to design complex applications. The VirtusLab team's in-depth knowledge, understanding, and experience of MIS systems have been invaluable to us in developing our product. The team is professional and delivers on time – we greatly appreciated this efficiency when working with them.

Michael_Grant
Michael GrantDirector of Development @ Cyber Sec Company