>From byte code (the compiled .class files) you can determine method names,
and their arguments.  There are several tools that can read class files, and
tell you what is in them:  JBuilder, and NetBeans/Forte come with class
viewers.  This won't tell you how the classes were implemented, but it will
expose the interface of the class.  You can also do this at runtime, by
calling object.getClass() and then using the methods of java.lang.Class

As far as decompiling classes go, all I am going to tell you is that it
would violate your license, and that it may be possible.

_____________________________________________
Pete Freitag
CTO, CFDEV.COM
http://www.cfdev.com/

-----Original Message-----
From: Ben Johnson [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 15, 2002 5:15 PM
To: CF-Talk
Subject: Looking into the Java Classes


All,
            I know some people have used the ColdFusion MX Java classes
directly (I believe Charlie had an article on this) and I was wondering
if someone could give some insight into how this can be done.  I'll be
the first to admit that I am not a Java expert, although I worked with
applets for a while just after Java came out so I have some
understanding.  I believe there was some talk about using the javadoc
tool to document them, but I received an error saying that it could not
find the source code for the JAR file.  Perhaps I'm doing it all
completely wrong.

            Also, aside from the legal issues, would disassembly be a
possibility?  I'm looking into a workaround for some problems concerning
Flash Remoting and I wanted to look into the low-level API to see if it
would offer any workaround.  The chances may be slim to none, but I'd
like to try anyways.

Thanks.


Ben Johnson
Information Architect
www.architekture.com
[p] 720.934.2179





______________________________________________________________________
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to