jQuery in Action, 3rd edition
The moose likes Threads and Synchronization and the fly likes JAVA API's Thread Safe? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Threads and Synchronization
Bookmark "JAVA API Watch "JAVA API New topic

JAVA API's Thread Safe?

noel angel
Ranch Hand

Joined: Oct 27, 2002
Posts: 75
Hi all,
Is it safe to assume that JAVA API's are thread safe?
JAXP for example, are any of the stabdard api's not thread safe?
David Weitzman
Ranch Hand

Joined: Jul 27, 2001
Posts: 1365
Most standard libraries (or third party libraries for that matter) are not thread safe. Any library which is threadsafe will almost certainly state that fact explicitly in its javadocs.
I agree. Here's the link: http://aspose.com/file-tools
subject: JAVA API's Thread Safe?
It's not a secret anymore!