Jacek Laskowski wrote:
It's just an non-tested idea, but as it's already a stream of resources (classes as well), why it's not possible to build a classloader that would deal with that stream. What else is in the input stream of a JSR88 tool other than stream-ified war, ejb-jar or rar?
Would the classloader be a solution to the question?
That would work too - pull the bytecode from the stream into memory (HashMap?) and have a ClassLoader work from that. For an EAR we would need several of these to handle the nested modules.
Seems a little more complex but does avoid the temp file issue.
-- Jeremy
