From the course: Java EE: Concurrency and Multithreading
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Running and testing the Java EE RESTful application
From the course: Java EE: Concurrency and Multithreading
Running and testing the Java EE RESTful application
- [Instructor] Okay, so lets pick up from where we left. Now to run this RESTful API application, I will need the Application Server. Right, we talked about the need of Java EE Concurrency, and we said that there's a server container environment that is necessary. So now, I'm going to use GlassFish Server Version 5. In case you have no idea how to add the GlassFish Server to NetBeans IDE, I will quickly show you that procedure. You have to go to Tools, Servers, and then you can say Add Server, right there at the bottom. When you say Add Server, it'll tell you what you can name your server. You can choose which server that you want to use, right, right now we're using GlassFish, you're free to use JBoss, or WebLogic, or WildFly, and then say Next, and then provide the path to the GlassFish installation directory. So in the initial setup, we've already seen as a part of this course, we want to download GlassFish Server, right, so that installation directory path has to be provided here.…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
Need for Java EE concurrency4m 14s
-
(Locked)
Java EE concurrency APIs3m 52s
-
(Locked)
Set up a Java EE RESTful application8m 4s
-
(Locked)
Running and testing the Java EE RESTful application4m 47s
-
(Locked)
Important Java EE terms4m 4s
-
(Locked)
ManagedExecutorService (MES) overview3m 20s
-
(Locked)
Define the bank account related beans and DAO class3m 28s
-
(Locked)
Add methods in the DAO class10m 30s
-
(Locked)
Define ReportProcessor7m 42s
-
(Locked)
Write REST class for injecting MES objects6m 51s
-
(Locked)
Verify code and add the REST method8m 42s
-
(Locked)
Run and test the ManagedExecutorService application2m 59s
-
(Locked)
ManagedScheduledExecutorService overview2m 22s
-
(Locked)
Defining the URLProcessor for the thread's job6m 47s
-
(Locked)
Add a REST method to call the URLProcessor5m 20s
-
(Locked)
Important pointers and API overview6m 22s
-
(Locked)
ManagedThreadFactory API1m 26s
-
(Locked)
Create a single thread with ManagedThreadFactory6m 7s
-
(Locked)
ManagedThreadFactory with ThreadPoolExecutor7m 2s
-
(Locked)
ContextService API3m 7s
-
(Locked)
Create a contextual proxy9m 15s
-
-
-