Which justifies using Java over Django / Python, PHP, etc. For the internet?

I am currently studying the structure of Spring and JDBC (rethinking this because I really want to understand Hibernate) to make some web development / web services a summer intern. I have been curious for some time about what advantages Java / Spring (or just Java EE, for that matter) has more than Django, Rails, PHP, etc.

As far as I can see, the latter framework is much more effective for rapid development, and some of them are quite impressive. Based on one of the posts here:

Web: When should you consider using Java, not PHP, Python / Django, Ruby / Rails, etc.?

There is actually no obvious benefit to using Java. The answer is always "depending on who you like best." But I'm interested in knowing which aspects of using Java frameworks outperform the capabilities of the other frameworks listed and vice versa.

+6
source share
1 answer

Nothing. Rails, PHP, and all Python frameworks can provide you with a productive environment that will work well and scalable. The Spring structure is very mature, and the learning curve is a little steeper - I believe that in one of its main samples there are 55+ jar files. Any experienced programmer will tell you that at some point you will spend some time with each of them if you create a non-trivial web application.

What Spring buys you, as a rule, is a rather complicated structure for creating enterprise applications, for example. when you work with distributed systems and need to handle complex communications between applications.

So, a compromise within the framework is support for functionality and ease of use. There is no a priori evidence or justification for any superiority in a career, and good developers usually work in any of them.

+8
source

Source: https://habr.com/ru/post/906810/


All Articles