ModjyIndex
Version 2 (Alan Kennedy, 03/15/2009 09:13 pm)
| 1 | 1 | h1. A WSGI server for jython |
|
|---|---|---|---|
| 2 | 1 | ||
| 3 | 1 | h2(#intro). Introduction to modjy |
|
| 4 | 1 | ||
| 5 | 1 | ||
| 6 | 1 | Python *Web Server Gateway Interface*, as specified in "PEP-333":http://www.python.org/dev/peps/pep-0333/, is a ??simple and universal interface between web servers and [python] web applications or frameworks??. |
|
| 7 | 1 | ||
| 8 | 1 | Modjy is an implementation of a WSGI compliant gateway/server for jython, built on "Java/J2EE servlets":http://java.sun.com/products/servlet/. Which means that |
|
| 9 | 1 | ||
| 10 | 1 | ||
| 11 | 1 | # Jython WSGI applications run inside a Java/J2EE servlet container, e.g. "Apache Tomcat":http://tomcat.apache.org/ |
|
| 12 | 1 | # Incoming requests are handled by the servlet container |
|
| 13 | 1 | # The container is configured to route requests to the modjy servlet |
|
| 14 | 1 | # The modjy servlet creates an embedded jython interpreter inside the servlet container, and loads a configured jython web application, e.g. "Django":http://www.djangoproject.com/, ??the web framework for perfectionists with deadlines??. |
|
| 15 | 1 | # The modjy servlet delegates the requests to the configured WSGI application or framework. |
|
| 16 | 1 | # The WSGI response is routed back to the client through the servlet container. |
|
| 17 | 1 | ||
| 18 | 1 | ||
| 19 | 1 | For further information about WSGI, see "wsgi.org":http://wsgi.org. For a detailed specification of WSGI see "PEP-333: Python Web Server Gateway Interface, version 1.0":http://www.python.org/dev/peps/pep-0333/. |
|
| 20 | 1 | ||
| 21 | 1 | ||
| 22 | 1 | ||
| 23 | 1 | ||
| 24 | 1 | h2(#toc). How to use modjy |
|
| 25 | 1 | ||
| 26 | 1 | ||
| 27 | 1 | ||
| 28 | 1 | # See the [[ModjyDownload|download]] page to find out how to get hold of modjy. |
|
| 29 | 1 | # See the [[ModjyInstall|install]] page to read about installing modjy |
|
| 30 | 1 | # See the [[ModjyConfiguration|configuration]] page to read about the various configuration options available to you for configuring modjy |
|
| 31 | 1 | # See the [[ModjyLocateCallables|loading applications]] page to find out about the different mechanisms that modjy can use to locate and load WSGI callable objects |
|
| 32 | 1 | # See the [[ModjyWSGI|WSGI]] page for a discussion of how modjy complies with the WSGI standard. |