You can certainly run django 1.0.2 in apache tomcat, jetty etc. See these:

http://docs.djangoproject.com/en/dev/howto/jython/
http://code.google.com/p/django-jython/

It's a bit slower  though (will fool anyone that it's a Java web app).


On Wed, Jul 22, 2009 at 11:58 PM, slypete<slyp...@gmail.com> wrote:
>
> Hi everyone,
>
> I'm looking for opinions on how to get Java and Python bidirectionally
> communicating . For example, I have a server written in Java that I'd
> like to have use my django model classes to insert database data and
> trigger events. In the other case, I'd like to call some java
> libraries I have when a user requests a page.
>
> For the first case, I'm interested in using jythonc. Has anyone had
> any success trying to compile django this way? If not, I suppose I
> could always resort to using the python interpreter; however, it would
> be nice to have this code compiled from the get go.
>
> In the second case, I'm not sure what to do at all. I looked at the
> PHP/Java bridge (don't let the name fool you), but it doesnt have very
> good documentation. I also had a look at JPype, but these dont seem to
> be the greatest solutions.
>
> My problem is, I don't know much about java servlets. Maybe I can just
> run django in a servlet engine like tomcat under Jython to get this
> working?
>
> Thanks for any help,
> Pete
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to