Best unofficial Apache Server developers community
Username
Forgot password?
Sign in with Twitter account
Sign in with Facebook account

Choosing between Django-Apache and Java-Tomcat for a web application

0

42 views

Hi all,

In order to develop a web application that can easily scale, provide production stability, is easily deploy-able, and allows for fast development cycles, what points would you recommend I look at before choosing one or the other framework - using Java and Tomcat, or Django and Apache/Mod_WSGI?

Some pros and cons I could see immediately,

  • Tomcat apps are simple to deploy - drop a WAR file and you're done. Django apps seem to need more wrangling (Not sure if creating .egg files and dropping them in would work as well?)
  • Django's ORM seems much nicer than Hibernate - generates models directly compared to Hibernate's manual configuration files
  • Python as a language is faster to develop in, and much more concise than Java can be. (Of course, this is a relatively higher level discussion).

I've looked at Disqus's slides about scaling Django and am under no doubts it can be done. But would scaling a Django app be any harder than scaling a Java/Tomcat one?

I'm familiar with both Java and Python and the frameworks mentioned above, and it boils down to getting feedback those who've worked with either (or both) on scale.

Thanks!

asked March 15, 2011 9:40 pm CDT
posted via StackOverflow

1 Answers

0
 

I choose Python with Django, because it is better in deployment. You don't need build war. You only copy files on server and that's all.
Django is easily scalable and production stable. see this.

If you prefer Java look at Grails. But it has 2 minuses: building war and a lot of memory usage(200 mb without users).

answered March 16, 2011 7:28 am CDT

Your answer

Join with account you already have


Sign in with Twitter account
Sign in with Facebook account
Sign in with Google Friend Connect

Preview
Similar questions
Java/apache/tomcat
March 15, 2011