cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pierpaolo Fumagalli <>
Subject Re: URLHandlerFactory problem
Date Fri, 21 Jan 2000 23:46:46 GMT
Stefano Mazzocchi wrote:
> Java has _major_ problem with URL design pattern and friends.

Did you just get that???? Hehehehe, way too slow, my friend...
I already tried to contact EVERYONE involved w/, but the answer
is "that's the way it is"...

> While the library is one of the oldest one and includes many
> good design patterns, it has a substantial limitation:

Many substantial limitations... Just look at the different behaviours of
Socket and DatagramSocket... This sucks :(

> - one and only one URLHandlerFactory per JVM can be set, no matter what
> security manager you have installed.

And it cannot be extended....

> This is taken from
> [...]

I had to fight w/ that piece of code while doing the sbk:// thing for
Stylebook... And in Avalon, that will become a NIGHTMARE...

> I don't care to know the reasons for such thing, but as it stands today,
> most of the ability of the classes is lost because of this.


> What do I suggest? simple, easy, something like
>  public static registerURLStreamHandler(String protocol,
> URLStreamHandler handler);
> God, it's not that hard...
> [James, would you do us a favor: tell James Gosling about it. I know
> he's the one who wrote and designed most of the URL framework.
> I would like to know his comment about this... or, please, place this up
> high in the "todo list for 1.3final", thank you]

Probably it's too late for 1.3, but can we have something for 1.4?
And rembember that this is not the only "lack" of, as I said,
take a look at all the code in and


-          P              I              E              R          -
stable structure erected over water to allow the docking of seacraft
<>    <>
- ApacheCON Y2K: Come to the official Apache developers conference -
-------------------- <> --------------------

View raw message