Results 1 to 2 of 2

Thread: Tutorial sample - thread safety?

  1. #1
    Join Date
    Apr 2008
    Posts
    15

    Default 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. #2
    Join Date
    Jul 2005
    Location
    Rotterdam, the Netherlands
    Posts
    1,562

    Default

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

    Spring Web Services Dev Lead
    Please read the FAQ

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •