On Apr 15, 2009, at 5:51 PM, Matthew Kidd wrote:


I ask this because in my efforts to decompile a webobjects application from circa 2002 or 2003 I've encountered more errors than I care to deal and then I had an idea. If I could compile one java file, the only one I actually need to change, via commandline and swap the resulting .class files would the associated WO file be able to use it?

Yes, if you don't change the API.


Or, is something done behind the scenes that I'm not readily able to see that connects the method calls in the WO to the methods in the java and .class file?

No, it is just done by name and visibility.


I realize I would need the same jdk but I'll attack that hurdle next if this is a plausible solution.

Thanks for any help or ray of hope you may be able to provide.

Hope that helps. If you get extra desperate, you could get all medieval on it: http://www.csg.is.titech.ac.jp/~chiba/javassist/

Where there is a will....

Chuck


--
Chuck Hill             Senior Consultant / VP Development

Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/products/practical_webobjects






_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to