You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by Will Jaynes <ja...@umich.edu> on 2003/12/21 20:05:33 UTC

[jxpath] jar suitable for app server level?

I'd like to start using JXPath in most of my web apps. I wonder if the 
jxpath jar is suitable for deployment at the server level rather than 
having to include it within each web app. Is there anything (singletons, 
classloader issues) that might be problamatical putting the jar at the 
server level?

Will



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Re: [jxpath] jar suitable for app server level?

Posted by Dmitri Plotnikov <dm...@apache.org>.
There is indeed quite a bit of static configuration in JXPath: First of all,
JXPath as a whole is built according to the SPI pattern.  It consists of a
bunch of abstract APIs and a concrete implementation replaceable at runtime.
That binding is done globally (at the ClassLoader level).

Then there are NodeFactories, DynamicPropertyHandlers and some other stuff.

Thus, my recommendation would be to put it on the apps' classpaths.  This
will also insultate those apps from future changes in JXPath.

- Dmitri

----- Original Message ----- 
From: "Will Jaynes" <ja...@umich.edu>
To: "Jakarta Commons Users List" <co...@jakarta.apache.org>
Sent: Sunday, December 21, 2003 2:05 PM
Subject: [jxpath] jar suitable for app server level?


> I'd like to start using JXPath in most of my web apps. I wonder if the
> jxpath jar is suitable for deployment at the server level rather than
> having to include it within each web app. Is there anything (singletons,
> classloader issues) that might be problamatical putting the jar at the
> server level?
>
> Will
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-user-help@jakarta.apache.org
>
>
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


[jxpath] performance vs. dom4j/jaxen

Posted by Chad La Joie <cl...@vt.edu>.
I was curious if anyone has done perfomance comparisons between JXPath 
(perhaps against jdom or just W3C DOM) and dom4j/jaxen on XML documents. 
  If so, what were the results and what tests were run?  What versions 
were tested?  Basically any information would be helpful.

Chad


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org