[Tutor] java talking python

alan.gauld@bt.com alan.gauld@bt.com
Fri Feb 14 11:16:02 2003


> is it possible to use those classes defined in Python from 
> Java classes ??

Not easily. But using Jython you can freely mix Java and Python 
classes/objects because Jython translates Python code into Java 
byte code. Thus in Jython you can build a GUI in AWT or SWING 
then build the application using Python classes and link them 
together.

> is webapp development possible in python ??

Absolutely, see the cgi , urllib and html, xml etc modules

Also various frameworks exist for ASP style programming

And Zope exists as a full Web application server where 
the web application code is Pyton

http://www.zope.org

> can webapps written using java, servlets, jsp etc. can be 
> replaced with python code ??

Yes.

Alan G