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
Jonathan Hall
80.5k19 gold badges163 silver badges207 bronze badges
asked Jul 10, 2011 at 12:34
Mirage
31.7k64 gold badges173 silver badges266 bronze badges
-
I'd port them to python.Rob Cowie– Rob Cowie2011年07月10日 12:43:58 +00:00Commented Jul 10, 2011 at 12:43
-
2Good question. SO seems to have gone nuts todayRob Cowie– Rob Cowie2011年07月10日 12:58:57 +00:00Commented Jul 10, 2011 at 12:58
1 Answer 1
Try running Django on Jython. I believe it should be possible to integrate Java classes in such way.
answered Jul 10, 2011 at 12:38
Grzegorz Szpetkowski
38.2k6 gold badges94 silver badges140 bronze badges
Sign up to request clarification or add additional context in comments.
4 Comments
Mirage
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???
Grzegorz Szpetkowski
@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/…).
Mirage
Thanks buddy , i need to read full docs to see what it supports
default