Re: Applets and custom class loaders
- From: Andrew Thompson <andrewthommo@xxxxxxxxx>
- Date: Tue, 16 Oct 2007 16:50:49 -0700
On Oct 17, 7:23 am, "a24...@xxxxxxxxxxxxxx" <a24...@xxxxxxxxxxxxxx>
wrote:
On Oct 16, 9:52 am, "Andrew Thompson" <u32984@uwe> wrote:
In addition to loading loose classes
lazily, you *might* (if it makes sense) also load resources from
Jar files lazily. Do not add them to the archives attribute
(obviously) and simply form a complete URL to the jar/resource
when accessing it.
The jar is sent as a whole over the network. A web server does not
understand a URL pointing into a jar, can not extract the class or
resource out of a jar and can not individually send a class or
resource from a jar. ...
Which is not a problem, if it is 'one resource per jar'.
The OP mentioned lazy loading, which implies either
a lot of, or large, resources. If the latter, the
Jar might make sense - or at least, Jar(s) for the
largest resource(s).
Andrew T.
.
- References:
- Applets and custom class loaders
- From: Qu0ll
- Re: Applets and custom class loaders
- From: a24900@xxxxxxxxxxxxxx
- Re: Applets and custom class loaders
- From: Qu0ll
- Re: Applets and custom class loaders
- From: Qu0ll
- Re: Applets and custom class loaders
- From: a24900@xxxxxxxxxxxxxx
- Applets and custom class loaders
- Prev by Date: Re: Applets and custom class loaders
- Next by Date: JTable - Windows Table Behavior?
- Previous by thread: Re: Applets and custom class loaders
- Next by thread: Re: Applets and custom class loaders
- Index(es):
Relevant Pages
|
|