Why do you need reactive programming? What problems is it trying to solve? What are the benefits?
- Hi, I'm Manuel Vicente Vivo. Welcome to the Reactive Java 9 course. In this video, we are going to talk about what's necessary to install in your computer to complete the course. The Java Development Kit, JDK, installed, your favorite Java IDE, a mechanism to download dependencies, and an Apache server. Probably, you have all of these already installed, but let's see each of them in more detail now. We need the JDK to be able to develop and deploy Java applications.
The content of the course is about Java 9 so we have to install the JDK version 9. To do that, go to that website, search for it, accept the license and download it for the (mumbles) of system you're using. You can check the version of Java you have installed by opening the command line and typing "java-version" Once you install it, version 9 should be there. This should export the variable java home as well to avoid future problems.
Use the IDE you like most. Probably, get using one of those from the list. I'm going to use the latest version of Eclipse IDE for Java EE developers. It's free so anyone can download and use it. If you're using MAC OS, I'm doing, you might have to download an old version of Java as well. For the (mumbles) web service we are going to use some external dependencies such as Spring, USE, and RXZOA too. We need a mechanism to download and import them.
In this case, I'm going to use Maven. Again, you can use the mechanism you like most. If you're going to use Eclipse and Maven, you have to know a few things if this is your first time with this configuration. When you download Maven you should add M2_HOME on the bin folder to the Path. M2_HOME is where Maven is being installed. You will have to install m2eclipse which is a plug-in for Eclipse. You can do it through eclipse with install new software in the help section.
Then Eclipse will restart. Once opened again, you will have to confirm Maven in Eclipse's preferences. Open preferences, go to Maven section and in installations at any room time, pointing at the path where you installed Maven previously. We're also going to use an Apache server to deploy our web application locally and make sure everything works as expected. We can download the Apache Tomcat from its website. You can follow the recommendation to know how it works.
This is everything we need to complete the course. We will confirm and set up a work project in the third volume. In the next section, we'll start with the content of the course: What is Reactive Programming? I'm sure it's going to be interesting and exciting. See you there.
This course was created and produced by Packt Publishing. We are honored to host this training in our library.
- What is reactive programming?
- Java 9 reactive features
- Creating and observing sources with RxJava
- Unit testing
- Akka streams in a reactive environment
- Building a sample reactive application