Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What justifies using Java over Django/Python, PHP, etc. for the web? [closed]

I'm currently studying the Spring framework and JDBC (re-studying this because I really, really want to understand Hibernate) to do some web development/web services as a summer intern. I've been curious for quite some time about what advantages Java/Spring (or just Java EE for that matter) has over Django, Rails, PHP, etc.

As far as I can see, the latter frameworks are far more effective for rapid development and some of them scale quite impressively. Based on one of the posts here:

Web: When should I consider using Java rather than PHP, Python/Django, Ruby/Rails, etc?

There really is no obvious benefit to using Java. The answer is always "whichever one you feel most comfortable with." But I am interested in seeing what aspects of using Java frameworks is superior to that of the other listed frameworks and vice versa.

like image 812
harryo Avatar asked Jan 25 '12 03:01

harryo


People also ask

Which is better Django or Java?

Both frameworks have almost identical characteristics. So, if you're excellent with Java, Spring Boot is a good choice for your project. But, if you're good with Python, Django is a fantastic choice. If you change your technology, you will find it difficult to adapt to the new technology.

Why Django is the best web framework for your project?

Django is the best framework for web applications, as it allows developers to use modules for faster development. As a developer, you can make use of these modules to create apps, websites from an existing source. It speeds up the development process greatly, as you do not have to code everything from scratch.

Is Django still used for web development?

Django is now a thriving, collaborative open source project, with many thousands of users and contributors. While it does still have some features that reflect its origin, Django has evolved into a versatile framework that is capable of developing any type of website.

Which is better Django or PHP?

Conclusion. Django is a great and popular framework with support for advanced technologies like machine learning. On the other hand, PHP is an easy-to-learned programming language that can create web applications.


1 Answers

Nothing. Rails, PHP, and all of the Python frameworks can provide you with productive environments that perform well and scale. The Spring Framework is very mature and the learning curve is a bit steeper - I believe there are 55+ jar files in one of their most basic samples. Any experienced programmer will tell you that you are going to spend some time with each of them at some point, if you build a non-trivial web app.

What Spring buys you, generally, is a fairly sophisticated framework for building enterprise apps, e.g. when you are working with distributed systems and need to handle complex communications between apps.

So, the trade-off in frameworks is between support for functionality and ease of use. There's no a priori proof or justification of any framework's superiority, and good developers are generally productive in any of them.

like image 121
CM_Expat Avatar answered Oct 26 '22 01:10

CM_Expat