closed source
Alan Kennedy
alanmk at hotmail.com
Thu Oct 23 06:31:20 EDT 2003
Michael Hudson wrote:
> I wonder what a Java decompiler would make of compiled-from-Jython
> bytecode... would look a bit like the output of Python2C except in
> Java, I guess.
I'm using jython to script Apache Axis.
Axis has the ability to derive WSDL from a web service implementation
class, by reflecting on the class and generating the relevant WSDL
document.
If you use a jython object as the implementation class, the generated
WSDL is quite a mess, in that it contains WSDL declarations for all
the methods that implement jython interpretation.
In order to clean up the generated WSDL, I made a simple skeleton java
class that implements the web service, and that delegates all calls to
an instance of the jython class that actually implements the service.
I could imagine that decompiled jythonc'ed jython classes would be
quite hard to understand, especially if you're not familiar with
jython.
But certainly not impossible. It's more of a hindrance than a
showstopper.
--
alan kennedy
-----------------------------------------------------
check http headers here: http://xhaus.com/headers
email alan: http://xhaus.com/mailto/alan
More information about the Python-list
mailing list