0

I'm trying to figure out how I might go about running two different servers at the same site.

In particular, I want to use Django/Apache for most of my URLs, but for one URL I'd prefer to use Java (for performance and to leverage a particular third-party library).

For example,

www.website.com/user/80     is-handled-by    Django
www.website.com/groups      is-handled-by    Django
www.website.com/getResult   is-handled-by    Java

will be handled by Django, but

would be handled by a Java backend.

Now I'm quite willing to accept alternative solutions - for example, perhaps it's best to just run the Java code using Python's subprocess module.

If this is possible, how would I go about configuring it, and which Java server will work best?

4

0 回答 0