Announcement Announcement Module
Collapse
No announcement yet.
Tutorial sample - thread safety? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Tutorial sample - thread safety?

    I been playing around with the tutorial sample. Quick question re: the HolidayEndpoint class which is wired as a singleton in the application context. Am I correct that the XPath variables of this class are not thread safe and I would need to the create the XPath expressions locally to make it thread safe?

  • #2
    The JDOM XPath class used in the HolidayEndpoint is "sorta" threadsafe, see http://www.jdom.org/pipermail/jdom-i...ne/012352.html.

    Comment

    Working...
    X