Hello,

There's this use case in front of me that involves metadata of resources in a hierarchy (e.g. a filesystem). I was thinking of implementing this as follows:

* Create an XML document describing this hierarchy and the associated metadata.
* Use XPath to query for metadata for a given resource.


Can someone please advice on how safe and efficient is the use of a single document instance for concurrent XPath queries (in a J2EE environment). Is it safe and efficient to share a single instance across the application threads (again, for readonly access)?

Many thanks in advance,

Manos


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
dom4j-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dom4j-user

Reply via email to