This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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
Author

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?
Thanks,
Noel
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!