1

I am building website with Python and django. There are ome data mining classes already programmed in java. Can i use those function in djnago via anything like

2
  • I'd port them to python. Commented Jul 10, 2011 at 12:43
  • 2
    Good question. SO seems to have gone nuts today Commented Jul 10, 2011 at 12:58

1 Answer 1

1

Try running Django on Jython. I believe it should be possible to integrate Java classes in such way.

Sign up to request clarification or add additional context in comments.

4 Comments

I was not able to read full docs but suppose i already have django running under linux. I have many python modules installed and many django apps. WIll i have recode everything in Jython is i can install jython and django , files , apps can stay same. Is that the case???
@user825904: That's good question. For sure you don't need recode everything, however check this answer (stackoverflow.com/questions/471000/jython-and-python-modules/…).
Thanks buddy , i need to read full docs to see what it supports
You could run a separate Jython process to use the data mining classes and then communicate between Python and Jython with execnet, then you don't have to port your whole application for one feature.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.