geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeremy Boynes <jer...@coredevelopers.net>
Subject Re: Problem with DeploymentContext
Date Fri, 02 Apr 2004 17:11:37 GMT
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

Mime
View raw message