In this video, see the different ways you have to create sources of information in RxJava 2.0.
- [Instructor] Hi.…Welcome to the fourth video of this section,…creating sources.…In the previous video we learned…how to actually implement reactive streams.…In this video we are going to see…the different ways we have to create sources of information.…We are going to see how to convert the simple scalar values…and how to convert our non reactive code…into reactive one.…If you want to create a simple publisher…that emits scalar values…you can use one of these methods.…Observable.just is going to return an Observable…that emits a single item and then completes.…
You can use the same method name and pass up to…10 items as parameters.…If you want more than that…you can use the method fromArray…that is going to create a publisher…that emits the items in the array.…Similarly you can use the fromIterable…that is going to emit the items in the sequence.…These static methods are also available in a (mumbles) One.…Apart from this there are two from the mental methods…that have more utility when you want to…wrap non-reactive behaviors.…
AuthorManuel Vicente Vivo
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
Skill Level Intermediate
1. What Is Reactive Programming?
2. Reactivity in Java 9
3. Introducing RxJava 2.0
5. Concurrency and Unit Testing
6. Akka Streams
7. Real-Life Reactive Application
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.