RxJava Essentials by Ivan Morgillo

By Ivan Morgillo

Approximately This Book

Create interactive Android apps with Java Reactive Extensions
research Reactive Programming via real-life examples so you might use on your Android app
Beat Android concurrency and threading concerns to take your apps to a brand new level

Who This ebook Is For

If you're an skilled Java developer, reactive programming offers you a brand new strategy to procedure scalability and concurrency on your backend platforms, with no forcing you to modify programming languages.
What you are going to Learn

grasp the Observer trend and create Observable gadgets and sequences
Convert lists of items to Observable sequences
switch present how you can reactive asynchronous functions
filter out Observable sequences to make sure that basically the price you will have will achieve your functions
remodel and control Observable sequences into new sequences
mix, merge, and concatenate Observable sequences to create new sequences
stream clear of the Android major thread and AsyncTask to profit multithreading and concurrency the simple approach with Schedulers
converse with a distant relaxation API utilizing Retrofit Observable responses
Create your first RxJava-powered Android app

In Detail

RxJava―Reactive Extensions for the JVM―is a library for composing asynchronous and event-based courses utilizing Observable sequences for the Java VM, on the way to assist you beat Android platform boundaries to create astounding Android apps.

Starting with a few speedy historical past details at the Rx .NET library, this e-book speedy strikes directly to your first instance. you are going to comprehend Observables and learn how to filter out, remodel, or merge them intimately. subsequent, you are going to easy methods to eliminate Threads, AsyncTasks, and Handlers with Schedulers to create a tender consumer event. boost a simple, ready-to-go method of relaxation API communications and enhance your abilities through operating with new tough examples.

By the top of the ebook, you may have explored the reactive programming international and may have created your first Android app with no need to contemplate threading, networking, concurrency, and assortment administration.

Show description

Read Online or Download RxJava Essentials PDF

Best java books

Ruby on Rails for PHP and Java Developers

The internet framework Ruby on Rails for constructing database dependent internet purposes presents a Model-View-Controller framework. the necessary internet server WEBrick is incorporated with Ruby on Rails. The framework is configured with the MySQL database through default, yet can be configured with one other database.

The booklet covers constructing net purposes with Ruby on Rails. applied sciences mentioned comprise Ajax, listing providers, and internet providers. A comparability is made with Hypertext Preprocessor, the main everyday scripting language for constructing internet purposes.

Programming Spiders, Bots, and Aggregators in Java

The content material and providers to be had on the internet stay accessed often via direct human regulate. yet this is often altering. more and more, clients depend upon computerized brokers that retailer them effort and time by way of programmatically retrieving content material, appearing advanced interactions, and aggregating facts from diversified assets.

Java Database Programming with JDBC: Discover the Essentials for Developing Databases for Internet and Intranet Applications

Teaches you the way to boost Java courses, from begin to end, for connecting to databases utilizing Java's new database connectivity setting, JDBC. Tells easy methods to simply set up drivers for many databases. contains a part on programming ODBC Java courses, together with a strong ODBC consumer template for constructing your individual functions.

The Java™ Class Libraries, Volume 2: java.applet, java.awt, java.beans (2nd Edition)

Because the definitive connection with the Java 1. 1. 2 model classification libraries, this ebook is a necessary source for either newbie and skilled Java programmers. This quantity offers finished reference documentation for the advance of applets, consumer interfaces, and Java beans. The programs coated in quantity 2 are: java applet, java awt picture, java awt, java awt peer, java awt information move, java beans, java awt occasion.

Extra info for RxJava Essentials

Sample text

4 JSTL Design Principles This chapter concludes with a discussion of some fundamental JSTL design principles. To make the best use of JSTL, you should understand those design principles; they apply to many, if not all, of the JSTL actions. amount}'/> Some attribute names, such as var and scope , are used by many JSTL actions and always have the same semantic value. The next section discusses those attributes. Scoped Variables vs. Scripting Variables Actions are a conduit between JSP pages and Java code.

3. For other platforms, such as Mac OSX, check to see if a Java 2 implementation is preinstalled. 2 APIs. 2 (or later). See "Tomcat " on page 26 and "Resin" on page 28, for more information about those servlet containers. Finally, of course, you need a JSTL implementation. Some servlet containers, such as Resin, already offer their own JSTL implementations, but as this book went to press, those implementations were immature. To test this book's examples, I recommend you use the JSTL Reference Implementation, which is discussed in "The JSTL Reference Implementation" on page 24.

Amount}'/> Some attribute names, such as var and scope , are used by many JSTL actions and always have the same semantic value. The next section discusses those attributes. Scoped Variables vs. Scripting Variables Actions are a conduit between JSP pages and Java code. Through that conduit flows information from JSP page to Java code, and vice versa. For example, consider this code: value =
In the preceding code fragment, the JSP page uses the action to send information—such as the value of the var attribute, which represents the current item in the iteration—to the tag's handler, which is written in the Java programming language.

Download PDF sample

Rated 4.38 of 5 – based on 28 votes