Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

python vs java on web service development?

Tags:

java

python

i am currently using php as backend language in webdevelopment. but im wondering what you need to install to get running with python and java.

with php i need apache and mysql.

can i use those for java and python too?

i cant find good guides equivalent to LAMP/MAMP/WAMP so i understand the parts when using either java or python. would be great if you could give me some good links on the installation and what is required.

and i have read that its easier with python. but is this the only advantage of using python instead of java. cause with java i can create java applets, desktop and mobile applications. they all tend to have java installed. but not python.

so why should i use python instead of java.

like image 358
ajsie Avatar asked Jan 07 '10 10:01

ajsie


2 Answers

I can only give suggestions for web development in python:

  • Use Tornado - A non blocking web server.
  • Use Jinja2 - A templating engine.
  • Use MongoDB - A schema less database server | You can also use any RDBMS according to your requirement.

Above 3 tools are enough to build a web application in python.

or you can always choose Django - The giant web framework with all the features required to build a scalable web application in python.

like image 134
aatifh Avatar answered Sep 30 '22 14:09

aatifh


You need to look into the Web Application Framework subject. Some SO pointers:

  • simple-webserver-or-web-testing-framework
  • web-application-frameworks-c-vs-python
  • django-vs-other-python-web-frameworks
  • what-web-application-framework-for-java-is-recommended
  • can-anyone-recommend-a-simple-java-web-app-framework
  • ...

Good luck.

like image 42
gimel Avatar answered Sep 30 '22 13:09

gimel