Rereading my message, I think I might of said one thing but meant
another. What I really meant was, MimeType isn't one of those classes
that is used across java projects. So using the JAF MimeType doesn't
really buy us much and I don't see any issue with replacing it.
BTW, 20-30 ms seems like an awfully long time... Are you running -server
-XX:ParallelGC, letting the server warm up, etc?
- Dan
James M Snell wrote:
Considering the fact that we'd still have the dependency on JAF because
of Axiom, there likely isn't a huge difference. I'll hold on to the new
impl class as an option (only took about 30 minutes to implement and
test) and I'll be continuing my sweep through the rest of the code to
find other bottle necks.
- James
Dan Diephouse wrote:
[snip]
Seeing that MimeType isn't one of those classes that is really widely
used I don't think it matters too much.
Other ugly options: fix the MimeType in geronimo and have people use
that jar. Or, extend MimeType and override all the methods. :-)
- Dan
--
Dan Diephouse
MuleSource
http://mulesource.com | http://netzooid.com/blog