From the course: Java EE: Concurrency and Multithreading

Unlock the full course today

Join today to access over 24,800 courses taught by industry experts.

Important pointers and API overview

Important pointers and API overview

- [Instructor] Before we go on further with the managed thread factory and the contact service API demos, let's first quickly take a look at some important pointers that we need to keep in mind, and also let's look at the APIs for the earlier demos. So, you've seen that the demo for managed executor service and managed scheduled executor service. In this slide we'll also take a look at the rest of the APIs that these objects have on them. Okay, so let's start off. One is implementations of all managed resources of the concurrency APIs are provided by the Java Enterprise Edition product provider. What I mean is, all the four main services that we see, the managed executor, managed scheduled executor, managed thread factory and contact service, these are the interfaces that the specification of JSR has. But, the implementation classes for these are going to be provided by the underlying application server that you are using. In our case, it is GlassFish server, okay? And whenever you…

Contents