Skip to Content.
Sympa Menu

xom-interest - Re: [XOM-interest] XOM 1.1: XPath

xom-interest AT lists.ibiblio.org

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: Elliotte Harold <elharo AT metalab.unc.edu>
  • To: Wolfgang Hoschek <whoschek AT lbl.gov>
  • Cc: xom-interest <xom-interest AT lists.ibiblio.org>
  • Subject: Re: [XOM-interest] XOM 1.1: XPath
  • Date: Thu, 06 Jan 2005 18:28:27 -0500

Wolfgang Hoschek wrote:

Take JDBC PreparedStatements as an analogy. A query is compiled and optimized once (an expensive process in particular for optimizing engines such as Nux/Saxon), then executed many times, each time with different variables aka parameters. Say variables customerID, SSN, sectionTitle, timeRange, etc. For example, the Nux XQueryPool addresses such usage scenarios in a easy-to-use thread-safe manner.


But you notice I'm not preparing statements. I'm just passing in strings. I think I'll leave such advanced usage to NUX. :-)

--
Elliotte Rusty Harold elharo AT metalab.unc.edu
XML in a Nutshell 3rd Edition Just Published!
http://www.cafeconleche.org/books/xian3/
http://www.amazon.com/exec/obidos/ISBN=0596007647/cafeaulaitA/ref=nosim




Archive powered by MHonArc 2.6.24.

Top of Page