Is it possible, using existing utilities, to generate bytecode from java source at run-time without actually writing any .java or .class files to the filesystem?
Jeff, can cglib generate classes from java source? I couldn't find a way to do that.
Ulf, I noticed that the JavaAssist library allows the creation of methods from source codes, but can it create an entire class given the contents of a .java file? We're thinking of using a java source generator like Axis' WSDL2Java to generate java source code, but in memory instead of on the file system. Then we would compile the source into a bytecode, again in memory. That way we could created classes at runtime without touching the filesystem. We would prefer to compile the class sources whole, without parsing for bits and pieces to add to a new class definition.
Thank you, Yuriy
Don't get me started about those stupid light bulbs.