From: dman <ds...@ri...> - 2001-12-27 03:52:51
|
On Wed, Dec 26, 2001 at 03:40:10AM -0500, Niranjan V. wrote: | Out of the two approach listed below for developing an Application, | which is better? | | 1) Converting the python classes into java classes using jythonc and | importing those java classes to handle events generated in GUI(done | using swing). Basically by using this approach the end product will | be an java application. | | | 2) Using swing libraries of java, writing the code in the jython. | Basically in this approach the end product will be an python | application. | | | It seems to me that first approach is better as the application can | be developed by java and python developers independently to maximum | extent(leaving behind the conversion part). | | can i get some suggestions abt the same. Both approaches sound the same, just a matter of how the app is distributed in the end. Some things I've noticed : o jython code is easier to write than java o jythonc isn't terribly fast o jythonc has some issues (but this may have been fixed) if you try to develop a library/core functionality in jython and drive it from java I recommend following the KISS principle and just writing the thing in jython, then using jythonc to distribute it in the end if you want to. -D -- Python is executable pseudocode. Perl is executable line noise. |