From: Alexander S. <ast...@ma...> - 2007-01-05 19:11:27
|
I have read with great interest and benefit the articles on using jython from java without using jythonc. I also note that there seems to be a general desire to get away from needing jythonc in as many places as possible. One use I have made of jythonc is to distribute applications packaged as a single jar file. It occurs to me that it may be possible to create a java wrapper to implement a "jython application launcher" somewhat analogous to the "jython object factory" described in October's jython monthly (http:// wiki.python.org/jython/JythonMonthly/Articles/October2006/3) and combine this with One-Jar (http://one-jar.sourceforge.net/). The jython source files would be resources in the jar. If this idea worked it also has the potential to allow a splash screen on start up under SE6. From what I describe does making an application jar without jythonc sound feasible? I am interested in exploring the implementation but I suspect I will get out of my depth and I would appreciate criticism of my code. If I can get the bare-bones of something together would it be appropriate to post an "exploratory" article to jython monthly to actively solicit others contributions/criticisms with the express intent of evolving the article over time? Any thoughts or comments much appreciated, Alex Stoddard |