wood burning stoves 2.0*
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: JAVA API's Thread Safe?
 
Similar Threads
To which forum with JNDI questions?
threadsafe objects
JNI(THREAD SAFE DLL)
Connecting to Crystal Reports Using JSP and JAVA
vetor thread safe?