Demonstrates how to use the ManagedThreadFactory interface to obtain a thread from the Java EE container.